Problem with forecast command

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Problem with forecast command

Postby perfectseed07 » Sat Oct 29, 2016 2:37 pm

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) ;
Attachments
myfiscal.mod
This is the mod.file
(2.65 KiB) Downloaded 98 times
perfectseed07
 
Posts: 8
Joined: Wed Sep 30, 2015 9:48 am

Re: Problem with forecast command

Postby jpfeifer » Sat Oct 29, 2016 4:52 pm

That is a bug. A workaround is specifying
Code: Select all
forecast(periods=5);
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Problem with forecast command

Postby perfectseed07 » Sun Oct 30, 2016 2:19 pm

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.
perfectseed07
 
Posts: 8
Joined: Wed Sep 30, 2015 9:48 am

Re: Problem with forecast command

Postby jpfeifer » Sun Oct 30, 2016 3:48 pm

What happens when you set periods to 10?
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 7 guests