EconPapers    
Economics at your fingertips  
 

Numerical stability analysis of linear DSGE models: Backward errors, forward errors and condition numbers

Alexander Meyer-Gohde

No 193, IMFS Working Paper Series from Goethe University Frankfurt, Institute for Monetary and Financial Stability (IMFS)

Abstract: This paper develops and implements a backward and forward error analysis of and condition numbers for the numerical stability of the solutions of linear dynamic stochastic general equilibrium (DSGE) models. Comparing seven different solution methods from the literature, I demonstrate an economically significant loss of accuracy specifically in standard, generalized Schur (or QZ) decomposition based solutions methods resulting from large backward errors in solving the associated matrix quadratic problem. This is illustrated in the monetary macro model of Smets and Wouters (2007) and two productionbased asset pricing models, a simple model of external habits with a readily available symbolic solution and the model of Jermann (1998) that lacks such a symbolic solution - QZ-based numerical solutions miss the equity premium by up to several annualized percentage points for parameterizations that either match the chosen calibration targets or are nearby to the parameterization in the literature. While the numerical solution methods from the literature failed to give any indication of these potential errors, easily implementable backward-error metrics and condition numbers are shown to successfully warn of such potential inaccuracies. The analysis is then performed for a database of roughly 100 DSGE models from the literature and a large set of draws from the model of Smets and Wouters (2007). While economically relevant errors do not appear pervasive from these latter applications, accuracies that differ by several orders of magnitude persist.

Keywords: Numerical accuracy; DSGE; Solution methods; Condition number; Backward error; Forward error (search for similar items in EconPapers)
JEL-codes: C61 C63 E17 (search for similar items in EconPapers)
Date: 2023
New Economics Papers: this item is included in nep-dge
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
https://www.econstor.eu/bitstream/10419/279899/1/1870953207.pdf (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:zbw:imfswp:279899

Access Statistics for this paper

More papers in IMFS Working Paper Series from Goethe University Frankfurt, Institute for Monetary and Financial Stability (IMFS) Contact information at EDIRC.
Bibliographic data for series maintained by ZBW - Leibniz Information Centre for Economics ().

 
Page updated 2025-03-22
Handle: RePEc:zbw:imfswp:279899