multiplicative dummy involving squared residuals and varian

Discussions of ARCH, GARCH, and related models

multiplicative dummy involving squared residuals and varian

Postby sulong » Sat Apr 30, 2011 10:55 am

hi Tom,

is it possible to model the following variance equation using the GARCH instruction?
How can i do that?


thanks
sulong.
Attachments
t.jpg
t.jpg (9.1 KiB) Viewed 423 times
sulong
 
Posts: 9
Joined: Sun Mar 20, 2011 1:59 am

Re: multiplicative dummy involving squared residuals and var

Postby TomDoan » Sat Apr 30, 2011 12:19 pm

No. You would have to do that with MAXIMIZE. Set it up with something like:

Code: Select all
nonlin(parmset=garchparms) g0 g1 g2 g3 gd
frml hf = (1+gd)*(g0 + g1*h{1} + g2*u{1}^2 + %if(u{1}<0.0,g3*u{1}^2,0.0))
frml logl = (h(t)=hf(t)),(u(t)=resid(t)),-.5*(log(h)+u^2/h)
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm


Return to ARCH and GARCH Models

Who is online

Users browsing this forum: No registered users and 1 guest