Page 1 of 1

Matrices of linear approximation

PostPosted: Thu May 30, 2013 3:42 pm
by ctborao
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.

Re: Matrices of linear approximation

PostPosted: Mon Jun 17, 2013 1:30 pm
by jpfeifer
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.