Page 1 of 1

impulse response to a volatility shock

PostPosted: Sun Dec 06, 2015 5:11 am
by ghazika1
Hi,

I have added a volatility shock to the simple RBC model (attached), and I wanted to see the impulse response of a shock to volatility. Could someone please let me know why the responses look so wiggly?

Thank you,
Ghazika1

Re: impulse response to a volatility shock

PostPosted: Sun Dec 06, 2015 9:54 am
by jpfeifer
There are several issues here. First of all, you need to enable pruning. Second, volatility shocks require order=3. Third, this type of generalized IRF requires many replications (replic option in the thousands).

Re: impulse response to a volatility shock

PostPosted: Mon Dec 07, 2015 5:46 pm
by ghazika1
Thank you very much jpfeifer. I used third order and pruning, and also used large replic numbers (.mod file is attached), and attached the results in a PDF for replic options: none, 2,000, 5,000, 20,000. The responses to k and c become smoother, but the response to z (technology) still remains fairly wiggly (also the initial response to c is a bit counterintuitive). I had worked with the codes that Andreasen had put in his website (from Andreasen et.al ReStud paper with pruning and generalized IRFs) and I remember that responses to volatility shocks were fairly smooth. Can you tell me please if there is anything else that I should take into account?

Thank you,
Ghazika1

Re: impulse response to a volatility shock

PostPosted: Mon Dec 07, 2015 6:32 pm
by jpfeifer
Unfortunately, this is a common issue. At the current stage, you can either use the Andreasen et al. codes or use IRFs as deviations from the ergodic mean in the absence of shocks (EMAS) as in Fernandez-Villaverde et al (2011), Born/Pfeifer (2014).
See the discussion in http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=5348

Re: impulse response to a volatility shock

PostPosted: Mon Dec 07, 2015 7:32 pm
by ghazika1
Thanks a lot jpfeifer, I appreciate it.

Best,
Ghazika1