IDEAS home Printed from https://ideas.repec.org/a/eee/dyncon/v135y2022ics016518892100230x.html
   My bibliography  Save this article

Deep learning classification: Modeling discrete labor choice

Author

Listed:
  • Maliar, Lilia
  • Maliar, Serguei

Abstract

We introduce a deep learning classification (DLC) method for analyzing equilibrium in discrete-continuos choice dynamic models. As an illustration, we solve Krusell and Smith’s (1998) heterogeneous-agent model with incomplete markets, borrowing constraint and indivisible labor choice. The novel feature of our analysis is that we construct state-contingent discontinuous decision functions that tell us when the agent switches from one employment state to another. We use deep learning not only to characterize the discrete indivisible labor choice but also to perform model reduction and to deal with multicollinearity. Our TensorFlow-based implementation of DLC is tractable in models with thousands of state variables.

Suggested Citation

  • Maliar, Lilia & Maliar, Serguei, 2022. "Deep learning classification: Modeling discrete labor choice," Journal of Economic Dynamics and Control, Elsevier, vol. 135(C).
  • Handle: RePEc:eee:dyncon:v:135:y:2022:i:c:s016518892100230x
    DOI: 10.1016/j.jedc.2021.104295
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S016518892100230X
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.jedc.2021.104295?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
    ---><---

    As the access to this document is restricted, you may want to look for a different version below or search for a different version of it.

    Other versions of this item:

    References listed on IDEAS

    as
    1. Duffy, John & McNelis, Paul D., 2001. "Approximating and simulating the stochastic growth model: Parameterized expectations, neural networks, and the genetic algorithm," Journal of Economic Dynamics and Control, Elsevier, vol. 25(9), pages 1273-1303, September.
    2. Boppart, Timo & Krusell, Per & Mitman, Kurt, 2018. "Exploiting MIT shocks in heterogeneous-agent economies: the impulse response as a numerical derivative," Journal of Economic Dynamics and Control, Elsevier, vol. 89(C), pages 68-92.
    3. Hansen, Gary D., 1985. "Indivisible labor and the business cycle," Journal of Monetary Economics, Elsevier, vol. 16(3), pages 309-327, November.
    4. Lilia Maliar & Serguei Maliar, 2003. "The Representative Consumer in the Neoclassical Growth Model with Idiosyncratic Shocks," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 6(2), pages 368-380, April.
    5. Kenneth L. Judd & Lilia Maliar & Serguei Maliar, 2011. "Numerically stable and accurate stochastic simulation approaches for solving dynamic economic models," Quantitative Economics, Econometric Society, vol. 2(2), pages 173-210, July.
    6. Edward C. Prescott & Richard Rogerson & Johanna Wallenius, 2009. "Lifetime Aggregate Labor Supply with Endogenous Workweek Length," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 12(1), pages 23-36, January.
    7. Rogerson, Richard, 1988. "Indivisible labor, lotteries and equilibrium," Journal of Monetary Economics, Elsevier, vol. 21(1), pages 3-16, January.
    8. S. Rao Aiyagari, 1994. "Uninsured Idiosyncratic Risk and Aggregate Saving," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 109(3), pages 659-684.
    9. Thomas Winberry, 2018. "A method for solving and estimating heterogeneous agent macro models," Quantitative Economics, Econometric Society, vol. 9(3), pages 1123-1151, November.
    10. Carroll, Christopher D., 2006. "The method of endogenous gridpoints for solving dynamic stochastic optimization problems," Economics Letters, Elsevier, vol. 91(3), pages 312-320, June.
    11. Cristina Arellano, 2008. "Default Risk and Income Fluctuations in Emerging Economies," American Economic Review, American Economic Association, vol. 98(3), pages 690-712, June.
    12. Lepetyuk, Vadym & Maliar, Lilia & Maliar, Serguei, 2020. "When the U.S. catches a cold, Canada sneezes: A lower-bound tale told by deep learning," Journal of Economic Dynamics and Control, Elsevier, vol. 117(C).
    13. Lilia Maliar & Serguei Maliar, 2005. "Parameterized Expectations Algorithm: How to Solve for Labor Easily," Computational Economics, Springer;Society for Computational Economics, vol. 25(3), pages 269-274, June.
    14. Satyajit Chatterjee & Dean Corbae & Makoto Nakajima & José-Víctor Ríos-Rull, 2007. "A Quantitative Theory of Unsecured Consumer Credit with Risk of Default," Econometrica, Econometric Society, vol. 75(6), pages 1525-1589, November.
    15. SeHyoun Ahn & Greg Kaplan & Benjamin Moll & Thomas Winberry & Christian Wolf, 2018. "When Inequality Matters for Macro and Macro Matters for Inequality," NBER Macroeconomics Annual, University of Chicago Press, vol. 32(1), pages 1-75.
    16. Alisdair McKay & Ricardo Reis, 2016. "The Role of Automatic Stabilizers in the U.S. Business Cycle," Econometrica, Econometric Society, vol. 84, pages 141-194, January.
    17. Train,Kenneth E., 2009. "Discrete Choice Methods with Simulation," Cambridge Books, Cambridge University Press, number 9780521747387, October.
    18. Yongsung Chang & Sun-Bin Kim, 2007. "Heterogeneity and Aggregation: Implications for Labor-Market Fluctuations," American Economic Review, American Economic Association, vol. 97(5), pages 1939-1956, December.
    19. Den Haan, Wouter J., 2010. "Comparison of solutions to the incomplete markets model with aggregate uncertainty," Journal of Economic Dynamics and Control, Elsevier, vol. 34(1), pages 4-27, January.
    20. Iskhakov, Fedor & Keane, Michael, 2021. "Effects of taxes and safety net pensions on life-cycle labor supply, savings and human capital: The case of Australia," Journal of Econometrics, Elsevier, vol. 223(2), pages 401-432.
    21. Yongsung Chang & Sun-Bin Kim & Kyooho Kwon & Richard Rogerson, 2018. "Individual and Aggregate Labor Supply in Heterogeneous Agent Economies with Intensive and Extensive Margins," NBER Working Papers 24985, National Bureau of Economic Research, Inc.
    22. Per Krusell & Anthony A. Smith & Jr., 1998. "Income and Wealth Heterogeneity in the Macroeconomy," Journal of Political Economy, University of Chicago Press, vol. 106(5), pages 867-896, October.
    23. Fedor Iskhakov & Thomas H. Jørgensen & John Rust & Bertel Schjerning, 2017. "The endogenous grid method for discrete‐continuous dynamic choice models with (or without) taste shocks," Quantitative Economics, Econometric Society, vol. 8(2), pages 317-365, July.
    24. Yongsung Chang & Sun‐Bin Kim & Kyooho Kwon & Richard Rogerson, 2019. "2018 Klein Lecture: Individual And Aggregate Labor Supply In Heterogeneous Agent Economies With Intensive And Extensive Margins," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 60(1), pages 3-24, February.
    25. Michael Reiter, 2019. "Solving Heterogeneous Agent Models with Non-convex Optimization Problems: Linearization and Beyond %," 2019 Meeting Papers 1048, Society for Economic Dynamics.
    26. Maliar, Serguei & Winant, Pablo, 2019. "Will Artificial Intelligence Replace Computational Economists Any Time Soon?," CEPR Discussion Papers 14024, C.E.P.R. Discussion Papers.
    27. Maliar, Lilia & Maliar, Serguei & Winant, Pablo, 2021. "Deep learning for solving dynamic economic models," Journal of Monetary Economics, Elsevier, vol. 122(C), pages 76-101.
    28. Reiter, Michael, 2010. "Approximate and Almost-Exact Aggregation in Dynamic Stochastic Heterogeneous-Agent Models," Economics Series 258, Institute for Advanced Studies.
    29. David Childers, 2016. "On the Solution and Application of Rational Expectations Models with Function-Valued States," 2016 Meeting Papers 807, Society for Economic Dynamics.
    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. Ruitu Xu & Yifei Min & Tianhao Wang & Zhaoran Wang & Michael I. Jordan & Zhuoran Yang, 2023. "Finding Regularized Competitive Equilibria of Heterogeneous Agent Macroeconomic Models with Reinforcement Learning," Papers 2303.04833, arXiv.org.
    2. Tahvonen, Olli & Suominen, Antti & Malo, Pekka & Viitasaari, Lauri & Parkatti, Vesa-Pekka, 2022. "Optimizing high-dimensional stochastic forestry via reinforcement learning," Journal of Economic Dynamics and Control, Elsevier, vol. 145(C).
    3. Victor Duarte & Diogo Duarte & Dejanir H. Silva, 2024. "Machine Learning for Continuous-Time Finance," CESifo Working Paper Series 10909, CESifo.
    4. Pascal, Julien, 2024. "Artificial neural networks to solve dynamic programming problems: A bias-corrected Monte Carlo operator," Journal of Economic Dynamics and Control, Elsevier, vol. 162(C).
    5. Marlon Azinovic & Luca Gaegauf & Simon Scheidegger, 2022. "Deep Equilibrium Nets," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 63(4), pages 1471-1525, November.
    6. Maliar, Lilia & Maliar, Serguei & Winant, Pablo, 2021. "Deep learning for solving dynamic economic models," Journal of Monetary Economics, Elsevier, vol. 122(C), pages 76-101.

    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. Maliar, Lilia & Maliar, Serguei & Winant, Pablo, 2021. "Deep learning for solving dynamic economic models," Journal of Monetary Economics, Elsevier, vol. 122(C), pages 76-101.
    2. Adrien Auclert & Bence Bardóczy & Matthew Rognlie & Ludwig Straub, 2021. "Using the Sequence‐Space Jacobian to Solve and Estimate Heterogeneous‐Agent Models," Econometrica, Econometric Society, vol. 89(5), pages 2375-2408, September.
    3. Hull, Isaiah, 2015. "Approximate dynamic programming with post-decision states as a solution method for dynamic economic models," Journal of Economic Dynamics and Control, Elsevier, vol. 55(C), pages 57-70.
    4. Papp, Tamás K. & Reiter, Michael, 2020. "Estimating linearized heterogeneous agent models using panel data," Journal of Economic Dynamics and Control, Elsevier, vol. 115(C).
    5. Michael Reiter, 2019. "Solving Heterogeneous Agent Models with Non-convex Optimization Problems: Linearization and Beyond %," 2019 Meeting Papers 1048, Society for Economic Dynamics.
    6. Zhouzhou Gu & Mathieu Lauri`ere & Sebastian Merkel & Jonathan Payne, 2024. "Global Solutions to Master Equations for Continuous Time Heterogeneous Agent Macroeconomic Models," Papers 2406.13726, arXiv.org.
    7. Choonsung Park, 2020. "Consumption, Reservation Wages, and Aggregate Labor Supply," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 37, pages 54-80, July.
    8. Jesús Fernández‐Villaverde & Samuel Hurtado & Galo Nuño, 2023. "Financial Frictions and the Wealth Distribution," Econometrica, Econometric Society, vol. 91(3), pages 869-901, May.
    9. Jiequn Han & Yucheng Yang & Weinan E, 2021. "DeepHAM: A Global Solution Method for Heterogeneous Agent Models with Aggregate Shocks," Papers 2112.14377, arXiv.org, revised Feb 2022.
    10. Yonsung Chang & Sun-Bin Kim & Kyooho Kwon, 2012. "Individual and Aggregate Labor Supply in a Heterogeneous Agent Economy with Intensive and Extensive Margins," Working papers 2012rwp-48, Yonsei University, Yonsei Economics Research Institute.
    11. Chase Coleman & Spencer Lyon & Lilia Maliar & Serguei Maliar, 2021. "Matlab, Python, Julia: What to Choose in Economics?," Computational Economics, Springer;Society for Computational Economics, vol. 58(4), pages 1263-1288, December.
    12. Takeki Sunakawa, 2020. "Applying the Explicit Aggregation Algorithm to Heterogeneous Macro Models," Computational Economics, Springer;Society for Computational Economics, vol. 55(3), pages 845-874, March.
    13. Krusell, Per & Mukoyama, Toshihiko & Rogerson, Richard & Sahin, Aysegül, 2008. "Aggregate implications of indivisible labor, incomplete markets, and labor market frictions," Journal of Monetary Economics, Elsevier, vol. 55(5), pages 961-979, July.
    14. Karsten O. Chipeniuk, 2020. "Optimal Grid Selection for the Numerical Solution of Dynamic Stochastic Optimization Problems," Computational Economics, Springer;Society for Computational Economics, vol. 56(4), pages 883-928, December.
    15. Marlon Azinovic & Luca Gaegauf & Simon Scheidegger, 2022. "Deep Equilibrium Nets," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 63(4), pages 1471-1525, November.
    16. Darracq Pariès, Matthieu & Notarpietro, Alessandro & Kilponen, Juha & Papadopoulou, Niki & Zimic, Srečko & Aldama, Pierre & Langenus, Geert & Alvarez, Luis Julian & Lemoine, Matthieu & Angelini, Elena, 2021. "Review of macroeconomic modelling in the Eurosystem: current practices and scope for improvement," Occasional Paper Series 267, European Central Bank.
    17. Shuhei Takahashi, 2020. "Time-Varying Wage Risk, Incomplete Markets, and Business Cycles," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 37, pages 195-213, July.
    18. Jochen Mankart & Rigas Oikonomou, 2017. "Household Search and the Aggregate Labour Market," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 84(4), pages 1735-1788.
    19. Boppart, Timo & Krusell, Per & Mitman, Kurt, 2018. "Exploiting MIT shocks in heterogeneous-agent economies: the impulse response as a numerical derivative," Journal of Economic Dynamics and Control, Elsevier, vol. 89(C), pages 68-92.
    20. François Le Grand & Xavier Ragot, 2022. "Managing Inequality Over Business Cycles: Optimal Policies With Heterogeneous Agents And Aggregate Shocks," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 63(1), pages 511-540, February.

    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:eee:dyncon:v:135:y:2022:i:c:s016518892100230x. 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/jedc .

    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.