IDEAS home Printed from https://ideas.repec.org/p/aah/create/2013-39.html
   My bibliography  Save this paper

A comparison of numerical methods for the solution of continuous-time DSGE models

Author

Listed:
  • Juan Carlos Parra-Alvarez

    (Aarhus University and CREATES)

Abstract

This paper evaluates the accuracy of a set of techniques that approximate the solution of continuous-time DSGE models. Using the neoclassical growth model I compare linear-quadratic, perturbation and projection methods. All techniques are applied to the HJB equation and the optimality conditions that define the general equilibrium of the economy. Two cases are studied depending on whether a closed form solution is available. I also analyze how different degrees of non-linearities affect the approximated solution. The results encourage the use of perturbations for reasonable values of the structural parameters of the model and suggest the use of projection methods when a high degree of accuracy is required.

Suggested Citation

  • Juan Carlos Parra-Alvarez, 2013. "A comparison of numerical methods for the solution of continuous-time DSGE models," CREATES Research Papers 2013-39, Department of Economics and Business Economics, Aarhus University.
  • Handle: RePEc:aah:create:2013-39
    as

    Download full text from publisher

    File URL: https://repec.econ.au.dk/repec/creates/rp/13/rp13_39.pdf
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. 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.
    2. Taylor, John B & Uhlig, Harald, 1990. "Solving Nonlinear Stochastic Growth Models: A Comparison of Alternative Solution Methods," Journal of Business & Economic Statistics, American Statistical Association, vol. 8(1), pages 1-17, January.
    3. Olivier Blanchard, 2009. "The State of Macro," Annual Review of Economics, Annual Reviews, vol. 1(1), pages 209-228, May.
    4. Yihong Xia, 2001. "Learning about Predictability: The Effects of Parameter Uncertainty on Dynamic Asset Allocation," Journal of Finance, American Finance Association, vol. 56(1), pages 205-246, February.
    5. Furlanetto, Francesco & Seneca, Martin, 2014. "New Perspectives On Depreciation Shocks As A Source Of Business Cycle Fluctuations," Macroeconomic Dynamics, Cambridge University Press, vol. 18(6), pages 1209-1233, September.
    6. Jessica A. Wachter, 2013. "Can Time-Varying Risk of Rare Disasters Explain Aggregate Stock Market Volatility?," Journal of Finance, American Finance Association, vol. 68(3), pages 987-1035, June.
    7. Burkhard Heer & Alfred Maußner, 2024. "Dynamic General Equilibrium Modeling," Springer Texts in Business and Economics, Springer, edition 3, number 978-3-031-51681-8, August.
    8. Wouter J. Den Haan & Albert Marcet, 1994. "Accuracy in Simulations," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 61(1), pages 3-17.
    9. Chang,Fwu-Ranq, 2009. "Stochastic Optimization in Continuous Time," Cambridge Books, Cambridge University Press, number 9780521541947.
    10. Posch, Olaf & Trimborn, Timo, 2013. "Numerical solution of dynamic equilibrium models under Poisson uncertainty," Journal of Economic Dynamics and Control, Elsevier, vol. 37(12), pages 2602-2622.
    11. Ralph S.J. Koijen & Jules H. van Binsbergen & Juan F. Rubio-Ramírez & Jesus Fernandez-Villaverde, 2008. "Likelihood Estimation of DSGE Models with Epstein-Zin Preferences," 2008 Meeting Papers 1099, Society for Economic Dynamics.
    12. Eric T. Swanson, 2012. "Risk Aversion and the Labor Margin in Dynamic Equilibrium Models," American Economic Review, American Economic Association, vol. 102(4), pages 1663-1691, June.
    13. Ulrich Doraszelski & Kenneth L. Judd, 2012. "Avoiding the curse of dimensionality in dynamic stochastic games," Quantitative Economics, Econometric Society, vol. 3(1), pages 53-93, March.
    14. Magill, Michael J. P., 1977. "A local analysis of N-sector capital accumulation under uncertainty," Journal of Economic Theory, Elsevier, vol. 15(1), pages 211-219, June.
    15. M. J. Brennan, 1998. "The Role of Learning in Dynamic Portfolio Decisions," Review of Finance, European Finance Association, vol. 1(3), pages 295-306.
    16. Juan F. Rubio-Ramirez & Jesus Fernández-Villaverde, 2005. "Estimating dynamic equilibrium economies: linear versus nonlinear likelihood," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 20(7), pages 891-910.
    17. Anderson, Evan W. & McGrattan, Ellen R. & Hansen, Lars Peter & Sargent, Thomas J., 1996. "Mechanics of forming and estimating dynamic linear economies," Handbook of Computational Economics, in: H. M. Amman & D. A. Kendrick & J. Rust (ed.), Handbook of Computational Economics, edition 1, volume 1, chapter 4, pages 171-252, Elsevier.
    18. Posch, Olaf, 2009. "Structural estimation of jump-diffusion processes in macroeconomics," Journal of Econometrics, Elsevier, vol. 153(2), pages 196-210, December.
    19. Wälde, Klaus, 2011. "Production technologies in stochastic continuous time models," Journal of Economic Dynamics and Control, Elsevier, vol. 35(4), pages 616-622, April.
    20. Tom Kompas & Long Chu, 2010. "A Comparison of Parametric Approximation Techniques to Continuous-Time Stochastic Dynamic Programming Problems," Environmental Economics Research Hub Research Reports 1071, Environmental Economics Research Hub, Crawford School of Public Policy, The Australian National University.
    21. Turnovsky, Stephen J. & Smith, William T., 2006. "Equilibrium consumption and precautionary savings in a stochastically growing economy," Journal of Economic Dynamics and Control, Elsevier, vol. 30(2), pages 243-278, February.
    22. Collard, Fabrice & Juillard, Michel, 2001. "Accuracy of stochastic perturbation methods: The case of asset pricing models," Journal of Economic Dynamics and Control, Elsevier, vol. 25(6-7), pages 979-999, June.
    23. Cochrane, John H., 2005. "Financial Markets and the Real Economy," Foundations and Trends(R) in Finance, now publishers, vol. 1(1), pages 1-101, July.
    24. Stephanie Becker & Lars Grüne & Willi Semmler, 2007. "Comparing accuracy of second-order approximation and dynamic programming," Computational Economics, Springer;Society for Computational Economics, vol. 30(1), pages 65-91, August.
    25. Judd, Kenneth L., 1996. "Approximation, perturbation, and projection methods in economic analysis," Handbook of Computational Economics, in: H. M. Amman & D. A. Kendrick & J. Rust (ed.), Handbook of Computational Economics, edition 1, volume 1, chapter 12, pages 509-585, Elsevier.
    26. Lars Ljungqvist & Thomas J. Sargent, 2004. "Recursive Macroeconomic Theory, 2nd Edition," MIT Press Books, The MIT Press, edition 2, volume 1, number 026212274x, December.
    27. Kydland, Finn E & Prescott, Edward C, 1982. "Time to Build and Aggregate Fluctuations," Econometrica, Econometric Society, vol. 50(6), pages 1345-1370, November.
    28. Benigno, Pierpaolo & Woodford, Michael, 2012. "Linear-quadratic approximation of optimal policy problems," Journal of Economic Theory, Elsevier, vol. 147(1), pages 1-42.
    29. Dario Caldara & Jesus Fernandez-Villaverde & Juan Rubio-Ramirez & Wen Yao, 2012. "Computing DSGE Models with Recursive Preferences and Stochastic Volatility," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 15(2), pages 188-206, April.
    30. Gaspar, Jess & L. Judd, Kenneth, 1997. "Solving Large-Scale Rational-Expectations Models," Macroeconomic Dynamics, Cambridge University Press, vol. 1(1), pages 45-75, January.
    31. Merton, Robert C, 1969. "Lifetime Portfolio Selection under Uncertainty: The Continuous-Time Case," The Review of Economics and Statistics, MIT Press, vol. 51(3), pages 247-257, August.
    Full references (including those not matched with items on IDEAS)

    Citations

    Blog mentions

    As found by EconAcademics.org, the blog aggregator for Economics research:
    1. A comparison of numerical methods for the solution of continuous-time DSGE models
      by Christian Zimmermann in NEP-DGE blog on 2013-12-03 09:38:34

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Juan Carlos Parra-Alvarez & Hamza Polattimur & Olaf Posch, 2020. "Risk Matters: Breaking Certainty Equivalence," CREATES Research Papers 2020-02, Department of Economics and Business Economics, Aarhus University.
    2. Parra-Alvarez, Juan Carlos & Polattimur, Hamza & Posch, Olaf, 2021. "Risk matters: Breaking certainty equivalence in linear approximations," Journal of Economic Dynamics and Control, Elsevier, vol. 133(C).
    3. Burkhard Heer & Alfred Maußner, 2024. "Dynamic General Equilibrium Modeling," Springer Texts in Business and Economics, Springer, edition 3, number 978-3-031-51681-8, August.
    4. Victor Duarte & Diogo Duarte & Dejanir H. Silva, 2024. "Machine Learning for Continuous-Time Finance," CESifo Working Paper Series 10909, CESifo.
    5. Grüne, Lars & Semmler, Willi & Stieler, Marleen, 2015. "Using nonlinear model predictive control for dynamic decision problems in economics," Journal of Economic Dynamics and Control, Elsevier, vol. 60(C), pages 112-133.

    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. Juan Carlos Parra-Alvarez & Hamza Polattimur & Olaf Posch, 2020. "Risk Matters: Breaking Certainty Equivalence," CREATES Research Papers 2020-02, Department of Economics and Business Economics, Aarhus University.
    2. Posch, Olaf, 2011. "Risk premia in general equilibrium," Journal of Economic Dynamics and Control, Elsevier, vol. 35(9), pages 1557-1576, September.
    3. Parra-Alvarez, Juan Carlos & Polattimur, Hamza & Posch, Olaf, 2021. "Risk matters: Breaking certainty equivalence in linear approximations," Journal of Economic Dynamics and Control, Elsevier, vol. 133(C).
    4. Lim, G.C. & McNelis, Paul D., 2008. "Computational Macroeconomics for the Open Economy," MIT Press Books, The MIT Press, edition 1, volume 1, number 0262123061, December.
    5. 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.
    6. Posch, Olaf & Trimborn, Timo, 2013. "Numerical solution of dynamic equilibrium models under Poisson uncertainty," Journal of Economic Dynamics and Control, Elsevier, vol. 37(12), pages 2602-2622.
    7. Stephanie Becker & Lars Grüne & Willi Semmler, 2007. "Comparing accuracy of second-order approximation and dynamic programming," Computational Economics, Springer;Society for Computational Economics, vol. 30(1), pages 65-91, August.
    8. 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.
    9. Özer Karagedikli & Troy Matheson & Christie Smith & Shaun P. Vahey, 2010. "RBCs AND DSGEs: THE COMPUTATIONAL APPROACH TO BUSINESS CYCLE THEORY AND EVIDENCE," Journal of Economic Surveys, Wiley Blackwell, vol. 24(1), pages 113-136, February.
    10. John Stachurski, 2009. "Economic Dynamics: Theory and Computation," MIT Press Books, The MIT Press, edition 1, volume 1, number 0262012774, December.
    11. 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.
    12. Kim, Jinill & Kim, Sunghyun Henry, 2003. "Spurious welfare reversals in international business cycle models," Journal of International Economics, Elsevier, vol. 60(2), pages 471-500, August.
    13. Jinill Kim & Sunghyun Henry Kim, 1999. "Inaccuracy of Loglinear Approximation in Welfare Calculations: the Case of International Risk Sharing," Computing in Economics and Finance 1999 251, Society for Computational Economics.
    14. Sungbae An & Frank Schorfheide, 2007. "Bayesian Analysis of DSGE Models," Econometric Reviews, Taylor & Francis Journals, vol. 26(2-4), pages 113-172.
    15. Kenneth L. Judd & Lilia Maliar & Serguei Maliar, 2014. "Lower Bounds on Approximation Errors: Testing the Hypothesis That a Numerical Solution Is Accurate?," BYU Macroeconomics and Computational Laboratory Working Paper Series 2014-06, Brigham Young University, Department of Economics, BYU Macroeconomics and Computational Laboratory.
    16. Tarik Ocaktan & Michel Juillard, 2008. "Méthodes de simulation des modèles stochastiques d'équilibre général," Économie et Prévision, Programme National Persée, vol. 183(2), pages 115-126.
    17. Alali, Walid Y., 2009. "Solution Strategies of Dynamic Stochastic General Equilibrium (DSGE) models," EconStor Preprints 269876, ZBW - Leibniz Information Centre for Economics.
    18. Yongyang Cai & Kenneth Judd & Jevgenijs Steinbuks, 2017. "A nonlinear certainty equivalent approximation method for dynamic stochastic problems," Quantitative Economics, Econometric Society, vol. 8(1), pages 117-147, March.
    19. Levin, Andrew T., 2002. "Comment on: Monetary policy rules in the open economy: effects on welfare and business cycles," Journal of Monetary Economics, Elsevier, vol. 49(5), pages 1017-1023, July.
    20. Alali, Walid Y., 2009. "Solution Strategies of Dynamic Stochastic General Equilibrium (DSGE) models," MPRA Paper 116480, University Library of Munich, Germany.

    More about this item

    Keywords

    Continuous-Time DSGE Models; Linear-Quadratic Approximation; Perturbation Method; Projection Method;
    All these keywords.

    JEL classification:

    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques
    • C68 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computable General Equilibrium Models
    • 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:aah:create:2013-39. 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: http://www.econ.au.dk/afn/ .

    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.