I was trying to estimate an simple GARCH(1,1)-in-mean model: y=b1*h+b2*x2+b3*x3+b4*x4+b5*x5+const.+u, where h is the conditional variance of u, x2-x5 are exogenous variables.
Here is my code:
Code: Select all
smpl 1987m02 1999m11
equation eqn1
eqn1.arch(1,1,archm=var) y x2 x3 x4 x5 c
I tried to adjust the start and end date, and the error exists until I set "smpl 1992m01 1999m01". I tries a couple of other series for GARCH estimation, this problem exists for most of them, so I have to adjust the start and end date every time. The weirdest thing is, I don't see any consistent pattern how I should adjust the start and end date.
So I have two questions:
(1) Given there is no missing data between 1987m02 and 1999m11, why should I adjust the start and end date?
(2) How should I adjust the start and end date? I don't see any consistent pattern. I don't wanna try-and-error every time to figure out the start and end dates that will work.
Thank you very much.
Best,
Ken.
