Akaike information criterion
AIC deals with the trade-off between the goodness of fit of the model and the complexity of the model. It is founded on information theory: it offers a relative estimate of the information lost when a given model is used to represent the process that generates the data.
AIC does not provide a test of a model in the sense of testing a null hypothesis; i.e. AIC can tell nothing about the quality of the model in an absolute sense. If all the candidate models fit poorly, AIC will not give any warning of that.
- 1 Definition
- 2 How to apply AIC in practice
- 3 AICc
- 4 Relationship to chi-squared fits and GLMs
- 5 History
- 6 Comparison with other model selection procedures
- 7 See also
- 8 Notes
- 9 References
- 10 Further reading
- 11 External links
For any statistical model, the AIC value is
Given a set of candidate models for the data, the preferred model is the one with the minimum AIC value. Hence AIC not only rewards goodness of fit, but also includes a penalty that is an increasing function of the number of estimated parameters. The penalty discourages overfitting (increasing the number of parameters in the model almost always improves the goodness of the fit).
AIC is founded in information theory. Suppose that the data is generated by some unknown process f. We consider two candidate models to represent f: g1 and g2. If we knew f, then we could find the information lost from using g1 to represent f by calculating the Kullback–Leibler divergence, DKL(f ‖ g1); similarly, the information lost from using g2 to represent f could be found by calculating DKL(f ‖ g2). We would then choose the candidate model that minimized the information loss.
We cannot choose with certainty, because we do not know f. Akaike (1974) showed, however, that we can estimate, via AIC, how much more (or less) information is lost by g1 than by g2. It is remarkable that such a simple formula for AIC results. The estimate, though, is only valid asymptotically; if the number of data points is small, then some correction is often necessary (see AICc, below).
How to apply AIC in practice
To apply AIC in practice, we start with a set of candidate models, and then find the models' corresponding AIC values. There will almost always be information lost due to using one of the candidate models to represent the "true" model (i.e. the process that generates the data). We wish to select, from among R candidate models, the model that minimizes the information loss. We cannot choose with certainty, but we can minimize the estimated information loss.
Denote the AIC values of the candidate models by AIC1, AIC2, AIC3, …, AICR. Let AICmin be the minimum of those values. Then exp((AICmin−AICi)/2) can be interpreted as the relative probability that the ith model minimizes the (estimated) information loss.
As an example, suppose that there were three models in the candidate set, with AIC values 100, 102, and 110. Then the second model is exp((100−102)/2) = 0.368 times as probable as the first model to minimize the information loss; similarly, the third model is exp((100−110)/2) = 0.007 times as probable as the first model to minimize the information loss.
In this example, we would omit the third model from further consideration. We then have three options: (1) gather more data, in the hope that this will allow clearly distinguishing between the first two models; (2) simply conclude that the data is insufficient to support selecting one model from among the first two; (3) take a weighted average of the first two models, with weights 1 and 0.368, respectively, and then do statistical inference based on the weighted multimodel.
The quantity exp((AICmin−AICi)/2) is the relative likelihood of model i.
If all the models in the candidate set have the same number of parameters, then using AIC might at first appear to be very similar to using the likelihood-ratio test. There are, however, important distinctions. In particular, the likelihood-ratio test is valid only for nested models whereas AIC (and AICc) has no such restriction.
AICc is AIC with a correction for finite sample sizes:
where n denotes the sample size. Thus, AICc is AIC with a greater penalty for extra parameters.
Burnham & Anderson (2002) strongly recommend using AICc, rather than AIC, if n is small or k is large. Since AICc converges to AIC as n gets large, AICc generally should be employed regardless. Using AIC, instead of AICc, when n is not many times larger than k2, increases the probability of selecting models that have too many parameters, i.e. of overfitting. The probability of AIC overfitting can be substantial, in some cases.
Brockwell & Davis (1991, p. 273) advise using AICc as the primary criterion in selecting the orders of an ARMA model for time series. McQuarrie & Tsai (1998) ground their high opinion of AICc on extensive simulation work with regression and time series.
AICc was first proposed by Hurvich & Tsai (1989). Different derivations of it are given by Brockwell & Davis (1991), Burnham & Anderson, and Cavanaugh (1997). All the derivations assume a univariate linear model with normally distributed errors (conditional upon regressors); if that assumption does not hold, then the formula for AICc will usually change. Further discussion of this, with examples of other assumptions, is given by Burnham & Anderson (2002, ch. 7). In particular, bootstrap estimation is usually feasible.
Note that when all the models in the candidate set have the same k, then AICc and AIC will give identical (relative) valuations. In that situation, then, AIC can always be used.
Relationship to chi-squared fits and GLMs
Often, one wishes to select amongst competing models where the likelihood functions assume that the underlying errors are normally distributed (with mean zero) and independent. This assumption leads to model fitting.
For fitting, the likelihood is given by
where C is a constant independent of the model used, and dependent only on the use of particular data points. i.e. it does not change if the data do not change.
The AIC is therefore given by . As only differences in AIC are meaningful, the constant C can be ignored, allowing us to take for model comparisons.
Another convenient form arises if the σi are assumed to be identical (i.e. ) and σ is unknown and has to be fitted. Then one can write , where is the residual sum of squares. Again C can be ignored in model comparisons. Because σ is fitted, it has to be counted as a parameter when calculating k.
When all the candidate models are generalized linear models, a reasonable approach to selecting a model is to choose the model that maximizes the likelihood . That likelihood can be easily estimated, and the model with the maximum estimate turns out to be the model with the minimum AIC.
The original derivation of AIC relied upon some strong assumptions. Takeuchi (1976) showed that the assumptions could be made much weaker. Takeuchi's work, however, was in Japanese, and was not widely known outside Japan for many years.
AICc was originally proposed for linear regression (only) by Sugiura (1978). That instigated the work of Hurvich & Tsai (1989), and several further papers by the same authors, which extended the situations in which AICc could be applied. The work of Hurvich & Tsai contributed to the decision to publish a second edition of the volume by Brockwell & Davis (1991), which is the standard reference for linear time series; the second edition states, "our prime criterion for model selection [among ARMA(p,q) models] will be the AICc".
The volume by Burnham & Anderson (2002) was the first attempt to set out the information-theoretic approach in a general context. It includes an English exposition of the work of Takeuchi. The volume led to far greater use of the information-theoretic approach, and it now has over 20000 citations on Google Scholar.
Akaike originally called his approach an "entropy maximization principle", as the approach is founded on the concept entropy in information theory. Burnham & Anderson (2002, ch. 2) discuss and expand on this, and trace the approach back to the work of Ludwig Boltzmann on thermodynamics. Briefly, minimizing AIC in a statistical model is essentially equivalent to maximizing entropy in a thermodynamic system. In other words, the information-theoretic approach in statistics is essentially applying the Second Law of Thermodynamics.
Comparison with other model selection procedures
Comparison with BIC
The AIC penalizes the number of parameters less strongly than does the Bayesian information criterion (BIC). A comparison of AIC/AICc and BIC is given by Burnham & Anderson (2002, §6.4). The authors show that AIC and AICc can be derived in the same Bayesian framework as BIC, just by using a different prior. The authors also argue that AIC/AICc has theoretical advantages over BIC. First, because AIC/AICc is derived from principles of information; BIC is not, despite its name. Second, because the (Bayesian-framework) derivation of BIC has a prior of 1/R (where R is the number of candidate models), which is "not sensible", since the prior should be a decreasing function of k. Additionally, they present a few simulation studies that suggest AICc tends to have practical/performance advantages over BIC. See too Burnham & Anderson (2004).
Further comparison of AIC and BIC, in the context of regression, is given by Yang (2005). In particular, AIC is asymptotically optimal in selecting the model with the least mean squared error, under the assumption that the exact "true" model is not in the candidate set (as is virtually always the case in practice); BIC is not asymptotically optimal under the assumption. Yang further shows that the rate at which AIC converges to the optimum is, in a certain sense, the best possible.
Comparison with cross-validation
- Deviance information criterion
- Focused information criterion
- Hannan–Quinn information criterion
- Occam's razor
- Principle of maximum entropy
- Burnham & Anderson 2002, §6.4.5
- Burnham & Anderson 2002
- Burnham & Anderson 2002, §2.12.4
- Burnham & Anderson 2004
- Claeskens & Hjort 2008, §8.3
- Burnham & Anderson 2002, pp. 12, 63
- Wood 2006, §2.1.4
- Akaike 1974
- Brockwell & Davis 1991, p. 273
- Stone, M (1977). "An Asymptotic Equivalence of Choice of Model by Cross-Validation and Akaike's Criterion". Journal of the Royal Statistical Society. Series B (Methodological) 39 (1): 44–47. Retrieved 18 October 2014.
- Akaike, Hirotugu (1974), A new look at the statistical model identification, IEEE Transactions on Automatic Control 19 (6): 716–723, doi:10.1109/TAC.1974.1100705, MR 0423716
- Akaike, Hirotugu (1980), "Likelihood and the Bayes procedure", in Bernardo, J. M.; et al., Bayesian Statistics, Valencia: University Press, pp. 143–166.
- Brockwell, Peter J.; Davis, Richard A. (1991), Time Series: Theory and Methods (2nd ed.), Springer, ISBN 0387974296. Republished in 2009: ISBN 1441903194
- Burnham, K. P.; Anderson, D. R. (2002), Model Selection and Multimodel Inference: A Practical Information-Theoretic Approach (2nd ed.), Springer-Verlag, ISBN 0-387-95364-7.
- Burnham, K. P.; Anderson, D. R. (2004), Multimodel inference: understanding AIC and BIC in Model Selection, Sociological Methods and Research 33: 261–304, doi:10.1177/0049124104268644
- Cavanaugh, J. E. (1997), Unifying the derivations of the Akaike and corrected Akaike information criteria, Statistics and Probability Letters 31: 201–208, doi:10.1016/s0167-7152(96)00128-9
- Claeskens, G.; Hjort, N. L. (2008), Model Selection and Model Averaging, Cambridge.
- Hurvich, C. M.; Tsai, C.-L. (1989), Regression and time series model selection in small samples, Biometrika 76: 297–307, doi:10.1093/biomet/76.2.297
- McQuarrie, A. D. R.; Tsai, C.-L. (1998), Regression and Time Series Model Selection, World Scientific, ISBN 981-02-3242-X.
- Sugiura, N. (1978), Further analysis of the data by Akaike’s information criterion and the finite corrections, Communications in Statistics - Theory and Methods A7: 13–26
- Takeuchi, K. (1976), [Distribution of informational statistics and a criterion of model fitting], Suri-Kagaku [Mathematical Sciences] (in Japanese) 153: 12–18
- Wood, S. N. (2006), Generalized Additive Models, CRC Press.
- Yang, Y. (2005), Can the strengths of AIC and BIC be shared?, Biometrika 92: 937–950, doi:10.1093/biomet/92.4.937
- Anderson, D. R. (2008), Model Based Inference in the Life Sciences, Springer.
- Brockwell, Peter J.; Davis, Richard A. (1987), Time Series: Theory and Methods, Springer, ISBN 0387964061.
- Fang, Yixin (2011), Asymptotic equivalence between cross-validations and Akaike Information Criteria in mixed-effects models, Journal of Data Science 9: 15–21
- Liu, W.; Yang, Y. (2011), Parametric or nonparametric?, Annals of Statistics 39: 2074–2102, doi:10.1214/11-AOS899
- Lukacs, Paul M.; Thompson, William L.; Kendall, William L.; Gould, William R.; Doherty, Paul F. Jr.; Burnham, Kenneth P.; Anderson, David R. (5 March 2007), Concerns regarding a call for pluralism of information theory and hypothesis testing, Journal of Applied Ecology 44 (2): 456–460, doi:10.1111/j.1365-2664.2006.01267.x