Graphs of IRFs

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.

Graphs of IRFs

Postby openmacro » Fri Jun 25, 2010 2:33 am

Hi all,

After undertaking a Bayesian estimation of my model and enabling the Bayesian_IRF command in the codes, Dynare plots the impulse responses of the variables (that I choose in the codes) to the shocks.

I would however, like to make my own graphs of these impulse responses by choosing only some of the shocks for some of the variables. I also would prefer to format these plots myself. Please advise on how I can go about doing that.

Thanks in advance.
openmacro
 
Posts: 11
Joined: Sun Jun 21, 2009 5:12 am

Re: Graphs of IRFs

Postby AssiaEzzeroug » Sat Jul 10, 2010 2:56 pm

Hi,

the bayesian irfs are stored in "oo_.PosteriorIRF.dsge". If you type this instruction in the command window, you'll see that this structure consists of several fields:
Mean, Median, Var, Distribution, HPDinf, HPDsup.
Let's say you wanna plot the Mean for variable "Y" and shock "epsilon_a", then the instruction would be for instance:
plot(oo_.PosteriorIRF.dsge.Mean.Y_epsilon_a).

Hope this helps
AssiaEzzeroug
 
Posts: 83
Joined: Tue Nov 24, 2009 3:48 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests