matrices before var representation in dynare v4

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 before var representation in dynare v4

Postby aw299 » Fri Sep 19, 2008 12:11 pm

In order to estimate a medium sized DSGE model under learning, I need to obtain the matrices of coefficients of the linearised forward looking model, i.e:
alpha0*Z(t-1)+alpha1*Z(t)+alpha2*E(t)Z(t+1)+beta0*epi(t)=0.

This question has turned up before but was concerning Version 3. I believe that those matrices exist in dr1.m and are submatrices of jacobia_. However, I am unable to extract the necessary information from the m-file and jacobia does not appear anywhere in the workspace. Thus I am unsure how to obtain jacobia_, once I have run the mod file in Matlab.

I would be extremely grateful for some advice,
Anke
aw299
 

Re: matrices before var representation in dynare v4

Postby ewoudq » Mon May 02, 2011 8:16 am

If you add the command line
Code: Select all
dr.jacobian = jacobia_;

at the end of the dr1.m file, the jacobian should appear in the workspace after you have run dynare.
Ewoud
ewoudq
 
Posts: 4
Joined: Tue Feb 09, 2010 3:22 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 12 guests