Logl object
Posted: Sat Sep 15, 2012 11:53 pm
Hello,
Im trying to understand how Logl object works and how to use it properly.
So i decided to start with something that Eviews can do automaticaly, like normal GARCH(1,1) model. I estimated both normal GARCH(1,1) with standard estimation settings and Logl that looks just like this:
@LOGL LOGL1
RES = X - C(1)
VAR = C(2)+C(3)*(RES(-1)^2)+C(4)*VAR(-1)
LOGL1 = -(1/2)*log(VAR)-(1/2)*log(2*3.1416926)-((RES)^2)/VAR
I added first VAR number by hand. And it equals unconditional variance.
It seems that these two prosidures give me different results. C(2) and C(3) are 2 times greater then in a stardard procidure. Please help me, how can I get exactly the same result in Logl? Thank you!
Im trying to understand how Logl object works and how to use it properly.
So i decided to start with something that Eviews can do automaticaly, like normal GARCH(1,1) model. I estimated both normal GARCH(1,1) with standard estimation settings and Logl that looks just like this:
@LOGL LOGL1
RES = X - C(1)
VAR = C(2)+C(3)*(RES(-1)^2)+C(4)*VAR(-1)
LOGL1 = -(1/2)*log(VAR)-(1/2)*log(2*3.1416926)-((RES)^2)/VAR
I added first VAR number by hand. And it equals unconditional variance.
It seems that these two prosidures give me different results. C(2) and C(3) are 2 times greater then in a stardard procidure. Please help me, how can I get exactly the same result in Logl? Thank you!