impulse response to a volatility shock

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.

impulse response to a volatility shock

Postby ghazika1 » Sun Dec 06, 2015 5:11 am

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
Attachments
test1.mod
(729 Bytes) Downloaded 348 times
ghazika1
 
Posts: 9
Joined: Thu Jul 10, 2014 3:52 am

Re: impulse response to a volatility shock

Postby jpfeifer » Sun Dec 06, 2015 9:54 am

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).
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: impulse response to a volatility shock

Postby ghazika1 » Mon Dec 07, 2015 5:46 pm

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
Attachments
SVtest.pdf
(99.93 KiB) Downloaded 151 times
test2.mod
(752 Bytes) Downloaded 138 times
ghazika1
 
Posts: 9
Joined: Thu Jul 10, 2014 3:52 am

Re: impulse response to a volatility shock

Postby jpfeifer » Mon Dec 07, 2015 6:32 pm

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
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: impulse response to a volatility shock

Postby ghazika1 » Mon Dec 07, 2015 7:32 pm

Thanks a lot jpfeifer, I appreciate it.

Best,
Ghazika1
ghazika1
 
Posts: 9
Joined: Thu Jul 10, 2014 3:52 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 13 guests