IDEAS home Printed from https://ideas.repec.org/p/cpr/ceprdp/13890.html
   My bibliography  Save this paper

Using the Sequence-Space Jacobian to Solve and Estimate Heterogeneous-Agent Models

Author

Listed:
  • Auclert, Adrien
  • Bardoczy, Bence
  • Rognlie, Matthew
  • Straub, Ludwig

Abstract

We propose a general and highly efficient method for solving and estimating general equilibrium heterogeneous-agent models with aggregate shocks in discrete time. Our approach relies on the rapid computation of sequence-space Jacobians—the derivatives of perfect-foresight equilibrium mappings between aggregate sequences around the steady state. Our main contribution is a fast algorithm for calculating Jacobians for a large class of heterogeneous-agent problems. We combine this algorithm with a systematic approach to composing and inverting Jacobians to solve for general equilibrium impulse responses. We obtain a rapid procedure for likelihood-based estimation and computation of nonlinear perfect-foresight transitions. We apply our methods to three canonical heterogeneous-agent models: a neoclassical model, a New Keynesian model with one asset, and a New Keynesian model with two assets.

Suggested Citation

  • Auclert, Adrien & Bardoczy, Bence & Rognlie, Matthew & Straub, Ludwig, 2019. "Using the Sequence-Space Jacobian to Solve and Estimate Heterogeneous-Agent Models," CEPR Discussion Papers 13890, C.E.P.R. Discussion Papers.
  • Handle: RePEc:cpr:ceprdp:13890
    as

    Download full text from publisher

    File URL: https://cepr.org/publications/DP13890
    Download Restriction: CEPR Discussion Papers are free to download for our researchers, subscribers and members. If you fall into one of these categories but have trouble downloading our papers, please contact us at subscribers@cepr.org
    ---><---

    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. Matthew Rognlie & Ludwig Straub & Adrien Auclert, 2017. "The Intertemporal Keynesian Cross," 2017 Meeting Papers 1587, Society for Economic Dynamics.
    2. 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.
    3. 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.
    4. 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.
    5. Krueger, Dirk & Ludwig, Alexander, 2007. "On the consequences of demographic change for rates of returns to capital, and the distribution of wealth and welfare," Journal of Monetary Economics, Elsevier, vol. 54(1), pages 49-87, January.
    6. Alejandro Justiniano & Giorgio Primiceri & Andrea Tambalotti, 2011. "Investment Shocks and the Relative Price of Investment," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 14(1), pages 101-121, January.
    7. Yves Achdou & Jiequn Han & Jean-Michel Lasry & Pierre-Louis Lions & Benjamin Moll, 2017. "Income and Wealth Distribution in Macroeconomics: A Continuous-Time Approach," NBER Working Papers 23732, National Bureau of Economic Research, Inc.
    8. 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.
    9. repec:hal:spmain:info:hdl:2441/c8dmi8nm4pdjkuc9g8grh35j2 is not listed on IDEAS
    10. Miguel Molico, 2006. "The Distribution Of Money And Prices In Search Equilibrium," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 47(3), pages 701-722, August.
    11. Lawrence J. Christiano & Cosmin Ilut & Roberto Motto & Massimo Rostagno, 2010. "Monetary policy and stock market booms," Proceedings - Economic Policy Symposium - Jackson Hole, Federal Reserve Bank of Kansas City, pages 85-145.
    12. Fabien Postel-Vinay & Jean-Marc Robin, 2002. "Equilibrium Wage Dispersion with Worker and Employer Heterogeneity," Econometrica, Econometric Society, vol. 70(6), pages 2295-2350, November.
    13. Mansur, Ahsan & Whalley, John, 1982. "A Decomposition Algorithm for General Equilibrium Computation with Application to International Trade Models," Econometrica, Econometric Society, vol. 50(6), pages 1547-1557, November.
    14. Jean-Pierre Laffargue, 1990. "Résolution d'un modèle macroéconomique avec anticipations rationnelles," Annals of Economics and Statistics, GENES, issue 17, pages 97-119.
    15. 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.
    16. Fabien Postel-Vinay & Jean-Marc Robin, 2002. "Equilibrium Wage Dispersion with Worker and Employer Heterogeneity," Post-Print hal-03458567, HAL.
    17. Krueger, D. & Mitman, K. & Perri, F., 2016. "Macroeconomics and Household Heterogeneity," Handbook of Macroeconomics, in: J. B. Taylor & Harald Uhlig (ed.), Handbook of Macroeconomics, edition 1, volume 2, chapter 0, pages 843-921, Elsevier.
    18. Lubik, Thomas A. & Schorfheide, Frank, 2003. "Computing sunspot equilibria in linear rational expectations models," Journal of Economic Dynamics and Control, Elsevier, vol. 28(2), pages 273-285, November.
    19. Jonathan Heathcote & Kjetil Storesletten & Giovanni L. Violante, 2010. "The Macroeconomic Implications of Rising Wage Inequality in the United States," Journal of Political Economy, University of Chicago Press, vol. 118(4), pages 681-722, August.
    20. 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.
    21. Sushant Acharya & Keshav Dogra, 2020. "Understanding HANK: Insights From a PRANK," Econometrica, Econometric Society, vol. 88(3), pages 1113-1158, May.
    22. Thomas Winberry, 2018. "A method for solving and estimating heterogeneous agent macro models," Quantitative Economics, Econometric Society, vol. 9(3), pages 1123-1151, November.
    23. Morten O Ravn & Vincent Sterk, 2021. "Macroeconomic Fluctuations with HANK & SAM: an Analytical Approach," Journal of the European Economic Association, European Economic Association, vol. 19(2), pages 1162-1202.
    24. 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.
    25. Mikhail Golosov & Robert E. Lucas Jr., 2007. "Menu Costs and Phillips Curves," Journal of Political Economy, University of Chicago Press, vol. 115(2), pages 171-199.
    26. Lan, Hong & Meyer-Gohde, Alexander, 2013. "Solving DSGE models with a nonlinear moving average," Journal of Economic Dynamics and Control, Elsevier, vol. 37(12), pages 2643-2667.
    27. 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.
    28. Aubhik Khan & Julia K. Thomas, 2008. "Idiosyncratic Shocks and the Role of Nonconvexities in Plant and Aggregate Investment Dynamics," Econometrica, Econometric Society, vol. 76(2), pages 395-436, March.
    29. 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.
    30. David Berger & Veronica Guerrieri & Guido Lorenzoni & Joseph Vavra, 2018. "House Prices and Consumer Spending," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 85(3), pages 1502-1542.
    31. Blanchard, Olivier Jean & Kahn, Charles M, 1980. "The Solution of Linear Difference Models under Rational Expectations," Econometrica, Econometric Society, vol. 48(5), pages 1305-1311, July.
    32. Algan, Yann & Allais, Olivier & Den Haan, Wouter J., 2010. "Solving the incomplete markets model with aggregate uncertainty using parameterized cross-sectional distributions," Journal of Economic Dynamics and Control, Elsevier, vol. 34(1), pages 59-68, January.
    33. 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.
    34. repec:adr:anecst:y:1990:i:17:p:04 is not listed on IDEAS
    35. 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.
    36. Mariacristina De Nardi, 2004. "Wealth Inequality and Intergenerational Links," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 71(3), pages 743-768.
    37. Johannes Brumm & Simon Scheidegger, 2017. "Using Adaptive Sparse Grids to Solve High‐Dimensional Dynamic Models," Econometrica, Econometric Society, vol. 85, pages 1575-1612, September.
    38. Nils M. Gornemann & Keith Kuester & Makoto Nakajima, 2016. "Doves for the Rich, Hawks for the Poor? Distributional Consequences of Monetary Policy," International Finance Discussion Papers 1167, Board of Governors of the Federal Reserve System (U.S.).
    39. 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.
    40. Burdett, Kenneth & Mortensen, Dale T, 1998. "Wage Differentials, Employer Size, and Unemployment," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 39(2), pages 257-273, May.
    41. Klein, Paul, 2000. "Using the generalized Schur form to solve a multivariate linear rational expectations model," Journal of Economic Dynamics and Control, Elsevier, vol. 24(10), pages 1405-1423, September.
    42. Bilbiie, Florin, 2018. "Monetary Policy and Heterogeneity: An Analytical Framework," CEPR Discussion Papers 12601, C.E.P.R. Discussion Papers.
    43. Fernández-Villaverde, J. & Rubio-Ramírez, J.F. & Schorfheide, F., 2016. "Solution and Estimation Methods for DSGE Models," Handbook of Macroeconomics, in: J. B. Taylor & Harald Uhlig (ed.), Handbook of Macroeconomics, edition 1, volume 2, chapter 0, pages 527-724, Elsevier.
    44. Frank Smets & Rafael Wouters, 2007. "Shocks and Frictions in US Business Cycles: A Bayesian DSGE Approach," American Economic Review, American Economic Association, vol. 97(3), pages 586-606, June.
    45. repec:hal:spmain:info:hdl:2441/72lkhuq5cm8hqrn860asm92bvs is not listed on IDEAS
    46. Matthew Rognlie & Adrien Auclert, 2016. "Inequality and Aggregate Demand," 2016 Meeting Papers 1353, Society for Economic Dynamics.
    47. Juillard, Michel, 1996. "Dynare : a program for the resolution and simulation of dynamic models with forward variables through the use of a relaxation algorithm," CEPREMAP Working Papers (Couverture Orange) 9602, CEPREMAP.
    48. Den Haan, Wouter J., 1997. "Solving Dynamic Models With Aggregate Shocks And Heterogeneous Agents," Macroeconomic Dynamics, Cambridge University Press, vol. 1(2), pages 355-386, June.
    49. J. B. Taylor & Harald Uhlig (ed.), 2016. "Handbook of Macroeconomics," Handbook of Macroeconomics, Elsevier, edition 1, volume 2, number 2.
    50. Boucekkine, Raouf, 1995. "An alternative methodology for solving nonlinear forward-looking models," Journal of Economic Dynamics and Control, Elsevier, vol. 19(4), pages 711-734, May.
    51. Edward P. Herbst & Frank Schorfheide, 2016. "Bayesian Estimation of DSGE Models," Economics Books, Princeton University Press, edition 1, number 10612.
    52. Onatski, Alexei, 2006. "Winding number criterion for existence and uniqueness of equilibrium in linear rational expectations models," Journal of Economic Dynamics and Control, Elsevier, vol. 30(2), pages 323-345, February.
    53. 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.
    54. Bayer, Christian & Luetticke, Ralph, 2018. "Solving heterogeneous agent models in discrete time with many idiosyncratic states by perturbation methods," CEPR Discussion Papers 13071, C.E.P.R. Discussion Papers.
    55. Young, Eric R., 2010. "Solving the incomplete markets model with aggregate uncertainty using the Krusell-Smith algorithm and non-stochastic simulations," Journal of Economic Dynamics and Control, Elsevier, vol. 34(1), pages 36-41, January.
    56. Hopenhayn, Hugo & Rogerson, Richard, 1993. "Job Turnover and Policy Evaluation: A General Equilibrium Analysis," Journal of Political Economy, University of Chicago Press, vol. 101(5), pages 915-938, October.
    57. Meyer-Gohde, Alexander, 2010. "Linear rational-expectations models with lagged expectations: A synthetic method," Journal of Economic Dynamics and Control, Elsevier, vol. 34(5), pages 984-1002, May.
    58. Juan C. Conesa & Dirk Krueger, 1999. "Social Security Reform with Heterogeneous Agents," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 2(4), pages 757-795, October.
    59. Morten O Ravn & Vincent Sterk, 0. "Macroeconomic Fluctuations with HANK & SAM: an Analytical Approach," Journal of the European Economic Association, European Economic Association, vol. 19(2), pages 1162-1202.
    60. van der Laan, Gerard, 1985. "The Computation of General Equilibrium in Economies with a Block Diagonal Pattern," Econometrica, Econometric Society, vol. 53(3), pages 658-665, May.
    61. Hopenhayn, Hugo A, 1992. "Entry, Exit, and Firm Dynamics in Long Run Equilibrium," Econometrica, Econometric Society, vol. 60(5), pages 1127-1150, September.
    62. Schmitt-Grohé, Stephanie & Uribe, Martín, 2010. "Evaluating the sample likelihood of linearized DSGE models without the use of the Kalman filter," Economics Letters, Elsevier, vol. 109(3), pages 142-143, December.
    63. Sims, Christopher A, 2002. "Solving Linear Rational Expectations Models," Computational Economics, Springer;Society for Computational Economics, vol. 20(1-2), pages 1-20, October.
    64. Reiter, Michael, 2010. "Approximate and Almost-Exact Aggregation in Dynamic Stochastic Heterogeneous-Agent Models," Economics Series 258, Institute for Advanced Studies.
    65. repec:hal:spmain:info:hdl:2441/dc0ckec3fcb29ms985085gkbp is not listed on IDEAS
    66. Mertens, Thomas M. & Judd, Kenneth L., 2018. "Solving an incomplete markets model with a large cross-section of agents," Journal of Economic Dynamics and Control, Elsevier, vol. 91(C), pages 349-368.
    Full references (including those not matched with items on IDEAS)

    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. 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).
    2. 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.
    3. 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.
    4. 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.
    5. 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.
    6. Emoto, Masakazu & Sunakawa, Takeki, 2021. "Applying the explicit aggregation algorithm to heterogeneous agent models in continuous time," Economics Letters, Elsevier, vol. 206(C).
    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. Nils M. Gornemann & Keith Kuester & Makoto Nakajima, 2021. "Doves for the Rich, Hawks for the Poor? Distributional Consequences of Systematic Monetary Policy," Opportunity and Inclusive Growth Institute Working Papers 50, Federal Reserve Bank of Minneapolis.
    9. Davide Debortoli & Jordi Galí, 2024. "Idiosyncratic Income Risk and Aggregate Fluctuations," American Economic Journal: Macroeconomics, American Economic Association, vol. 16(4), pages 279-310, October.
    10. Anmol Bhandari & David Evans & Mikhail Golosov & Thomas J. Sargent, 2021. "Inequality, Business Cycles, and Monetary‐Fiscal Policy," Econometrica, Econometric Society, vol. 89(6), pages 2559-2599, November.
    11. Chipeniuk, Karsten O. & Katz, Nets Hawk & Walker, Todd B., 2022. "Households, auctioneers, and aggregation," European Economic Review, Elsevier, vol. 141(C).
    12. Moser, Christian & Saidi, Farzad & Wirth, Benjamin & Wolter, Stefanie, 2020. "Credit Supply, Firms, and Earnings Inequality," MPRA Paper 100371, University Library of Munich, Germany.
    13. Bayer, Christian & Born, Benjamin & Luetticke, Ralph, 2023. "The liquidity channel of fiscal policy," Journal of Monetary Economics, Elsevier, vol. 134(C), pages 86-117.
    14. 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.
    15. Laura Liu & Mikkel Plagborg-M{o}ller, 2021. "Full-Information Estimation of Heterogeneous Agent Models Using Macro and Micro Data," Papers 2101.04771, arXiv.org, revised Jun 2022.
    16. Pierre Mabille, 2019. "Aggregate Precautionary Savings Motives," 2019 Meeting Papers 344, Society for Economic Dynamics.
    17. 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.
    18. 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.
    19. 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.
    20. Laura Liu & Mikkel Plagborg-M{o}ller, 2021. "Full-Information Estimation of Heterogeneous Agent Models Using Macro and Micro Data," Papers 2101.04771, arXiv.org, revised Jun 2022.

    More about this item

    Keywords

    Heterogeneous agent; General equilibrium; Computational methods; Linearization;
    All these keywords.

    JEL classification:

    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques
    • E21 - Macroeconomics and Monetary Economics - - Consumption, Saving, Production, Employment, and Investment - - - Consumption; Saving; Wealth
    • 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:cpr:ceprdp:13890. 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: the person in charge (email available below). General contact details of provider: https://www.cepr.org .

    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.