Yes, sure. The task I am trying to do is the following. I have a neo-keynesian model with 1 lag that is calibrated to some set of data that goes until 2013 q3 in a separate step. I want to take 2013q3 as the initial point and see what the model forecasts for the next 40 quarters. I tried using the forecast command, which gave me some odd results, so then I decided to see what conditional_forecast gives me as an unconditional forecast as just a basic check.
Here's the relevant code snippet:
After the model block and the shocks block
- Code: Select all
steady;
options_.order = 1;
options_.jacobian_flag = 1;
options_.nonlin = 1;
stoch_simul(order=1,irf=40,nograph);
initval;
//Setting equal to 2013 q3 data
end;
conditional_forecast_paths;
var R;
periods 1:2;
values -1.01243336295309;
end;
then for the last line I either put
- Code: Select all
conditional_forecast(parameter_set=calibration, controlled_varexo=(eR),periods=40);
or
- Code: Select all
forecast(periods=40);
The values that I get from forecasts.uncond.Mean in conditional_forecasts.mat are quite a bit different from oo_.forecast.mean in Dynare_edo_results.mat , which seems counter intuitive to me. Does anyone have an explanation for that?