Strange EGARCH-M forecast bug.

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

CharlieEVIEWS
Posts: 202
Joined: Tue Jul 17, 2012 9:47 am

Strange EGARCH-M forecast bug.

Postby CharlieEVIEWS » Mon May 13, 2013 12:03 pm

Hi guys,

Using EViews 8 May 6 build (although I suspect that nothing recent has changed the equation which i'm trying to estimate), I'm running forecasts of EGARCH-M models. I've run this successfully to estimate about 80 out of sample forecasts or so, so far, but one series gives me a strange 'unable to compute due to missing data' error. However, there is no missing data, and this is only a uni-variate forecasting exercise.

Attached is the work-file with the series with an equation with the egarch(1,1,1) with log variance in the mean equation. Forecasting from this equation seems fine throughout the whole sample, but if you change the start date to just run out of sample forecasts (in fact, anything from about 2007:q1?) on-wards, it gives the error, which seems strange....

Any suggestions as to why this is happening would be great (maybe it isnt a bug, and I'm just using a very naive model specification, which I am, but I am still confused as to why it gives me this specific error message).

Best wishes, and thanks again for your time,

Charlie
Attachments
egarch bug.wf1
(14.99 KiB) Downloaded 441 times

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Strange EGARCH-M forecast bug.

Postby EViews Glenn » Wed May 15, 2013 5:08 pm

I'm looking into this one.

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Strange EGARCH-M forecast bug.

Postby EViews Glenn » Mon May 20, 2013 11:46 am

I think the issue is that that the equation estimates are not very good.

My guess is that you are using a convergence tolerance that is set to a high value (possibly a default of 1e-3) so that we get convergence reported when it really shouldn't. So what's happening is that you are getting NAs in the GARCH series which feed into the forecast for forecasts that start at the late date.

If you set your convergence tolerance to, say 1e-8, and reestimate you'll be able to perform a forecast, even starting at the latter periods. I caution you though, that examination of the gradients suggests that this model really hasn't converged in the usual sense. The model is stalling out the final parameter values because the GARCH series is generating NAs in later periods.

The bottom line, I think, is that the EGARCH-M spec just doesn't work well for these data.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 2 guests