Again help regarding 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.

Again help regarding IRFs

Postby syedhussain84 » Tue Apr 26, 2011 6:33 am

I hope someone will help me out.

Suppose I am working with a simple RBC model (example 1 in the dynare examples folder). Suppose I look at the IRF of capital w.r.t a technology shock. My understanding is that the graph that we get is the mean of various impulse response computed by dynare. My question is, how can I access those various impulse responses, in particular I want to get variance of each point in the impulse response.

Please help!

Thank you
syedhussain84
 
Posts: 2
Joined: Sat Apr 23, 2011 11:16 pm

Re: Again help regarding IRFs

Postby SébastienVillemot » Mon May 23, 2011 3:08 pm

Actually the impulse response function is the response of the model to one standard deviation shock at first period, and no shock in the future: so the graph you get is not a mean of various draws, it is the path corresponding to only one draw.

You can retrieve this path in the oo_.irfs structure.

My guess is that you want the mean of IRFs taking into account the possibility of shokcs in future periods, and averaging over them. Note that for first order approximation, this is the same than what Dynare does, because certainty equivalence holds. For higher order, this can indeed be different, and you have to compute it by hand (you can use the "simult_" function to help you compute simulations; you may also want to use pruning—see the corresponding option—in order to avoid explosive trajectories).
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: Google [Bot] and 6 guests