I am hoping to use Akaike's Information Criterion (AIC) to choose
between different structural state-space time series models for time
series.
Chatfield (The Analysis of Time Series, 6th ed., Chatman & Hall) gives
the following definition:
AIC = -2(max.likelihood) + 2r
where r denotes the number of independent parameters.
The models are being formulated using the software package, STAMP,
which reports the number of parameters & restrictions, also -2LogL.
Some of the models include explanatory variables, as well as trend,
level, irregular & seasonal components.
I was hoping to estimate the AIC very simply by adding 2r to the
-2LogL reported by STAMP.
My main question is: how do I calculate r (taking all the structural
components & explanatory variables into account)?
If you have time over, my supplementary question is:
there seem to be alternative definitions of the AIC, e.g.
AIC = N.ln(weighted sum of squares) + 2.M
where N is the number of observations.
Are all these definitions equally valid alternative expressions? |