Page 1 of 1

multiplicative dummy involving squared residuals and varian

Posted: Sat Apr 30, 2011 10:55 am
by sulong
hi Tom,

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


thanks
sulong.

Re: multiplicative dummy involving squared residuals and var

Posted: Sat Apr 30, 2011 12:19 pm
by TomDoan
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)