IDEAS home Printed from https://ideas.repec.org/p/ris/wsuwpa/2019_005.html
   My bibliography  Save this paper

Assessing the Importance of an Attribute in a Demand SystemStructural Model versus Machine Learning

Author

Listed:
  • Badruddoza, Syed

    (Washington State University)

  • Amin, Modhurima

    (Washington State University)

  • McCluskey, Jill

    (Washington State University)

Abstract

Firms can prioritize among the product attributes based on consumer valuations using market-level data. However, a structural estimation of market demand is challenging, especially when the data are updating in real-time and instrumental variables are scarce. We find evidence that Random Forests (RF)—a machine-learning algorithm—can detect consumers’ sensitivity to product attributes similar to the structural framework of Berry-Levinsohn-Pakes (BLP). Sensitivity to an attribute is measured by the absolute value of its coefficient. We check the RF’s capacity to rank the attributes when prices are endogenous, coefficients are random, and instrumental or demographic variables are unavailable. In our simulations, the BLP estimates correlate with the RF importance factor in ranking (68%) and magnitude (79%), and the rates increase with the sample size. Consumer sensitivity to endogenous variables (price) and variables with random coefficients are overestimated by the RF approach, but ranking of variables with non-random coefficients match with BLP’s coefficients in 96% cases. These estimates are pessimistically derived by RF without parameter-tuning. We conclude that machine-learning does not replace the structural framework but provides firms with a sensible idea of consumers’ ranking of product attributes.

Suggested Citation

  • Badruddoza, Syed & Amin, Modhurima & McCluskey, Jill, 2019. "Assessing the Importance of an Attribute in a Demand SystemStructural Model versus Machine Learning," Working Papers 2019-5, School of Economic Sciences, Washington State University.
  • Handle: RePEc:ris:wsuwpa:2019_005
    Note: http://ses.wsu.edu/wp-content/uploads/2019/12/WP2019-5.pdf
    as

    Download full text from publisher

    File URL: http://ses.wsu.edu/wp-content/uploads/2019/12/WP2019-5.pdf
    File Function: Full text
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Jean‐Pierre Dubé & Jeremy T. Fox & Che‐Lin Su, 2012. "Improving the Numerical Performance of Static and Dynamic Aggregate Discrete Choice Random Coefficients Demand Estimation," Econometrica, Econometric Society, vol. 80(5), pages 2231-2267, September.
    2. Laurian Unnevehr & James Eales & Helen Jensen & Jayson Lusk & Jill McCluskey & Jean Kinsey, 2010. "Food and Consumer Economics," American Journal of Agricultural Economics, Agricultural and Applied Economics Association, vol. 92(2), pages 506-521.
    3. David L. Ortega & H. Holly Wang & Nicole J. Olynk & Laping Wu & Junfei Bai, 2012. "Chinese Consumers' Demand for Food Safety Attributes: A Push for Government and Industry Regulations," American Journal of Agricultural Economics, Agricultural and Applied Economics Association, vol. 94(2), pages 489-495.
    4. Ivar Ekeland & James J. Heckman & Lars Nesheim, 2004. "Identification and Estimation of Hedonic Models," Journal of Political Economy, University of Chicago Press, vol. 112(S1), pages 60-109, February.
    5. Nevo, Aviv, 2001. "Measuring Market Power in the Ready-to-Eat Cereal Industry," Econometrica, Econometric Society, vol. 69(2), pages 307-342, March.
    6. Aviv Nevo, 2003. "New Products, Quality Changes, and Welfare Measures Computed from Estimated Demand Systems," The Review of Economics and Statistics, MIT Press, vol. 85(2), pages 266-275, May.
    7. Aviv Nevo, 2011. "Empirical Models of Consumer Behavior," Annual Review of Economics, Annual Reviews, vol. 3(1), pages 51-75, September.
    8. Irmen, Andreas & Thisse, Jacques-Francois, 1998. "Competition in Multi-characteristics Spaces: Hotelling Was Almost Right," Journal of Economic Theory, Elsevier, vol. 78(1), pages 76-102, January.
    9. Dongling Huang & Christian Rojas & Frank Bass, 2008. "What Happens When Demand Is Estimated With A Misspecified Model?," Journal of Industrial Economics, Wiley Blackwell, vol. 56(4), pages 809-839, December.
    10. Arthur Lewbel & Krishna Pendakur, 2009. "Tricks with Hicks: The EASI Demand System," American Economic Review, American Economic Association, vol. 99(3), pages 827-863, June.
    11. Gérard Biau & Erwan Scornet, 2016. "A random forest guided tour," TEST: An Official Journal of the Spanish Society of Statistics and Operations Research, Springer;Sociedad de Estadística e Investigación Operativa, vol. 25(2), pages 197-227, June.
    12. Patrick Bajari & Denis Nekipelov & Stephen P. Ryan & Miaoyu Yang, 2015. "Machine Learning Methods for Demand Estimation," American Economic Review, American Economic Association, vol. 105(5), pages 481-485, May.
    13. Gro Steine & Kari Kolstad, 2006. "Consumers' Willingness to Pay for the Color of Salmon: A Choice Experiment with Real Economic Incentives," American Journal of Agricultural Economics, Agricultural and Applied Economics Association, vol. 88(4), pages 1050-1061.
    14. repec:dau:papers:123456789/6486 is not listed on IDEAS
    15. Train,Kenneth E., 2009. "Discrete Choice Methods with Simulation," Cambridge Books, Cambridge University Press, number 9780521747387.
    16. Jonathan M.V. Davis & Sara B. Heller, 2017. "Using Causal Forests to Predict Treatment Heterogeneity: An Application to Summer Jobs," American Economic Review, American Economic Association, vol. 107(5), pages 546-550, May.
    17. Amil Petrin, 2002. "Quantifying the Benefits of New Products: The Case of the Minivan," Journal of Political Economy, University of Chicago Press, vol. 110(4), pages 705-729, August.
    18. Steven T. Yen & Biing-Hwan Lin & David M. Smallwood, 2003. "Quasi- and Simulated-Likelihood Approaches to Censored Demand Systems: Food Consumption by Food Stamp Recipients in the United States," American Journal of Agricultural Economics, Agricultural and Applied Economics Association, vol. 85(2), pages 458-478.
    19. Jason F. Shogren & John A. Fox, 1996. "Consumer Preferences for Fresh Food Items with Multiple Quality Attributes: Evidence from an Experimental Auction of Pork Chops," American Journal of Agricultural Economics, Agricultural and Applied Economics Association, vol. 78(4), pages 916-923.
    20. Rosen, Sherwin, 1974. "Hedonic Prices and Implicit Markets: Product Differentiation in Pure Competition," Journal of Political Economy, University of Chicago Press, vol. 82(1), pages 34-55, Jan.-Feb..
    21. Berry, Steven & Levinsohn, James & Pakes, Ariel, 1995. "Automobile Prices in Market Equilibrium," Econometrica, Econometric Society, vol. 63(4), pages 841-890, July.
    22. Kelvin J. Lancaster, 1966. "A New Approach to Consumer Theory," Journal of Political Economy, University of Chicago Press, vol. 74, pages 132-132.
    23. Jayson L. Lusk & John A. Fox & Ted C. Schroeder & James Mintert & Mohammad Koohmaraie, 2001. "In-Store Valuation of Steak Tenderness," American Journal of Agricultural Economics, Agricultural and Applied Economics Association, vol. 83(3), pages 539-550.
    24. Susan Athey & David Blei & Robert Donnelly & Francisco Ruiz & Tobias Schmidt, 2018. "Estimating Heterogeneous Consumer Preferences for Restaurants and Travel Time Using Mobile Location Data," AEA Papers and Proceedings, American Economic Association, vol. 108, pages 64-67, May.
    25. Gérard Biau & Erwan Scornet, 2016. "Rejoinder on: A random forest guided tour," TEST: An Official Journal of the Spanish Society of Statistics and Operations Research, Springer;Sociedad de Estadística e Investigación Operativa, vol. 25(2), pages 264-268, June.
    26. Kuminoff, Nicolai V. & Parmeter, Christopher F. & Pope, Jaren C., 2010. "Which hedonic models can we trust to recover the marginal willingness to pay for environmental amenities?," Journal of Environmental Economics and Management, Elsevier, vol. 60(3), pages 145-160, November.
    27. Ariel Kleiner & Ameet Talwalkar & Purnamrita Sarkar & Michael I. Jordan, 2014. "A scalable bootstrap for massive data," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 76(4), pages 795-816, September.
    28. Melton, Brian & Huffman, Wallace & Shogren, Jason F., 1996. "Consumer Preferences for Fresh Food with Multiple Attributes: Evidence from an Experimental Auction of Pork Chops," Staff General Research Papers Archive 5042, Iowa State University, Department of Economics.
    29. Richard C. Ready & Charles W. Abdalla, 2005. "The Amenity and Disamenity Impacts of Agriculture: Estimates from a Hedonic Pricing Model," American Journal of Agricultural Economics, Agricultural and Applied Economics Association, vol. 87(2), pages 314-326.
    30. Alfnes, Frode & Guttormsen, Atle G. & Steine, Gro & Kolstad, Kari, 2006. "Ajae Appendix: Consumers’ Willingness To Pay For The Color Of Salmon: A Choice Experiment With Real Economic Incentives," American Journal of Agricultural Economics APPENDICES, Agricultural and Applied Economics Association, vol. 88(4), pages 1-8, November.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Nicolai V. Kuminoff & V. Kerry Smith & Christopher Timmins, 2010. "The New Economics of Equilibrium Sorting and its Transformational Role for Policy Evaluation," NBER Working Papers 16349, National Bureau of Economic Research, Inc.
    2. Erica L. Groshen & Brian C. Moyer & Ana M. Aizcorbe & Ralph Bradley & David M. Friedman, 2017. "How Government Statistics Adjust for Potential Biases from Quality Change and New Goods in an Age of Digital Technologies: A View from the Trenches," Journal of Economic Perspectives, American Economic Association, vol. 31(2), pages 187-210, Spring.
    3. Irz, Xavier & Mazzocchi, Mario & Réquillart, Vincent & Soler, Louis-Georges, 2015. "Research in Food Economics: past trends and new challenges," Revue d'Etudes en Agriculture et Environnement, Editions NecPlus, vol. 96(01), pages 187-237, March.
    4. Federico Ciliberto & GianCarlo Moschini & Edward D. Perry, 2019. "Valuing product innovation: genetically engineered varieties in US corn and soybeans," RAND Journal of Economics, RAND Corporation, vol. 50(3), pages 615-644, September.
    5. James Hilger & Eric Hallstein & Andrew W. Stevens & Sofia B. Villas-Boas, 2019. "Measuring Willingness to Pay for Environmental Attributes in Seafood," Environmental & Resource Economics, Springer;European Association of Environmental and Resource Economists, vol. 73(1), pages 307-332, May.
    6. Bokhari, Farasat A.S. & Mariuzzo, Franco, 2018. "Demand estimation and merger simulations for drugs: Logits v. AIDS," International Journal of Industrial Organization, Elsevier, vol. 61(C), pages 653-685.
    7. Martin O'Connell & Pierre Dubois & Rachel Griffith, 2022. "The Use of Scanner Data for Economics Research," Annual Review of Economics, Annual Reviews, vol. 14(1), pages 723-745, August.
    8. Bajari, Patrick & Benkard, C. Lanier, 2004. "Demand Estimation With Heterogeneous Consumers and Unobserved Product Characteristics: A Hedonic Approach," Research Papers 1842, Stanford University, Graduate School of Business.
    9. C. Lanier Benkard & Patrick Bajari, 2004. "Demand Estimation with Heterogeneous Consumers and Unobserved Product Characteristics: A Hedonic Approach," NBER Working Papers 10278, National Bureau of Economic Research, Inc.
    10. Xue, Hong & Mainville, Denise Y. & You, Wen & Nayga, Rodolfo M., Jr., 2009. "Nutrition Knowledge, Sensory Characteristics and Consumers’ Willingness to Pay for Pasture-Fed Beef," 2009 Annual Meeting, July 26-28, 2009, Milwaukee, Wisconsin 49277, Agricultural and Applied Economics Association.
    11. Steven T. Berry & Philip A. Haile, 2021. "Foundations of Demand Estimation," Cowles Foundation Discussion Papers 2301, Cowles Foundation for Research in Economics, Yale University.
    12. Rachel Griffith & Lars Nesheim & Martin O'Connell, 2018. "Income effects and the welfare consequences of tax in differentiated product oligopoly," Quantitative Economics, Econometric Society, vol. 9(1), pages 305-341, March.
    13. Ballco, Petjon & Gracia, Azucena, 2020. "Do market prices correspond with consumer demands? Combining market valuation and consumer utility for extra virgin olive oil quality attributes in a traditional producing country," Journal of Retailing and Consumer Services, Elsevier, vol. 53(C).
    14. Kidokoro, Yukihiro, 2016. "A micro foundation for discrete choice models with multiple categories of goods," Journal of choice modelling, Elsevier, vol. 19(C), pages 54-72.
    15. Robert Donnelly & Francisco J.R. Ruiz & David Blei & Susan Athey, 2021. "Counterfactual inference for consumer choice across many product categories," Quantitative Marketing and Economics (QME), Springer, vol. 19(3), pages 369-407, December.
    16. Kuminoff, Nicolai V., 2009. "Decomposing the structural identification of non-market values," Journal of Environmental Economics and Management, Elsevier, vol. 57(2), pages 123-139, March.
    17. Ralph Siebert, 2015. "The Impact of Foreclosure on Housing Prices," CESifo Working Paper Series 5196, CESifo.
    18. Li, Hao & Elbakidze, Levan, 2016. "Application of Regression Discontinuity Approach in Experimental Auctions: A Case Study of Gaining Participants’ Trust and Their Willingness to Pay," 2016 Annual Meeting, July 31-August 2, Boston, Massachusetts 236149, Agricultural and Applied Economics Association.
    19. Zheng, Qiujie & Wang, H. Holly, 2016. "Chinese preferences for sustainable attributes for food away from home: A rank-ordered model," China Economic Review, Elsevier, vol. 41(C), pages 148-158.
    20. Helen Scarborough & Jeff Bennett, 2012. "Cost–Benefit Analysis and Distributional Preferences," Books, Edward Elgar Publishing, number 14376.

    More about this item

    Keywords

    Machine-Learning; Random Forests; Demand Estimation; BLP; Discrete Choice.;
    All these keywords.

    JEL classification:

    • C55 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Large Data Sets: Modeling and Analysis
    • D11 - Microeconomics - - Household Behavior - - - Consumer Economics: Theory
    • Q11 - Agricultural and Natural Resource Economics; Environmental and Ecological Economics - - Agriculture - - - Aggregate Supply and Demand Analysis; Prices

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:ris:wsuwpa:2019_005. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Thomas Dahl (email available below). General contact details of provider: https://edirc.repec.org/data/ecwsuus.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.