Two practical algorithms for solving rational expectations models
AbstractThis paper describes the E-Newton and E-QNewton algorithms for solving rational expectations (RE) models. Both algorithms treat a model's RE terms as exogenous variables whose values are iteratively updated until they (hopefully) satisfy the RE requirement. In E-Newton, the updates are based on Newton's method; E-QNewton uses an efficient form of Broyden's quasi-Newton method. The paper shows that the algorithms are reliable, fast enough for practical use on a mid-range PC, and simple enough that their implementation does not require highly specialized software. The evaluation of the algorithms is based on experiments with three well-known macro models--the Smets-Wouters (SW) model, EDO, and FRB/US--using code written in EViews, a general-purpose, easy-to-use software package. The models are either linear (SW and EDO) or mildly nonlinear (FRB/US). A test of the robustness of the algorithms in the presence of substantial nonlinearity is based on modified versions of each model that include a smoothed form of the constraint that the short-term rate of interest cannot fall below zero. In two single-simulation experiments with the standard and modified versions of the models, E-QNewton is found to be faster than E-Newton, except for solutions of small-to-medium sized linear models. In a multi-simulation experiment using the standard versions of the models, E-Newton dominates E-QNewton.
Download InfoIf you experience problems downloading a file, check if you have the proper application to view it first. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.
Bibliographic InfoPaper provided by Board of Governors of the Federal Reserve System (U.S.) in its series Finance and Economics Discussion Series with number 2011-44.
Date of creation: 2011
Date of revision:
This paper has been announced in the following NEP Reports:
- NEP-ALL-2011-11-21 (All new papers)
- NEP-CBA-2011-11-21 (Central Banking)
- NEP-CMP-2011-11-21 (Computational Economics)
Please report citation or reference errors to , or , if you are the registered author of the cited work, log in to your RePEc Author Service profile, click on "citations" and make appropriate adjustments.:
- Anderson, Gary & Moore, George, 1985. "A linear algebraic procedure for solving linear perfect foresight models," Economics Letters, Elsevier, vol. 17(3), pages 247-252.
- Fisher, P. G. & Hallett, A. J. Hughes, 1988. "Efficient solution techniques for linear and non-linear rational expectations models," Journal of Economic Dynamics and Control, Elsevier, vol. 12(4), pages 635-657, November.
- 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.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Kris Vajs).
If references are entirely missing, you can add them using this form.