I am trying to mix deterministic and stochastic shocks and use the forecast command, as suggested in the user guide.
I have one question:
To understand exactly what happens, I set the deterministic shock to zero (and order 1 approximation):
% stochatic shock
var eps_gamma = 0.1^2;
% deterministic shock
var eps_em;
periods 1:1;
values 0;
steady;
resid(1);
check;
stoch_simul(dr_algo=0, ar=0, nocorr, order=1, nograph, drop=0);
forecast(periods=130);
Then, the forecast of the variable is the steady-state value of the variable all the time (it seems that's not the case anymore for the 2nd order approximation). I would expect the value of the IRF (since I only have a stochastic shock).
In this case, dynare uses forecst and simult_ (instead of forecast and simultxdet), but I do not see the exact difference between the two sets of codes.
So, my question is: what does the command forecast do? How to interpret the output?
I attach the codes.
Thanks a lot,
Céline