Error in forecast command

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

nesheus
Posts: 34
Joined: Tue Oct 26, 2010 11:55 am

Error in forecast command

Postby nesheus » Thu Nov 18, 2010 8:42 am

Hello,
I keep getting "unable to compute due to missing data in forecast f_alum". I try to estimate the equation in 2000Q1-2010Q3 and forecast for the next period 2010Q4-2015Q4 but I keep getting the error, I think because there is no data in this period, but that is the idea of forecasting right?
Please help
thanks


smpl 2000Q1 @2010Q3
equation eqalum.ls d(lalum) c ar(1) ma(1) dum2 dum3 dum4 dum08Q4
smpl @2010Q4 @2015Q4
forecast f_alum

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: Error in forecast command

Postby EViews Gareth » Thu Nov 18, 2010 9:20 am

Do your dummy variables have data for the forecast period?

nesheus
Posts: 34
Joined: Tue Oct 26, 2010 11:55 am

Re: Error in forecast command

Postby nesheus » Thu Nov 18, 2010 9:24 am

I read the data into the workfile (1990Q1 to 2010Q3) then create the dummies. Then before forecasting I expand the workfile by adding extra 20 quarters.

So the data for all variables including dummies end at 2010Q3.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: Error in forecast command

Postby EViews Gareth » Thu Nov 18, 2010 10:23 am

That's the problem then. Y depends upon those dummies. If those dummies are NAs, then Y cannot be calculated.

nesheus
Posts: 34
Joined: Tue Oct 26, 2010 11:55 am

Re: Error in forecast command

Postby nesheus » Thu Nov 18, 2010 10:39 am

thanks, I created the dummis in the new range. It worked.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests