IDEAS home Printed from https://ideas.repec.org/p/bno/worpap/2013_18.html
   My bibliography  Save this paper

Solving second and third-order approximations to DSGE models: A recursive Sylvester equation solution

Author

Listed:
  • Andrew Binning

    (Norges Bank (Central Bank of Norway))

Abstract

In this paper I derive the matrix chain rules for solving a second and a third-order approximation to a DSGE model that allow the use of a recursive Sylvester equation solution method. In particular I use the solution algorithms of Kamenik (2005) and Martin & Van Loan (2006) to solve the generalised Sylvester equations. Because I use matrix algebra instead of tensor notation to find the system of equations, I am able to provide standalone Matlab routines that make it feasible to solve a medium scale DSGE model in a competitive time. I also provide Fortran code and Matlab/Fortran mex files for my method.

Suggested Citation

  • Andrew Binning, 2013. "Solving second and third-order approximations to DSGE models: A recursive Sylvester equation solution," Working Paper 2013/18, Norges Bank.
  • Handle: RePEc:bno:worpap:2013_18
    as

    Download full text from publisher

    File URL: https://www.norges-bank.no/en/news-events/news-publications/Papers/Working-Papers/2013/WP-201318/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. 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.
    2. Gali­, Jordi & Monacelli, Tommaso, 2008. "Optimal monetary and fiscal policy in a currency union," Journal of International Economics, Elsevier, vol. 76(1), pages 116-132, September.
    3. OndŘej KamenÍk, 2005. "Solving SDGE Models: A New Algorithm for the Sylvester Equation," Computational Economics, Springer;Society for Computational Economics, vol. 25(1), pages 167-187, February.
    4. 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.
    5. RUGE-MURCIA, Francisco J., 2010. "Estimating Nonlinear DSGE Models by the Simulated Method of Moments," Cahiers de recherche 19-2010, Centre interuniversitaire de recherche en économie quantitative, CIREQ.
    6. Andrew Binning, 2013. "Third-order approximation of dynamic models without the use of tensors," Working Paper 2013/13, Norges Bank.
    7. Martin Andreasen, 2012. "On the Effects of Rare Disasters and Uncertainty Shocks for Risk Premia in Non-Linear DSGE Models," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 15(3), pages 295-316, July.
    8. Gomme, Paul & Klein, Paul, 2011. "Second-order approximation of dynamic models without the use of tensors," Journal of Economic Dynamics and Control, Elsevier, vol. 35(4), pages 604-615, April.
    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. 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).
    2. Andreasen, Martin Møller & Caggiano, Giovanni & Castelnuovo, Efrem & Pellegrino, Giovanni, 2021. "Why does risk matter more in recessions than in expansions?," Bank of Finland Research Discussion Papers 13/2021, Bank of Finland.
    3. Junior Maih, 2014. "Efficient Perturbation Methods for Solving Regime-Switching DSGE Models," Working Papers No 10/2014, Centre for Applied Macro- and Petroleum economics (CAMP), BI Norwegian Business School.
    4. Levintal, Oren, 2017. "Fifth-order perturbation solution to DSGE models," Journal of Economic Dynamics and Control, Elsevier, vol. 80(C), pages 1-16.
    5. Martin M. Andreasen & Anders Kronborg, 2017. "The Extended Perturbation Method: New Insights on the New Keynesian Model," CREATES Research Papers 2017-14, Department of Economics and Business Economics, Aarhus University.
    6. repec:zbw:bofrdp:2021_013 is not listed on IDEAS
    7. Martin M. Andreasen, 2019. "Explaining Bond Return Predictability in an Estimated New Keynesian Model," CREATES Research Papers 2019-11, Department of Economics and Business Economics, Aarhus University.
    8. Martin M. Andreasen & Giovanni Caggiano & Efrem Castelnuovo & Giovanni Pellegrino, 2021. "Why Does Risk Matter More in Recessions than in Expansions?," "Marco Fanno" Working Papers 0275, Dipartimento di Scienze Economiche "Marco Fanno".
    9. Martin M. Andreasen & Kasper Jørgensen, 2016. "Explaining Asset Prices with Low Risk Aversion and Low Intertemporal Substitution," CREATES Research Papers 2016-16, Department of Economics and Business Economics, Aarhus University.

    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. 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.
    2. Lan, Hong & Meyer-Gohde, Alexander, 2012. "Existence and Uniqueness of Perturbation Solutions in DSGE Models," Dynare Working Papers 14, CEPREMAP.
    3. Andrew Binning, 2013. "Third-order approximation of dynamic models without the use of tensors," Working Paper 2013/13, Norges Bank.
    4. Dennis, Richard, 2022. "Computing time-consistent equilibria: A perturbation approach," Journal of Economic Dynamics and Control, Elsevier, vol. 137(C).
    5. Junior Maih, 2014. "Efficient Perturbation Methods for Solving Regime-Switching DSGE Models," Working Papers No 10/2014, Centre for Applied Macro- and Petroleum economics (CAMP), BI Norwegian Business School.
    6. Levintal, Oren, 2017. "Fifth-order perturbation solution to DSGE models," Journal of Economic Dynamics and Control, Elsevier, vol. 80(C), pages 1-16.
    7. Heiberger, Christopher & Maußner, Alfred, 2020. "Perturbation solution and welfare costs of business cycles in DSGE models," Journal of Economic Dynamics and Control, Elsevier, vol. 113(C).
    8. Mutschler, Willi, 2015. "Identification of DSGE models—The effect of higher-order approximation and pruning," Journal of Economic Dynamics and Control, Elsevier, vol. 56(C), pages 34-54.
    9. Lan, Hong & Meyer-Gohde, Alexander, 2014. "Solvability of perturbation solutions in DSGE models," Journal of Economic Dynamics and Control, Elsevier, vol. 45(C), pages 366-388.
    10. 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).
    11. Gomme, Paul & Klein, Paul, 2011. "Second-order approximation of dynamic models without the use of tensors," Journal of Economic Dynamics and Control, Elsevier, vol. 35(4), pages 604-615, April.
    12. Andrew Foerster & Juan F. Rubio‐Ramírez & Daniel F. Waggoner & Tao Zha, 2016. "Perturbation methods for Markov‐switching dynamic stochastic general equilibrium models," Quantitative Economics, Econometric Society, vol. 7(2), pages 637-669, July.
    13. Ajevskis Viktors, 2017. "Semi-global solutions to DSGE models: perturbation around a deterministic path," Studies in Nonlinear Dynamics & Econometrics, De Gruyter, vol. 21(2), pages 1-28, April.
    14. Hong Lan & Alexander Meyer-Gohde, 2013. "Pruning in Perturbation DSGE Models - Guidance from Nonlinear Moving Average Approximations," SFB 649 Discussion Papers SFB649DP2013-024, Sonderforschungsbereich 649, Humboldt University, Berlin, Germany.
    15. Viktors Ajevskis, 2019. "Generalised Impulse Response Function as a Perturbation of a Global Solution to DSGE Models," Working Papers 2019/04, Latvijas Banka.
    16. Petteri Juvonen, 2023. "Wage‐setting coordination in a small open economy," Scandinavian Journal of Economics, Wiley Blackwell, vol. 125(1), pages 253-286, January.
    17. Ajevskis, Viktors, 2019. "Nonlocal Solutions To Dynamic Equilibrium Models: The Approximate Stable Manifolds Approach," Macroeconomic Dynamics, Cambridge University Press, vol. 23(6), pages 2544-2571, September.
    18. Ajevskis, Viktors, 2014. "Global Solutions to DSGE Models as a Perturbation of a Deterministic Path," MPRA Paper 55145, University Library of Munich, Germany.
    19. Andrew Blake, 2012. "DSGE Modeling on an iPhone/iPad Using SpaceTime," Computational Economics, Springer;Society for Computational Economics, vol. 40(4), pages 313-332, December.
    20. Hall, Jamie & Pitt, Michael K. & Kohn, Robert, 2014. "Bayesian inference for nonlinear structural time series models," Journal of Econometrics, Elsevier, vol. 179(2), pages 99-111.

    More about this item

    Keywords

    Solving dynamic models; Second-order approximation; Third-order appeoximation; Second-order matrix chain rule; Third-order matrix chain rule; Generalised Sylvester equations;
    All these keywords.

    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:bno:worpap:2013_18. 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/nbgovno.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.