Page 1 of 1

Extracting ghu, ghx

PostPosted: Tue Dec 06, 2011 8:08 pm
by mjohnston
I have a simple New Keynesian model with a price level targeting rule (mod file attached). I have code which solves the model through Dynare, and then loads the results file so that I can use the oo_.dr.ghu and oo_.dr.ghx matrices to perform a simulation.

With the policy rule written as it currently is in the file,

nomR = rho_r*nomR(-1) + (1-rho_r)*gam*P(+4) + v ;

things are fine. I can extract the ghu and ghx matrices as described in the documentation. Suppose I change the rule so that it responds to expected inflation 8 periods out instead of 4:

nomR = rho_r*nomR(-1) + (1-rho_r)*gam*P(+8) + v ;

In this case the ghu and ghx matrices are gone from the results file. Defining auxiliary variables manually does not resolve things either.

Any clues to this mystery? How can I get the ghu and ghx matrices for the latter case?

Re: Extracting ghu, ghx

PostPosted: Wed Dec 21, 2011 4:29 pm
by SébastienVillemot
I cannot replicate your problem because you did not post "simple_parameters.mod".

By the way, are you using the latest version of Dynare (4.2.4)?

Best,