Page 1 of 1

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

PostPosted: Sun Nov 06, 2011 11:38 pm
by mfer
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

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

PostPosted: Mon Nov 07, 2011 5:33 pm
by jpfeifer
Yes, I have replicated the model and their IRFs.

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

PostPosted: Mon Nov 07, 2011 5:40 pm
by mfer
With Dynare? Do you maybe see what is wrong with the code above and would you be willing to share your knowledge?

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

PostPosted: Thu Nov 10, 2011 8:18 am
by jpfeifer
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.

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

PostPosted: Tue May 06, 2014 3:29 pm
by jpfeifer

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

PostPosted: Tue Dec 06, 2016 9:31 am
by farukakbal
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.

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

PostPosted: Tue Dec 06, 2016 9:43 am
by jpfeifer