Bug in imcforecast.m?
Posted: Mon Aug 03, 2009 3:48 am
Hi,
I am running the snapshot version of Dynare version 4.
I am trying to do conditional forecasting, as described here: http://www.dynare.org/DynareWiki/ConditionalForecast
I obtained the following error message:
Replacing line 40 in imcforecast.m with the following seems to solve the problem:
Is this a bug? Is my "mechanical solution" correct?
Thanks,
Riccardo
I am running the snapshot version of Dynare version 4.
I am trying to do conditional forecasting, as described here: http://www.dynare.org/DynareWiki/ConditionalForecast
I obtained the following error message:
- Code: Select all
??? Input argument "missing_value" is undefined.
Error in ==> DsgeSmoother at 259
if missing_value
Error in ==> imcforecast at 40
[atT,innov,measurement_error,filtered_state_vector,ys,trend_coeff] =
DsgeSmoother(xparam,gend,data);
Replacing line 40 in imcforecast.m with the following seems to solve the problem:
- Code: Select all
[atT,innov,measurement_error,filtered_state_vector,ys,trend_coeff] =
DsgeSmoother(xparam,gend,data,[],0);
Is this a bug? Is my "mechanical solution" correct?
Thanks,
Riccardo