IDEAS home Printed from https://ideas.repec.org/p/nbr/nberwo/26123.html
   My bibliography  Save this paper

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

Author

Listed:
  • Adrien Auclert
  • Bence Bardóczy
  • Matthew Rognlie
  • Ludwig Straub

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

  • Adrien Auclert & Bence Bardóczy & Matthew Rognlie & Ludwig Straub, 2019. "Using the Sequence-Space Jacobian to Solve and Estimate Heterogeneous-Agent Models," NBER Working Papers 26123, National Bureau of Economic Research, Inc.
  • Handle: RePEc:nbr:nberwo:26123
    Note: EFG ME
    as

    Download full text from publisher

    File URL: http://www.nber.org/papers/w26123.pdf
    Download Restriction: no
    ---><---

    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. 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.
    3. 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.
    4. 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.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    9. 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.
    10. 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.
    11. Sushant Acharya & Keshav Dogra, 2020. "Understanding HANK: Insights From a PRANK," Econometrica, Econometric Society, vol. 88(3), pages 1113-1158, May.
    12. 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.
    13. 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.
    14. 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.
    15. 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.
    16. 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.
    17. 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.
    18. 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.
    19. 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.
    20. 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.
    21. 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.
    22. 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.
    23. 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.
    24. 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.
    25. 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.
    26. repec:hal:spmain:info:hdl:2441/72lkhuq5cm8hqrn860asm92bvs is not listed on IDEAS
    27. 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.
    28. 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.
    29. 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.
    30. 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.
    31. J. B. Taylor & Harald Uhlig (ed.), 2016. "Handbook of Macroeconomics," Handbook of Macroeconomics, Elsevier, edition 1, volume 2, number 2.
    32. 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.
    33. Edward P. Herbst & Frank Schorfheide, 2016. "Bayesian Estimation of DSGE Models," Economics Books, Princeton University Press, edition 1, number 10612.
    34. 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.
    35. 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.
    36. 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.
    37. Kuester, Keith & Gornemann, Nils & Nakajima, Makoto, 2016. "Doves for the Rich, Hawks for the Poor? Distributional Consequences of Monetary Policy," CEPR Discussion Papers 11233, C.E.P.R. Discussion Papers.
    38. 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.
    39. 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.
    40. 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.
    41. 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.
    42. Bilbiie, Florin, 2018. "Monetary Policy and Heterogeneity: An Analytical Framework," CEPR Discussion Papers 12601, C.E.P.R. Discussion Papers.
    43. 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.
    44. 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.
    45. Sims, Christopher A, 2002. "Solving Linear Rational Expectations Models," Computational Economics, Springer;Society for Computational Economics, vol. 20(1-2), pages 1-20, October.
    46. Reiter, Michael, 2010. "Approximate and Almost-Exact Aggregation in Dynamic Stochastic Heterogeneous-Agent Models," Economics Series 258, Institute for Advanced Studies.
    47. 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.
    48. repec:hal:spmain:info:hdl:2441/c8dmi8nm4pdjkuc9g8grh35j2 is not listed on IDEAS
    49. 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.
    50. 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.
    51. Fabien Postel-Vinay & Jean-Marc Robin, 2002. "Equilibrium Wage Dispersion with Worker and Employer Heterogeneity," Post-Print hal-03458567, HAL.
    52. 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.
    53. Thomas Winberry, 2018. "A method for solving and estimating heterogeneous agent macro models," Quantitative Economics, Econometric Society, vol. 9(3), pages 1123-1151, November.
    54. 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.
    55. repec:adr:anecst:y:1990:i:17:p:04 is not listed on IDEAS
    56. Johannes Brumm & Simon Scheidegger, 2017. "Using Adaptive Sparse Grids to Solve High‐Dimensional Dynamic Models," Econometrica, Econometric Society, vol. 85, pages 1575-1612, September.
    57. 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.
    58. 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.
    59. Matthew Rognlie & Adrien Auclert, 2016. "Inequality and Aggregate Demand," 2016 Meeting Papers 1353, Society for Economic Dynamics.
    60. 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.
    61. 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.
    62. 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.
    63. 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.
    64. Hopenhayn, Hugo A, 1992. "Entry, Exit, and Firm Dynamics in Long Run Equilibrium," Econometrica, Econometric Society, vol. 60(5), pages 1127-1150, September.
    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. 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.
    8. 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.
    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. 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.
    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. Bilbiie, Florin O., 2020. "The New Keynesian cross," Journal of Monetary Economics, Elsevier, vol. 114(C), pages 90-108.
    19. 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.
    20. Cantore, Cristiano & Freund, Lukas B., 2021. "Workers, capitalists, and the government: fiscal policy and income (re)distribution," Journal of Monetary Economics, Elsevier, vol. 119(C), pages 58-74.

    More about this item

    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:nbr:nberwo:26123. 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://edirc.repec.org/data/nberrus.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.