Page 1 of 1

where does dynare store simulated series?

PostPosted: Wed Feb 26, 2014 2:34 pm
by htxm1586
I am using Dynare to get second order solution. And I'm asking Dynare to simulate the model 100 times by specifying

stoch_simul(order=2, irf=60, nograph, replic = 100);

I would like to reach the simulated series, which I think are supposed to be stored in "oo_.endo_simul". However, after running Dynare, the matrix "oo_.endo_simul" is empty. Could someone tell me why this is the case?

Thank you very much!!

Re: where does dynare store simulated series?

PostPosted: Wed Feb 26, 2014 2:48 pm
by jpfeifer
You are missing the periods-option that tells Dynare to do simulations in the first place. Moreover, you might need to specify the pruning option to prevent explosive simulations.

Re: where does dynare store simulated series?

PostPosted: Wed Feb 26, 2014 3:16 pm
by htxm1586
Hi Jpfeifer,

Thank you very much for your quick response! I realized that I did not phrase my question very well the first time. The "simulation" I wanted was not the stochastic simulation, but the time paths to calculate IRFs. Since in higher order approximation, current state and future shocks matter the IRFs, I'd like to obtain the time paths to create a band of IRFs.

Could you let me know where these series are stored?




jpfeifer wrote:You are missing the periods-option that tells Dynare to do simulations in the first place. Moreover, you might need to specify the pruning option to prevent explosive simulations.

Re: where does dynare store simulated series?

PostPosted: Wed Feb 26, 2014 3:34 pm
by jpfeifer
They are not stored. A dirty hack can be found at http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=5065

Re: where does dynare store simulated series?

PostPosted: Wed Feb 26, 2014 4:46 pm
by htxm1586
Thank you!