Why is the "included observations" reduced
Posted: Mon Apr 28, 2014 12:19 am
I am transferring from econometrics coding in TSP and RATS to Eviews and to help me learn the differences I am trying to replicate the output from the in-built ARCH routines using the ml command on a logl written in a .prg. I have used the posted trivariate GARCH in mean to run a univariate GARCH(1,1) in mean (plus just a constant in the mean equation). I use the in-built ARCH routine to set starting values and get a close but not exact replication using my ml logl. The reason seems to be that the ml logl is dropping the first year (252 observations) of my dataset (2362 obs), while the inbuilt routine drops only the first observation. My sample statements request the full sample less the first couple of observations as in the posted example program. When I extend the model by adding an AR(1) and exogenous variables in the mean, the same thing happens. But, when I also add exogenous variables to the variance equation, the ml logl drops a further year of observations (504 observations in total). So now the results from the inbuilt routine and my ml logl are substantially different. So, my question, can I stop the ml logl from dropping observations and, if so, how? Thank you.