Simulations and initial values with histval
Posted: Tue Mar 18, 2014 5:40 pm
Hi All,
I would like to use different initial values for the state variables of my model from the steady-state that my model ends up, to do this i use:
I want to simulate the model and produce simulated series for the endogenous variables of it (2nd order approximation).
I do this WITH and WITHOUT using the "simul_replic" option (when i use simul_replic i take into account all the simulated series produced by using the function "get_simul_replications" created by J. Pfeifer, see https://sites.google.com/site/pfeiferecon/dynare).
WITHOUT:
WITH
The results differ substantially.
1. Which approach should i use?
Please keep in mind that the initial point of departure plays an important role in my exercise.
2. I think that when i use simul_replic option (see WITH) the effect of the initial values weakens as i increase the number in "simul_replic" option. Is this true?
Best,
P.
I would like to use different initial values for the state variables of my model from the steady-state that my model ends up, to do this i use:
- Code: Select all
histval...end;
I want to simulate the model and produce simulated series for the endogenous variables of it (2nd order approximation).
I do this WITH and WITHOUT using the "simul_replic" option (when i use simul_replic i take into account all the simulated series produced by using the function "get_simul_replications" created by J. Pfeifer, see https://sites.google.com/site/pfeiferecon/dynare).
WITHOUT:
- Code: Select all
stoch_simul(noprint,order=2,pruning,IRF=0,drop=0,periods=200)
WITH
- Code: Select all
stoch_simul(noprint,order=2,pruning,IRF=0,drop=0,periods=200,simul_replic=5000)
The results differ substantially.
1. Which approach should i use?
Please keep in mind that the initial point of departure plays an important role in my exercise.
2. I think that when i use simul_replic option (see WITH) the effect of the initial values weakens as i increase the number in "simul_replic" option. Is this true?
Best,
P.