Forecasting previous 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

subbuteo3
Posts: 3
Joined: Wed Mar 02, 2011 6:51 am

Forecasting previous values

Postby subbuteo3 » Wed Jun 29, 2011 8:38 am

Hello,

Running a really basic garch where my dependent is only regressed on time
y= c + @trend
and my variance is a function of of the autoregressive term and time as well
variance=c+arch+@trend

my sample is set from 1973-1997 but I only have data for y from 1984-1997. I want to "forecast" (backcast) variance and the fitted y to 1973 using my arch model that is computed using the 1984-1997 data.

When I press forecast I cant seem to get fitted values for y or get it to display these values in the graphical output (it will only show 1984-1997). However, it will compute fitted values for the variance back to 1973. What I really want is a graphical representation of y and including the confidence interval brackets representing the changing variance.

How do I get it to forecast these previous values?

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

Re: Forecasting previous values

Postby EViews Gareth » Wed Jun 29, 2011 8:40 am

Because in GARCH the Yt is dependent on Yt-1, if there is no value for Y0, you will not be able to forecast Y1 etc... Thus you'll get NAs.

subbuteo3
Posts: 3
Joined: Wed Mar 02, 2011 6:51 am

Re: Forecasting previous values

Postby subbuteo3 » Wed Jun 29, 2011 8:52 am

But my equation for y does not contain any autoregressive terms. My equation for variance does contain lagged values of the squared error term (which obviously does not exist before 1984) and yet Eviews produces fitted values for variance before 1984 but not for y.

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

Re: Forecasting previous values

Postby EViews Gareth » Wed Jun 29, 2011 9:11 am

Ah, yes, I see what you mean.

You can always calculate it manually:

Code: Select all

series yf = c(1)+c(2)*@trend

subbuteo3
Posts: 3
Joined: Wed Mar 02, 2011 6:51 am

Re: Forecasting previous values

Postby subbuteo3 » Thu Jun 30, 2011 1:31 am

Thanks.

I suppose I can make the confidence intervals using my variance forcast and plot them with the fitted ys to make the nice forecast graph.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests