IDEAS home Printed from https://ideas.repec.org/p/red/sed009/776.html
   My bibliography  Save this paper

Solving Dynamic Models with Heterogeneous Agents and Aggregate Uncertainty with Dynare or Dynare++

Author

Listed:
  • Wouter J. DEN HAAN

    (University of Amsterdam and CEPR)

Abstract

uncertainty can be solved using Dynare or Dynare++ software that implements a perturbation approach. When the explicit aggregation algorithm (XPA) is used to obtain aggregate laws of motion, this can be accomplished by combining a Dynare program with a very simple Matlab program. When the Krusell-Smith algorithm is used, then the Matlab program needed is somewhat more involved, but still relatively simple. We calculate and compare first and second-order numerical solutions using both algorithms. These numerical procedures are also compared with the algorithm that solves the individual policy rules with a projection instead of a perturbation procedure. Finally, we discuss a procedure that efficiently chooses which cross-sectional moments to include as aggregate state variables when nonlinearities are important and the mean is not a sufficient statistic.

Suggested Citation

  • Wouter J. DEN HAAN, 2009. "Solving Dynamic Models with Heterogeneous Agents and Aggregate Uncertainty with Dynare or Dynare++," 2009 Meeting Papers 776, Society for Economic Dynamics.
  • Handle: RePEc:red:sed009:776
    as

    Download full text from publisher

    File URL: https://red-files-public.s3.amazonaws.com/meetpapers/2009/paper_776.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. King, Robert G & Watson, Mark W, 1998. "The Solution of Singular Linear Difference Systems under Rational Expectations," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 39(4), pages 1015-1026, November.
    2. Den Haan, Wouter J. & Rendahl, Pontus, 2010. "Solving the incomplete markets model with aggregate uncertainty using explicit aggregation," Journal of Economic Dynamics and Control, Elsevier, vol. 34(1), pages 69-78, January.
    3. Kenneth L. Judd, 1998. "Numerical Methods in Economics," MIT Press Books, The MIT Press, edition 1, volume 1, number 0262100711, December.
    4. Kim, Sunghyun Henry & Kollmann, Robert & Kim, Jinill, 2010. "Solving the incomplete market model with aggregate uncertainty using a perturbation method," Journal of Economic Dynamics and Control, Elsevier, vol. 34(1), pages 50-58, January.
    5. 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.
    6. Blundell,Richard & Newey,Whitney K. & Persson,Torsten (ed.), 2006. "Advances in Economics and Econometrics," Cambridge Books, Cambridge University Press, number 9780521871525.
    7. 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.
    8. Schmitt-Grohe, Stephanie & Uribe, Martin, 2004. "Solving dynamic general equilibrium models using a second-order approximation to the policy function," Journal of Economic Dynamics and Control, Elsevier, vol. 28(4), pages 755-775, January.
    9. Bruce Preston & Mauro Roca, 2007. "Incomplete Markets, Heterogeneity and Macroeconomic Dynamics," NBER Working Papers 13260, National Bureau of Economic Research, Inc.
    10. 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.
    11. 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.
    12. Blundell,Richard & Newey,Whitney K. & Persson,Torsten (ed.), 2006. "Advances in Economics and Econometrics," Cambridge Books, Cambridge University Press, number 9780521692083.
    13. Sims, Christopher A, 2002. "Solving Linear Rational Expectations Models," Computational Economics, Springer;Society for Computational Economics, vol. 20(1-2), pages 1-20, October.
    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. Lambertini, Luisa & Mendicino, Caterina & Teresa Punzi, Maria, 2013. "Leaning against boom–bust cycles in credit and housing prices," Journal of Economic Dynamics and Control, Elsevier, vol. 37(8), pages 1500-1522.
    2. Mendicino, Caterina, 2012. "On the amplification role of collateral constraints," Economics Letters, Elsevier, vol. 117(2), pages 429-435.
    3. Kónya, István & Benczúr, Péter, 2013. "Kamatfelár, hitelválság és mérlegalkalmazkodás egy kis, nyitott gazdaságban [Interest premium, credit crisis and balance-sheet adjustment in a small open economy]," Közgazdasági Szemle (Economic Review - monthly of the Hungarian Academy of Sciences), Közgazdasági Szemle Alapítvány (Economic Review Foundation), vol. 0(9), pages 940-964.
    4. Karmakar, Sudipto, 2016. "Macroprudential regulation and macroeconomic activity," Journal of Financial Stability, Elsevier, vol. 25(C), pages 166-178.
    5. Caterina Mendicino, 2012. "Collateral Requirements: Macroeconomic Fluctuations and Macro-Prudential Policy," Working Papers w201211, Banco de Portugal, Economics and Research Department.
    6. Peter Benczur & Istvan Konya, 2016. "Interest Premium, Sudden Stop, and Adjustment in a Small Open Economy," Eastern European Economics, Taylor & Francis Journals, vol. 54(4), pages 271-295, July.
    7. Karmakar, Sudipto, 2016. "Macroprudential regulation and macroeconomic activity," Journal of Financial Stability, Elsevier, vol. 25(C), pages 166-178.

    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. 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.
    2. Alali, Walid Y., 2009. "Solution Strategies of Dynamic Stochastic General Equilibrium (DSGE) models," EconStor Preprints 269876, ZBW - Leibniz Information Centre for Economics.
    3. Alali, Walid Y., 2009. "Solution Strategies of Dynamic Stochastic General Equilibrium (DSGE) models," MPRA Paper 116480, University Library of Munich, Germany.
    4. Sungbae An & Frank Schorfheide, 2007. "Bayesian Analysis of DSGE Models," Econometric Reviews, Taylor & Francis Journals, vol. 26(2-4), pages 113-172.
    5. Dana Galizia, 2021. "Saddle cycles: Solving rational expectations models featuring limit cycles (or chaos) using perturbation methods," Quantitative Economics, Econometric Society, vol. 12(3), pages 869-901, July.
    6. Reiter, Michael, 2010. "Approximate and Almost-Exact Aggregation in Dynamic Stochastic Heterogeneous-Agent Models," Economics Series 258, Institute for Advanced Studies.
    7. Schmidt, Sebastian & Wieland, Volker, 2013. "The New Keynesian Approach to Dynamic General Equilibrium Modeling: Models, Methods and Macroeconomic Policy Evaluation," Handbook of Computable General Equilibrium Modeling, in: Peter B. Dixon & Dale Jorgenson (ed.), Handbook of Computable General Equilibrium Modeling, edition 1, volume 1, chapter 0, pages 1439-1512, Elsevier.
    8. Lan, Hong & Meyer-Gohde, Alexander, 2012. "Existence and Uniqueness of Perturbation Solutions in DSGE Models," Dynare Working Papers 14, CEPREMAP.
    9. Aruoba, S. Boragan & Fernandez-Villaverde, Jesus & Rubio-Ramirez, Juan F., 2006. "Comparing solution methods for dynamic equilibrium economies," Journal of Economic Dynamics and Control, Elsevier, vol. 30(12), pages 2477-2508, December.
    10. Francesco Bianchi & Giovanni Nicolò, 2021. "A generalized approach to indeterminacy in linear rational expectations models," Quantitative Economics, Econometric Society, vol. 12(3), pages 843-868, July.
    11. Luisa Corrado & Sean Holly, 2006. "The Linearisation and Optimal Control of Large Non-Linear Rational Expectations Models by Persistent Excitation," Computational Economics, Springer;Society for Computational Economics, vol. 28(2), pages 139-153, September.
    12. Viktors Ajevskis, 2019. "Generalised Impulse Response Function as a Perturbation of a Global Solution to DSGE Models," Working Papers 2019/04, Latvijas Banka.
    13. Gauti Eggertsson & Sergey Egiev & Alessandro Lin & Josef Platzer & Luca Riva, 2021. "A Toolkit for Solving Models with a Lower Bound on Interest Rates of Stochastic Duration," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 41, pages 121-173, July.
    14. Paul Pichler, 2005. "Evaluating Approximate Equilibria of Dynamic Economic Models," Vienna Economics Papers 0510, University of Vienna, Department of Economics.
    15. Fernandez-Villaverde, Jesus & Rubio-Ramirez, Juan F., 2006. "Solving DSGE models with perturbation methods and a change of variables," Journal of Economic Dynamics and Control, Elsevier, vol. 30(12), pages 2509-2531, December.
    16. Jesús Fernández-Villaverde & Juan F. Rubio-Ramirez, 2003. "Some results on the solution of the neoclassical growth model," FRB Atlanta Working Paper 2003-34, Federal Reserve Bank of Atlanta.
    17. 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.
    18. Christophe Gouel, 2013. "Comparing Numerical Methods for Solving the Competitive Storage Model," Computational Economics, Springer;Society for Computational Economics, vol. 41(2), pages 267-295, February.
    19. Gouin-Bonenfant, Emilien & Toda, Alexis Akira, 2018. "Pareto Extrapolation: Bridging Theoretical and Quantitative Models of Wealth Inequality," University of California at San Diego, Economics Working Paper Series qt90n2h2bb, Department of Economics, UC San Diego.
    20. Christian Bayer & Ralph Luetticke, 2020. "Solving discrete time heterogeneous agent models with aggregate risk and many idiosyncratic states by perturbation," Quantitative Economics, Econometric Society, vol. 11(4), pages 1253-1288, November.

    More about this item

    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:red:sed009:776. 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: Christian Zimmermann (email available below). General contact details of provider: https://edirc.repec.org/data/sedddea.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.