IDEAS home Printed from https://ideas.repec.org/p/wrk/warwec/1499.html
   My bibliography  Save this paper

Estimating Nonlinear Heterogeneous Agent Models with Neural Networks

Author

Listed:
  • Kase, Hanno

    (European Central Bank)

  • Melosi, Leonardo

    (University of Warwick, FRB Chicago, DNB, & CEPR)

  • Rottner, Matthias

    (Deutsche Bundesbank)

Abstract

We leverage recent advancements in machine learning to develop an integrated method to solve globally and estimate models featuring agent heterogeneity, nonlinear constraints, and aggregate uncertainty. Using simulated data, we show that the proposed method accurately estimates the parameters of a nonlinear Heterogeneous Agent New Keynesian (HANK) model with a zero lower bound (ZLB) constraint. We further apply our method to estimate this HANK model using U.S. data. In the estimated model, the interaction between the ZLB constraint and idiosyncratic income risks emerges as a key source of aggregate output volatility.

Suggested Citation

  • Kase, Hanno & Melosi, Leonardo & Rottner, Matthias, 2024. "Estimating Nonlinear Heterogeneous Agent Models with Neural Networks," The Warwick Economics Research Paper Series (TWERPS) 1499, University of Warwick, Department of Economics.
  • Handle: RePEc:wrk:warwec:1499
    as

    Download full text from publisher

    File URL: https://warwick.ac.uk/fac/soc/economics/research/workingpapers/2024/twerp_1499_-_melosi.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. S. Bogan Aruoba & Pablo Cuba-Borda & Kenji Higa-Flores & Frank Schorfheide & Sergio Villalvazo, 2021. "Piecewise-Linear Approximations and Filtering for DSGE Models with Occasionally Binding Constraints," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 41, pages 96-120, July.
    2. Jonathan Heathcote & Kjetil Storesletten & Giovanni L. Violante, 2017. "Optimal Tax Progressivity: An Analytical Framework," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 132(4), pages 1693-1754.
    3. Greg Kaplan & Benjamin Moll & Giovanni L. Violante, 2018. "Monetary Policy According to HANK," American Economic Review, American Economic Association, vol. 108(3), pages 697-743, March.
    4. Sushant Acharya & Keshav Dogra, 2020. "Understanding HANK: Insights From a PRANK," Econometrica, Econometric Society, vol. 88(3), pages 1113-1158, May.
    5. Adrien Auclert, 2019. "Monetary Policy and the Redistribution Channel," American Economic Review, American Economic Association, vol. 109(6), pages 2333-2367, June.
    6. Edouard Challe & Julien Matheron & Xavier Ragot & Juan F. Rubio‐Ramirez, 2017. "Precautionary saving and aggregate demand," Quantitative Economics, Econometric Society, vol. 8(2), pages 435-478, July.
    7. Christian Bayer & Benjamin Born & Ralph Luetticke, 2024. "Shocks, Frictions, and Inequality in US Business Cycles," American Economic Review, American Economic Association, vol. 114(5), pages 1211-1247, May.
    8. Christian Bayer & Ralph Luetticke & Lien Pham‐Dao & Volker Tjaden, 2019. "Precautionary Savings, Illiquid Assets, and the Aggregate Consequences of Shocks to Household Income Risk," Econometrica, Econometric Society, vol. 87(1), pages 255-290, January.
    9. Veronica Guerrieri & Guido Lorenzoni, 2017. "Credit Crises, Precautionary Savings, and the Liquidity Trap," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 132(3), pages 1427-1467.
    10. Ralph Luetticke, 2021. "Transmission of Monetary Policy with Heterogeneity in Household Portfolios," American Economic Journal: Macroeconomics, American Economic Association, vol. 13(2), pages 1-25, April.
    11. Laura Liu & Mikkel Plagborg‐Møller, 2023. "Full‐information estimation of heterogeneous agent models using macro and micro data," Quantitative Economics, Econometric Society, vol. 14(1), pages 1-35, January.
    12. Adrien Auclert & Ludwig Straub & Matthew Rognlie, 2019. "Micro Jumps, Macro Humps: monetary policy and business cycles in an estimated HANK model," 2019 Meeting Papers 1449, Society for Economic Dynamics.
    13. Alexander Richter & Nathaniel Throckmorton & Todd Walker, 2014. "Accuracy, Speed and Robustness of Policy Function Iteration," Computational Economics, Springer;Society for Computational Economics, vol. 44(4), pages 445-476, December.
    14. repec:hal:spmain:info:hdl:2441/41rhqgovpp8hnq9i7ndtl26ltm is not listed on IDEAS
    15. S Borağan Aruoba & Pablo Cuba-Borda & Frank Schorfheide, 2018. "Macroeconomic Dynamics Near the ZLB: A Tale of Two Countries," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 85(1), pages 87-118.
    16. 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.
    17. Christian Bayer & Ralph Luetticke & Maximilian Weiss & Yannik Winkelmann, 2024. "An Endogenous Gridpoint Method for Distributional Dynamics," ECONtribute Discussion Papers Series 311, University of Bonn and University of Cologne, Germany.
    18. 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.
    19. Bianchi, Francesco & Melosi, Leonardo & Rottner, Matthias, 2021. "Hitting the elusive inflation target," Journal of Monetary Economics, Elsevier, vol. 124(C), pages 107-122.
    20. Ravn, Morten O. & Sterk, Vincent, 2017. "Job uncertainty and deep recessions," Journal of Monetary Economics, Elsevier, vol. 90(C), pages 125-141.
    21. Algan, Yann & Allais, Olivier & Den Haan, Wouter J., 2008. "Solving heterogeneous-agent models with parameterized cross-sectional distributions," Journal of Economic Dynamics and Control, Elsevier, vol. 32(3), pages 875-908, March.
    22. 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.
    23. Pablo Ottonello & Thomas Winberry, 2020. "Financial Heterogeneity and the Investment Channel of Monetary Policy," Econometrica, Econometric Society, vol. 88(6), pages 2473-2502, November.
    24. Greg Kaplan & Giovanni L. Violante, 2018. "Microeconomic Heterogeneity and Macroeconomic Shocks," Journal of Economic Perspectives, American Economic Association, vol. 32(3), pages 167-194, Summer.
    25. Reiter, Michael, 2009. "Solving heterogeneous-agent models by projection and perturbation," Journal of Economic Dynamics and Control, Elsevier, vol. 33(3), pages 649-665, March.
    26. Oh, Hyunseung & Reis, Ricardo, 2012. "Targeted transfers and the fiscal response to the great recession," Journal of Monetary Economics, Elsevier, vol. 59(S), pages 50-64.
    27. 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.
    28. Andriy Norets, 2012. "Estimation of Dynamic Discrete Choice Models Using Artificial Neural Network Approximations," Econometric Reviews, Taylor & Francis Journals, vol. 31(1), pages 84-106.
    29. 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.
    30. 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.
    31. Jing Cynthia Wu & Fan Dora Xia, 2016. "Measuring the Macroeconomic Impact of Monetary Policy at the Zero Lower Bound," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 48(2-3), pages 253-291, March.
    32. 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.
    33. Alisdair McKay & Emi Nakamura & Jón Steinsson, 2016. "The Power of Forward Guidance Revisited," American Economic Review, American Economic Association, vol. 106(10), pages 3133-3158, October.
    34. 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.
    35. Raj Chetty & Adam Guren & Day Manoli & Andrea Weber, 2011. "Are Micro and Macro Labor Supply Elasticities Consistent? A Review of Evidence on the Intensive and Extensive Margins," American Economic Review, American Economic Association, vol. 101(3), pages 471-475, May.
    36. Gorodnichenko, Yuriy & Maliar, Serguei & Naubert, Christopher, 2020. "Household Savings and Monetary Policy under Individual and Aggregate Stochastic Volatility," CEPR Discussion Papers 15614, C.E.P.R. Discussion Papers.
    37. Thomas Winberry, 2021. "Lumpy Investment, Business Cycles, and Stimulus Policy," American Economic Review, American Economic Association, vol. 111(1), pages 364-396, January.
    38. S. Bogan Aruoba & Pablo Cuba-Borda & Kenji Higa-Flores & Frank Schorfheide & Sergio Villalvazo, 2021. "Piecewise-Linear Approximations and Filtering for DSGE Models with Occasionally Binding Constraints," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 41, pages 96-120, July.
    39. Den Haan, Wouter J. & Judd, Kenneth L. & Juillard, Michel, 2010. "Computational suite of models with heterogeneous agents: Incomplete markets and aggregate uncertainty," Journal of Economic Dynamics and Control, Elsevier, vol. 34(1), pages 1-3, January.
    40. Rottner, Matthias, 2023. "Financial crises and shadow banks: A quantitative analysis," Journal of Monetary Economics, Elsevier, vol. 139(C), pages 74-92.
    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. Jesús Fernández-Villaverde & Galo Nuño & Jesse Perla, 2024. "Taming the Curse of Dimensionality: Quantitative Economics with Deep Learning," NBER Working Papers 33117, National Bureau of Economic Research, Inc.
    2. Jesús Fernández-Villaverde & Galo Nuño & Jesse Perla, 2024. "Taming the curse of dimensionality: quantitative economics with deep learning," Working Papers 2444, Banco de España.
    3. Jesús Fernández-Villaverde & Galo Nuño & Jesse Perla, 2024. "Taming the Curse of Dimensionality: Quantitative Economics with Deep Learning," NBER Working Papers 33117, National Bureau of Economic Research, Inc.

    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. Christian Bayer & Benjamin Born & Ralph Luetticke, 2024. "Shocks, Frictions, and Inequality in US Business Cycles," American Economic Review, American Economic Association, vol. 114(5), pages 1211-1247, May.
    2. Jesús Fernández-Villaverde & Joël Marbet & Galo Nuño & Omar Rachedi, 2023. "Inequality and the Zero Lower Bound," NBER Working Papers 31282, National Bureau of Economic Research, Inc.
    3. 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.
    4. Bayer, Christian & Born, Benjamin & Luetticke, Ralph, 2023. "The liquidity channel of fiscal policy," Journal of Monetary Economics, Elsevier, vol. 134(C), pages 86-117.
    5. Ralph Luetticke, 2021. "Transmission of Monetary Policy with Heterogeneity in Household Portfolios," American Economic Journal: Macroeconomics, American Economic Association, vol. 13(2), pages 1-25, April.
    6. Adrien Auclert & Ludwig Straub & Matthew Rognlie, 2019. "Micro Jumps, Macro Humps: monetary policy and business cycles in an estimated HANK model," 2019 Meeting Papers 1449, Society for Economic Dynamics.
    7. Bilbiie, Florin O., 2020. "The New Keynesian cross," Journal of Monetary Economics, Elsevier, vol. 114(C), pages 90-108.
    8. Daeha Cho, 2023. "Unemployment risk, MPC heterogeneity, and business cycles," Quantitative Economics, Econometric Society, vol. 14(2), pages 717-751, May.
    9. Dobrew, Michael & Gerke, Rafael & Giesen, Sebastian & Röttger, Joost, 2023. "Make-up strategies with incomplete markets and bounded rationality," Discussion Papers 01/2023, Deutsche Bundesbank.
    10. Bilbiie, Florin O. & Känzig, Diego R. & Surico, Paolo, 2022. "Capital and income inequality: An aggregate-demand complementarity," Journal of Monetary Economics, Elsevier, vol. 126(C), pages 154-169.
    11. Oliver Pfäuti & Fabian Seyrich, 2022. "A Behavioral Heterogeneous Agent New Keynesian Model," Discussion Papers of DIW Berlin 1995, DIW Berlin, German Institute for Economic Research.
    12. 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.
    13. 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.
    14. Francesco Ferlaino, 2024. "Does the financial accelerator accelerate inequalities?," Working Papers 538, University of Milano-Bicocca, Department of Economics.
    15. Alisdair McKay & Johannes F. Wieland, 2021. "Lumpy Durable Consumption Demand and the Limited Ammunition of Monetary Policy," Econometrica, Econometric Society, vol. 89(6), pages 2717-2749, November.
    16. Carreño Bustos, José Gabo, 2023. "Flexible Contracts as Business Cycle Stabilizers," Discussion Paper 2023-007, Tilburg University, Center for Economic Research.
    17. 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).
    18. Alisdair McKay & Ricardo Reis, 2021. "Optimal Automatic Stabilizers [Consumption versus Expenditure]," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 88(5), pages 2375-2406.
    19. 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.
    20. Ribeiro, Gustavo & Teles, Vladmir & Costa-Filho, João, 2023. "The Spending Cap and Monetary Policy Effectiveness," MPRA Paper 116148, University Library of Munich, Germany.

    More about this item

    Keywords

    Neural networks ; likelihood ; global solution ; heterogeneous agents ; nonlinearity ; aggregate uncertainty ; HANK ; zero lower bound. JEL Codes: C11 ; C45 ; D31 ; E32 ; E52.;
    All these keywords.

    JEL classification:

    • C11 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Bayesian Analysis: General
    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • D31 - Microeconomics - - Distribution - - - Personal Income and Wealth Distribution
    • E32 - Macroeconomics and Monetary Economics - - Prices, Business Fluctuations, and Cycles - - - Business Fluctuations; Cycles

    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:wrk:warwec:1499. 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: Margaret Nash (email available below). General contact details of provider: https://edirc.repec.org/data/dewaruk.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.