Forecasting - missing values

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

jag_211085
Posts: 9
Joined: Thu Oct 14, 2010 7:56 pm

Forecasting - missing values

Hi,
I can get n+1 forecast, but not n+2 or n+3.
I decribe the problem below.

I am trying to forecast with this equation using the Forecast button in the Equation window:

equation reg.ls log(hourly_fees) c @trend @trend^2 @quarter(2) log(hourly_fees(-1))

My sample in the workfile is 2001Q3 to 2010Q4
My sample (adjusted) in my equation is 2001Q4 2010Q1.

That is, I have actuals till 2010Q1 and I want to forecast for 2010Q2-2010Q4

I click Forecast, enter Forecast sample as 2010Q2 2010Q4 and Click OK but only get a value for 2010Q2 and not for 2010Q3 or 2010Q4.

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

Forecasting - missing values

Are you doing a dynamic, or a static forecast?
Follow us on Twitter @IHSEViews

jag_211085
Posts: 9
Joined: Thu Oct 14, 2010 7:56 pm

Re: Forecasting - missing values

Dynamic, I think I figured out the answer; using @seas(2) instead of @quarter(2) works.
But I'm not sure why they are different?

Thanks.

trubador
Did you use forum search?
Posts: 1518
Joined: Thu Nov 20, 2008 12:04 pm

Re: Forecasting - missing values

@seas(2) generates a dummy variable that takes the value of 1 in second quarters and 0 elsewhere. However, @quarter generates a series that shows the quarter of the year in which each observation begins. @quarter(2) is the second lead of this series. The equivalent expressions are @seas(2) and (@quarter=2).

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

Forecasting - missing values

Nice catch.
Follow us on Twitter @IHSEViews

Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 20 guests