I am trying to do some stochastic simulation and first of all I want to be sure that I understand the process. So, I would like to replicate the smoothed variable using the simult_ command.
Based on [Simulate a model using smoothed shocks] and [Choosing initial values for simult_], I ran the below code:
y0 = [y0; var(1)];
%Update decision rules
[oo_.dr,info,M_,options_] = resol(0,M_,options_,oo_);
The results are close to the smoothed variables but not the same. Some more questions:
- I do not understand what is happening in “updating decision rules”. Actually, it seems they are already updated in my case.
- In the links above there are some references to oo_.SmoothedShocks.Mean, oo_.SmoothedVariables.Median and oo_.SmoothedVariables.Mean, but I have found only oo_.SmoothedShocks and oo_.SmoothedVariables. Is it a problem or just a change in Dynare?
Would you help me, please?
Btw, happy new year!
Files.zip (191.3 KB)