statsmodels.tools.eval_measures.aic_sigma(sigma2, nobs, df_modelwc, islog=False)
[source]
Akaike information criterion
Parameters: |
|
---|---|
Returns: |
aic – information criterion |
Return type: |
float |
A constant has been dropped in comparison to the loglikelihood base information criteria. The information criteria should be used to compare only comparable models.
For example, AIC is defined in terms of the loglikelihood as
\(-2 llf + 2 k\)
in terms of \(\hat{\sigma}^2\)
\(log(\hat{\sigma}^2) + 2 k / n\)
in terms of the determinant of \(\hat{\Sigma}\)
\(log(\|\hat{\Sigma}\|) + 2 k / n\)
Note: In our definition we do not divide by n in the log-likelihood version.
TODO: Latex math
reference for example lecture notes by Herman Bierens
© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.tools.eval_measures.aic_sigma.html