Page 1 of 1

Graphs of IRFs

PostPosted: Fri Jun 25, 2010 2:33 am
by openmacro
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.

Re: Graphs of IRFs

PostPosted: Sat Jul 10, 2010 2:56 pm
by AssiaEzzeroug
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