GARCH with rolling data

Discussions of ARCH, GARCH, and related models
wendyyuan
Posts: 14
Joined: Wed Jun 17, 2009 6:07 am

GARCH with rolling data

Unread post by wendyyuan »

hi, everyone;
do you any suggestion about how to capture data with rolling window in GARCH model? is it similar with rolling regression?

Thanks for any help
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: GARCH with rolling data

Unread post by TomDoan »

Yes. You'll just want to save the results of the %beta vector similar to what you would do with a rolling regression.
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: GARCH with rolling data

Unread post by TomDoan »

Here's an example. This uses the HESSIAN and INIT options to feed the previous estimates in (you just have to handle the first estimate differently). That tends make the estimation run faster, cutting the number of iterations roughly in half.

You need to be very careful not to make your window too narrow. If you get a quiet period where there is no obvious GARCH effect, followed by some outliers, the estimates can get very unstable. The person who originally submitted this was using a width of 250, which doesn't work well once you get around observation 400.
rollgarch.rpf
(774 Bytes) Downloaded 1295 times
India.rat
(17.5 KiB) Downloaded 1198 times
Post Reply