Page 1 of 1

question on the news shock dynare example

PostPosted: Tue Dec 06, 2016 9:25 am
by zhanshuo
Hi, everyone,
I am studying the dynare example :RBC_news_shock_model.mod.
It tells how to simulate an unrealized shock in deterministic circumstance, using the command:"y2 = simult_(temps,oo_.dr,shock_matrix,1);"
My quesion is , how to simulate an unrealized shock in stochastic circumstance, using "stoch_simul".
It seems not possible to directly make stochastic IRF in the future, in the dynare circumstance.
So how should I work that out?
Thanks

Re: question on the news shock dynare example

PostPosted: Tue Dec 06, 2016 9:40 am
by jpfeifer
The
Code: Select all
simult_

is the function underlying stochastic simulations, not deterministic ones. You can also see this at
https://github.com/JohannesPfeifer/DSGE_mod/blob/master/RBC_news_shock_model/RBC_news_shock_model.mod
where this command follows the
Code: Select all
stoch_simul(order=1,irf=40);

Re: question on the news shock dynare example

PostPosted: Wed Dec 07, 2016 7:26 am
by zhanshuo
OH ,THANKS A LOT, my dear professor!!!