Mismatch manual and code? stoch_simul w/ initial conditions
Posted: Sat Jul 16, 2011 9:55 pm
Hey all -
I was looking at the stochastic simulation of a model with starting values different from the steady state. To that end, I have used the initval-block and the periods option in the stoch_simul command and played around with the drop option to make sure my initial values don't drop because of that. However, Dynare starts always from the steady state, unlike what is stated on http://www.dynare.org/manual/index_23.html#Stochastic-solution-and-simulation and on http://www.dynare.org/manual/index_17.html#Initial-and-terminal-conditions.
I therefore opened stoch_simul.m and went to line 126 where simult is called -- as "simult(oo_.dr.ys,oo_.dr);" This triggers in line 57 simult_.m, which in principle allows for arbitrary starting values, but since simult.m and stoch_simul apparently do not, simult_ has to work with the steady state values oo_.dr.ys. [I am using Dynare 4.2.1.]
Any thoughts? I know how to use the decision rule to simulate from my starting values, but if it's not me but Dynare, it would be nice to update either the code or the manual so that others don't waste their time, too.
Best,
Thorsten
I was looking at the stochastic simulation of a model with starting values different from the steady state. To that end, I have used the initval-block and the periods option in the stoch_simul command and played around with the drop option to make sure my initial values don't drop because of that. However, Dynare starts always from the steady state, unlike what is stated on http://www.dynare.org/manual/index_23.html#Stochastic-solution-and-simulation and on http://www.dynare.org/manual/index_17.html#Initial-and-terminal-conditions.
I therefore opened stoch_simul.m and went to line 126 where simult is called -- as "simult(oo_.dr.ys,oo_.dr);" This triggers in line 57 simult_.m, which in principle allows for arbitrary starting values, but since simult.m and stoch_simul apparently do not, simult_ has to work with the steady state values oo_.dr.ys. [I am using Dynare 4.2.1.]
Any thoughts? I know how to use the decision rule to simulate from my starting values, but if it's not me but Dynare, it would be nice to update either the code or the manual so that others don't waste their time, too.
Best,
Thorsten