IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v22y2022i2p319-343.html
   My bibliography  Save this article

Testing axioms of revealed preference in Stata

Author

Listed:
  • Marcos Demetry

    (Linnaeus University)

  • Per Hjertstrand

    (Research Institute of Industrial Economics)

  • Matthew Polisson

    (University of Bristol)

Abstract

The revealed preference approach in economics is central to the empirical analysis of consumer behavior. In this article, we introduce the 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 several revealed preference axioms; the second command calculates measures of good- ness 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. We illustrate the commands using individual-level experimental data and household-level aggregate consumption data.

Suggested Citation

  • Marcos Demetry & Per Hjertstrand & Matthew Polisson, 2022. "Testing axioms of revealed preference in Stata," Stata Journal, StataCorp LP, vol. 22(2), pages 319-343, June.
  • Handle: RePEc:tsj:stataj:v:22:y:2022:i:2:p:319-343
    DOI: 10.1177/1536867X221106374
    Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj22-2/st0673/
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/article.html?article=st0673
    File Function: link to article purchase
    Download Restriction: no

    File URL: https://libkey.io/10.1177/1536867X221106374?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Syngjoo Choi & Shachar Kariv & Wieland M?ller & Dan Silverman, 2014. "Who Is (More) Rational?," American Economic Review, American Economic Association, vol. 104(6), pages 1518-1550, June.
    2. Matzkin, Rosa L. & Richter, Marcel K., 1991. "Testing strictly concave rationality," Journal of Economic Theory, Elsevier, vol. 53(2), pages 287-303, April.
    3. Syngjoo Choi & Raymond Fisman & Douglas Gale & Shachar Kariv, 2007. "Consistency, Heterogeneity, and Granularity of Individual Behavior under Uncertainty," Economics Working Papers 0076, Institute for Advanced Study, School of Social Science.
    4. Yoram Halevy & Dotan Persitz & Lanny Zrill, 2018. "Parametric Recoverability of Preferences," Journal of Political Economy, University of Chicago Press, vol. 126(4), pages 1558-1593.
    5. Hugh Rose, 1958. "Consistency of Preference: The Two-Commodity Case," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 25(2), pages 124-125.
    6. Selten, Reinhard, 1991. "Properties of a measure of predictive success," Mathematical Social Sciences, Elsevier, vol. 21(2), pages 153-167, April.
    7. Timothy K. M. Beatty & Ian A. Crawford, 2011. "How Demanding Is the Revealed Preference Approach to Demand?," American Economic Review, American Economic Association, vol. 101(6), pages 2782-2795, October.
    8. Samiran Banerjee & James Murphy, 2009. "A simplified test for preference rationality of two-commodity choice," Experimental Economics, Springer;Economic Science Association, vol. 12(2), pages 252-252, June.
    9. Syngjoo Choi & Raymond Fisman & Douglas Gale & Shachar Kariv, 2007. "Consistency and Heterogeneity of Individual Behavior under Uncertainty," American Economic Review, American Economic Association, vol. 97(5), pages 1921-1938, December.
    10. James Andreoni & Charles Sprenger, 2012. "Estimating Time Preferences from Convex Budgets," American Economic Review, American Economic Association, vol. 102(7), pages 3333-3356, December.
    11. Donald Brown & Caterina Calsamiglia, 2007. "The Nonparametric Approach to Applied Welfare Analysis," Economic Theory, Springer;Society for the Advancement of Economic Theory (SAET), vol. 31(1), pages 183-188, April.
    12. Varian, Hal R, 1982. "The Nonparametric Approach to Demand Analysis," Econometrica, Econometric Society, vol. 50(4), pages 945-973, July.
    13. Brian P. Poi, 2002. "From the help desk: Demand system estimation," Stata Journal, StataCorp LP, vol. 2(4), pages 403-410, November.
    14. 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.
    15. James Banks & Richard Blundell & Arthur Lewbel, 1997. "Quadratic Engel Curves And Consumer Demand," The Review of Economics and Statistics, MIT Press, vol. 79(4), pages 527-539, November.
    16. Jan Heufer & Per Hjertstrand, 2019. "Homothetic Efficiency: Theory and Applications," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 37(2), pages 235-247, April.
    17. Aguiar, Victor H. & Hjertstrand, Per & Serrano, Roberto, 2020. "A Rationalization of the Weak Axiom of Revealed Preference," Working Paper Series 1321, Research Institute of Industrial Economics.
    18. Deaton, Angus S & Muellbauer, John, 1980. "An Almost Ideal Demand System," American Economic Review, American Economic Association, vol. 70(3), pages 312-326, June.
    19. James Andreoni & John Miller, 2002. "Giving According to GARP: An Experimental Test of the Consistency of Preferences for Altruism," Econometrica, Econometric Society, vol. 70(2), pages 737-753, March.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Marcos Demetry & Per Hjertstrand, 2023. "Consistent subsets: Computing the Houtman–Maks index in Stata," Stata Journal, StataCorp LP, vol. 23(2), pages 578-588, June.

    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. Laurens Cherchye & Thomas Demuynck & Bram De Rock & Joshua Lanier, 2020. "Are Consumers Rational ?Shifting the Burden of Proof," Working Papers ECARES 2020-19, ULB -- Universite Libre de Bruxelles.
    2. Marcos Demetry & Per Hjertstrand, 2023. "Consistent subsets: Computing the Houtman–Maks index in Stata," Stata Journal, StataCorp LP, vol. 23(2), pages 578-588, June.
    3. Heufer, Jan & Hjertstrand, Per, 2019. "Homothetic preferences revealed," Journal of Economic Behavior & Organization, Elsevier, vol. 157(C), pages 602-614.
    4. Heufer, Jan, 2014. "Nonparametric comparative revealed risk aversion," Journal of Economic Theory, Elsevier, vol. 153(C), pages 569-616.
    5. Jan Heufer, 2013. "Testing revealed preferences for homotheticity with two-good experiments," Experimental Economics, Springer;Economic Science Association, vol. 16(1), pages 114-124, March.
    6. Laurens Cherchye & Thomas Demuynck & Bram De Rock & Khushboo Surana, 2020. "Revealed Preference Analysis with Normal Goods: Application to Cost-of-Living Indices," American Economic Journal: Microeconomics, American Economic Association, vol. 12(3), pages 165-188, August.
    7. Brocas, Isabelle & Carrillo, Juan D. & Combs, T. Dalton & Kodaverdian, Niree, 2019. "Consistency in simple vs. complex choices by younger and older adults," Journal of Economic Behavior & Organization, Elsevier, vol. 157(C), pages 580-601.
    8. Pawel Dziewulski, 2018. "Just-noticeable difference as a behavioural foundation of the critical cost-efficiency," Economics Series Working Papers 848, University of Oxford, Department of Economics.
    9. Samiran Banerjee & James Murphy, 2011. "Do rational demand functions differ from irrational ones? Evidence from an induced budget experiment," Applied Economics, Taylor & Francis Journals, vol. 43(26), pages 3863-3882.
    10. James Murphy & Samiran Banerjee, 2015. "A caveat for the application of the critical cost efficiency index in induced budget experiments," Experimental Economics, Springer;Economic Science Association, vol. 18(3), pages 356-365, September.
    11. Pawel Dziewulski, 2021. "A comprehensive revealed preference approach to approximate utility maximisation," Working Paper Series 0621, Department of Economics, University of Sussex Business School.
    12. Matej Opatrny, 2018. "Extent of Irrationality of the Consumer: Combining the Critical Cost Eciency and Houtman Maks Indices," Working Papers IES 2018/11, Charles University Prague, Faculty of Social Sciences, Institute of Economic Studies, revised Apr 2018.
    13. Thomas Demuynck & John Rehbeck, 2023. "Computing revealed preference goodness-of-fit measures with integer programming," Economic Theory, Springer;Society for the Advancement of Economic Theory (SAET), vol. 76(4), pages 1175-1195, November.
    14. Uttara Balakrishnan & Johannes Haushofer & Pamela Jakiela, 2020. "How soon is now? Evidence of present bias from convex time budget experiments," Experimental Economics, Springer;Economic Science Association, vol. 23(2), pages 294-321, June.
    15. Dieter Saelens, 2022. "Unitary or collective households? A nonparametric rationality and separability test using detailed data on consumption expenditures and time use," Empirical Economics, Springer, vol. 62(2), pages 637-677, February.
    16. Jim Engle-Warnick & Natalia Mishagina, 2014. "Insensitivity to Prices in a Dictator Game," CIRANO Working Papers 2014s-19, CIRANO.
    17. Geoffroy de Clippel & Kareen Rozen, 2020. "Relaxed Optimization: e-Rationalizability and the FOC-Departure Index in Consumer Theory," Working Papers 2020-07, Brown University, Department of Economics.
    18. Im, Changkuk & Rehbeck, John, 2022. "Non-rationalizable individuals and stochastic rationalizability," Economics Letters, Elsevier, vol. 219(C).
    19. Dziewulski, Paweł, 2020. "Just-noticeable difference as a behavioural foundation of the critical cost-efficiency index," Journal of Economic Theory, Elsevier, vol. 188(C).
    20. Smeulders, Bart & Crama, Yves & Spieksma, Frits C.R., 2019. "Revealed preference theory: An algorithmic outlook," European Journal of Operational Research, Elsevier, vol. 272(3), pages 803-815.

    More about this item

    Keywords

    rpaxioms; checkax; aei; powerps; revealed preference; generalized axiom of revealed preference; Afriat efficiency index; power; predictive success;
    All these keywords.

    JEL classification:

    • C87 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Econometric Software
    • D12 - Microeconomics - - Household Behavior - - - Consumer Economics: Empirical Analysis

    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:tsj:stataj:v:22:y:2022:i:2:p:319-343. 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: Christopher F. Baum or Lisa Gilmore (email available below). General contact details of provider: http://www.stata-journal.com/ .

    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.