EconPapers    
Economics at your fingertips  
 

Matlab Code for Second Order Accurate Solution of Discrete Time Dynamic Equilibrium Models

Christopher Sims ()

QM&RBC Codes from Quantitative Macroeconomics & Real Business Cycles

Abstract: From the first and second derivatives of a set of equations that may include expectational Euler equations, this algorithm produces a second-order accurate expansion of the mapping from "states" to "controls" and of the dynamics of the states. The states do not need to be specified explicitly, but the software allows the user to specify any state vector that seems natural, reverting to its default method if the user's choice does not work. The gstate.m program in the gensys2 folder analyzes the G1 and impact matrices that come from gensys (or the corresponding F1, F2 matrices from gensys2) to facilitate translation into a possibly more familiar "state-control" form. The order2setup.m program uses the Matlab symbolic package to calculate first and second derivatives analytically from model equations specified as matlab-notation equations.

Language: Matlab
Date: 2000-07-29, Revised 2003-06-26
References: Add references at CitEc
Citations:

Downloads: (external link)
https://dge.repec.org/codes/sims/gensys2 program code (application/x-matlab)
none

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:dge:qmrbcd:12

Access Statistics for this software item

More software in QM&RBC Codes from Quantitative Macroeconomics & Real Business Cycles
Bibliographic data for series maintained by Christian Zimmermann ().

 
Page updated 2025-03-31
Handle: RePEc:dge:qmrbcd:12