question on the news shock dynare example

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.

question on the news shock dynare example

Postby zhanshuo » Tue Dec 06, 2016 9:25 am

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
zhanshuo
 
Posts: 44
Joined: Fri Nov 25, 2016 7:59 am

Re: question on the news shock dynare example

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

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);
------------
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: question on the news shock dynare example

Postby zhanshuo » Wed Dec 07, 2016 7:26 am

OH ,THANKS A LOT, my dear professor!!!
zhanshuo
 
Posts: 44
Joined: Fri Nov 25, 2016 7:59 am


Return to Dynare help

Who is online

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