EconPapers    
Economics at your fingertips  
 

Neural Demand Estimation with Habit Formation and Rationality Constraints

Marta Grzeskiewicz

Cambridge Working Papers in Economics from Faculty of Economics, University of Cambridge

Abstract: State dependence is empirically important in repeat-purchase demand and can materially change welfare conclusions from price variation. To this end, we introduce a flexible neural demand system for continuous budget allocation that allows current choices to depend on a low-dimensional summary of purchase history. In Dominick’s scanner data on analgesics, augmenting demand with a habit state reduces out-of-sample prediction error by about 33% relative to standard share systems, and a shuffled-history placebo eliminates the gain, indicating that the improvement reflects meaningful dynamics rather than additional covariates. State dependence also changes economic conclusions: conditioning on the habit state col-lapses the apparent aspirin–ibuprofen cross-price effect toward zero while preserving robust acetaminophen–ibuprofen substitution. These differences translate into welfare: for a 10% ibuprofen price increase, the habit specification implies compensating-variation losses about 15–16% larger than a static model. We also provide simulation evidence with known ground truth and report diagnostics of near-integrability to support welfare calculations. The code is available at https://github.com/martagrz/neural_demand_habit.

Keywords: Neural Demand Systems; Habit Formation; Machine Learning in Econometrics; Scanner Data; Welfare Measurement (search for similar items in EconPapers)
JEL-codes: C14 C45 C51 D12 D61 (search for similar items in EconPapers)
Date: 2026-03-02
New Economics Papers: this item is included in nep-cmp
References: Add references at CitEc
Citations:

Downloads: (external link)
https://www.econ.cam.ac.uk/sites/default/files/pub ... pe-pdfs/cwpe2613.pdf

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:cam:camdae:2613

Access Statistics for this paper

More papers in Cambridge Working Papers in Economics from Faculty of Economics, University of Cambridge
Bibliographic data for series maintained by Jake Dyer ().

 
Page updated 2026-04-09
Handle: RePEc:cam:camdae:2613