Page 1 of 1

Problem with forecast command

PostPosted: Sat Oct 29, 2016 2:37 pm
by perfectseed07
Please, i really help to forecast some variables. I followed the instructions of Dynare guide on the syntax of the forecast command but i got the following error message:

Undefined function or variable "ex".
Error in dyn_forecast (line 116)
[yf,int_width] = simultxdet(y0,ex,oo_.exo_det_simul,...
Error in myfiscal (line 292)
info = dyn_forecast(var_list_,'simul');
Error in dynare (line 180)
evalin('base',fname) ;

Re: Problem with forecast command

PostPosted: Sat Oct 29, 2016 4:52 pm
by jpfeifer
That is a bug. A workaround is specifying
Code: Select all
forecast(periods=5);

Re: Problem with forecast command

PostPosted: Sun Oct 30, 2016 2:19 pm
by perfectseed07
jpfeifer wrote:That is a bug. A workaround is specifying
Code: Select all
forecast(periods=5);


I tried the given workaround, but it didn't work. I 'm very confused.

Re: Problem with forecast command

PostPosted: Sun Oct 30, 2016 3:48 pm
by jpfeifer
What happens when you set periods to 10?