Extracting ghu, ghx

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.

Extracting ghu, ghx

Postby mjohnston » Tue Dec 06, 2011 8:08 pm

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?
Attachments
simple_PLT.mod
(756 Bytes) Downloaded 89 times
mjohnston
 
Posts: 1
Joined: Mon Oct 20, 2008 12:59 pm

Re: Extracting ghu, ghx

Postby SébastienVillemot » Wed Dec 21, 2011 4:29 pm

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,
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 13 guests