Akaike Information Criterion (AIC)ΒΆ
This method can be used to rank candidate distributions with respect to data .
We denote by the parametric models we want to test (see parametric models). We suppose here that the parameters of these models have been estimated from the sample (see Maximum Likelihood). We denote by the maximized likelihood of the sample with respect to the model .
By definition of the likelihood, the higher , the better the model describes the sample. However, by relying entirely on the value of the likelihood one runs the risk of systematically selecting the model with the most parameters. As a matter of fact, the greater the number of parameters, the easier it is for the distribution to adapt to the data.
The Akaike Information Criterion (AIC) can be used to avoid this problem. Like the Bayesian information criterion (see Bayesian Information Criterion (BIC)), it allows models to be penalized according to the number of parameters, in order to satisfy the parsimony criterion. Note that the library divides the AIC defined in the literature by the sample size, which has no impact on the selection of the best model.
The AIC of the model is defined in the library by:
where denotes the number of parameters of the model that have been inferred from the sample.
The smaller , the better the model:
The idea is to introduce a penalization term that increases with the numbers of parameters to be estimated. A complex model will then have a good score only if the gain in terms of likelihood is high enough to justify the number of parameters used.
In context of small data, there is a substantial risk that AIC still might systematically select the models that have the most parameters. In other words, the risk of overfitting is important. To tackle such an issue, the corrected AIC criterion (AICc) was developed: it consists in evaluating the AIC with a correction term (extra penalty) for small data. The AICc of the model is defined by:
One should notice that the extra term penalty vanishes for .