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.
Forecasting - missing values
Moderators: EViews Gareth, EViews Moderator
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Forecasting - missing values
Are you doing a dynamic, or a static forecast?
-
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.
But I'm not sure why they are different?
Thanks.
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: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Forecasting - missing values
Nice catch.
Who is online
Users browsing this forum: No registered users and 0 guests
