W3cubDocs

/Statsmodels

statsmodels.tools.eval_measures.aic

statsmodels.tools.eval_measures.aic(llf, nobs, df_modelwc) [source]

Akaike information criterion

Parameters:
  • llf (float) – value of the loglikelihood
  • nobs (int) – number of observations
  • df_modelwc (int) – number of parameters including constant
Returns:

aic – information criterion

Return type:

float

References

http://en.wikipedia.org/wiki/Akaike_information_criterion

© 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.html