can I specify stochastic shocks in forecast
Posted: Mon Oct 14, 2013 3:54 pm
Dear all,
I'd like to simulate a transition path with mixing deterministic and stochastic shocks. And according to the Userguide, I complete it using stoch_simul and forecast. Now I want to feed in the stochastic shocks and examine how different realizations of stochastic shocks can cause a different transition path.
How can I do with Dynare?
What I thought might be related is 1) the approach specified by adamshap - Aug 1, 2006, using simult_ function. but it is used for models with just stochastic shocks. is there any way to extend it to models with mixed shocks?
2) use the conditional_forecast command. specifically, I add a trick variable which is set to equal the stochastic policy shock and specify the path of this trick avriable under the conditional_forecast command. however, the problem is that the transition path produced by Dynare is as if there is no detereministic shock. specifically, when I set the trick variable to be zero for all periods, all endogenous variables become constant at the initial value, despite that I have specified variation in determined shocks in the "shocks" block.
I attached the codes. can any one please take a look and let me know if anything goes wrong. Or it there any other ideas?
Thank you for your time in advance.
Sincerely,
Anita
I'd like to simulate a transition path with mixing deterministic and stochastic shocks. And according to the Userguide, I complete it using stoch_simul and forecast. Now I want to feed in the stochastic shocks and examine how different realizations of stochastic shocks can cause a different transition path.
How can I do with Dynare?
What I thought might be related is 1) the approach specified by adamshap - Aug 1, 2006, using simult_ function. but it is used for models with just stochastic shocks. is there any way to extend it to models with mixed shocks?
2) use the conditional_forecast command. specifically, I add a trick variable which is set to equal the stochastic policy shock and specify the path of this trick avriable under the conditional_forecast command. however, the problem is that the transition path produced by Dynare is as if there is no detereministic shock. specifically, when I set the trick variable to be zero for all periods, all endogenous variables become constant at the initial value, despite that I have specified variation in determined shocks in the "shocks" block.
I attached the codes. can any one please take a look and let me know if anything goes wrong. Or it there any other ideas?
Thank you for your time in advance.
Sincerely,
Anita