This Website uses cookies. By using this website you are agreeing to our use of cookies and to the terms and conditions listed in our data protection policy. Read more

Stata Journal

Testing Axioms of Revealed Preference in Stata

Journal Article
Reference
Demetry, Marcos, Per Hjertstrand and Matthew Polisson (2022). “Testing Axioms of Revealed Preference in Stata”. Stata Journal 22(2), 319–343. doi.org/10.1177/1536867X221106374

Authors
Marcos Demetry, Per Hjertstrand, Matthew Polisson

The revealed preference approach in economics is central to the empirical analysis of consumer behavior. This paper introduces the Stata commands checkax, aei, and powerps as a bundle within the package rpaxioms. The first command allows a user to test whether consumer expenditure data satisfy a number of revealed preference axioms; the second command calculates measures of goodness-of-fit when the data violate these axioms; and the third command calculates power against uniformly random behavior as well as predictive success for each axiom. The commands are illustrated using individual-level experimental data and household-level aggregate consumption data.