volatility shocks - 3rd order - replication (or bug)

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.

volatility shocks - 3rd order - replication (or bug)

Postby mfer » Sun Nov 06, 2011 11:38 pm

Did anyone try to replicate the paper by Fernandez-Villaverde (at al): 'Risk Matters: The Real Effects of Volatility Shocks', recently published in AER? (I am refering to the part related to the results of volatility shocks within DSGE model)
I have tried to replicate the working paper version as well as the new (published) version. But without success.

I attach a simplified .*mod file (without x and tb shocks). Any comments, suggestions are welcome!

PS: If you don't use the 3rd order, before trying the code attached, check the topic viewtopic.php?f=1&t=3170
Attachments
aer2011.pdf
(1.14 MiB) Downloaded 234 times
argentina_posted.mod
(4.79 KiB) Downloaded 233 times
mfer
 
Posts: 7
Joined: Wed Jul 15, 2009 12:19 pm

Re: volatility shocks - 3rd order - replication (or bug)

Postby jpfeifer » Mon Nov 07, 2011 5:33 pm

Yes, I have replicated the model and their IRFs.
------------
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: volatility shocks - 3rd order - replication (or bug)

Postby mfer » Mon Nov 07, 2011 5:40 pm

With Dynare? Do you maybe see what is wrong with the code above and would you be willing to share your knowledge?
mfer
 
Posts: 7
Joined: Wed Jul 15, 2009 12:19 pm

Re: volatility shocks - 3rd order - replication (or bug)

Postby jpfeifer » Thu Nov 10, 2011 8:18 am

At that time, I could not use Dynare directly due to the need for pruning which was not implemented for order>2. I rather used the Dynare code and modified it to my needs. Note also that the IRFs start at the mean of the ergodic distribution in the absence of shocks (fixpoint without shocks) and not at the deterministic steady state.
------------
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: volatility shocks - 3rd order - replication (or bug)

Postby jpfeifer » Tue May 06, 2014 3:29 pm

------------
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: volatility shocks - 3rd order - replication (or bug)

Postby farukakbal » Tue Dec 06, 2016 9:31 am

Hi I am new at Dynare. How can i model equations for shocks of 3rd order, i.e., there should be volatilty on the shock magnitude.
Lets assume eps_m is my shock variable i believe i need to write something like
eps_m = k. epms_m(-1) + eps1_m;
eps1_m = l*eps1_m(-1) + eps2_m;
and there will be a variance of eps2_m.
But i couldnt get the equation structure to write, with this approach eps_m and eps1_m are just variables with steady state. I need them to have same std. dev. as well.
farukakbal
 
Posts: 8
Joined: Sun Dec 04, 2016 5:25 pm

Re: volatility shocks - 3rd order - replication (or bug)

Postby jpfeifer » Tue Dec 06, 2016 9:43 am

------------
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


Return to Dynare help

Who is online

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