Matrices of linear approximation

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Matrices of linear approximation

Postby ctborao » Thu May 30, 2013 3:42 pm

Hello,
A linear approximation of a DSGE model generally has the following form:

E_t[A*x(t+1) + B*x(t) + C*x(t-1) + D*u(t)] = 0,

where x(t) and u(t) are respectively the endogenous and exogenous variables in the 'Dynare' sense. Presumably, Dynare obtains the matrices A, B, C and D in the process of solving the linear decision rules (ghx, ghu). Could you please indicate where exactly Dynare computes these matrices, so that I can retrieve them? Also, does Dynare save these matrices somewhere?
Thanks a lot in advance,
Carlos.
ctborao
 
Posts: 3
Joined: Tue Jan 29, 2008 4:34 pm

Re: Matrices of linear approximation

Postby jpfeifer » Mon Jun 17, 2013 1:30 pm

You can find the algorithm Dynare uses here
Code: Select all
http://www.dynare.org/wp-repo/dynarewp002.pdf

The corresponding function where those computations are performed is stochastic_solvers.m

Maybe you can find there what you need. Dynare does not solve any of the intermediate matrices, but only the solution.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests