Degrees of freedom and information criteria are two fundamental concepts in statistical modeling, which are also taught in introductory statistics courses. But what are the exact abstract definitions for them which can be used to derive specific calculation formula in different situations.
I often use fit criteria like AIC and BIC to choose between models. I know that they try to balance good fit with parsimony, but beyond that I’m not sure what exactly they mean. What are they really doing? Which is better? What does it mean if they disagree? — Signed, Adrift on the IC’s
Intuitively, the degrees of freedom of a fitting procedure reflects the effective number of parameters used by the fitting procedure. Thus to most applied statisticians, a fitting procedure’s degrees of freedom is synonymous with its model complexity, or its capacity for overfitting to data. Is this really true? Regularization aims to improve prediction performance by trading an increase in training error for better agreement between training and prediction errors, which is often captured through decreased degrees of freedom. Is this always the case? When does more regularization imply fewer degrees of freedom?
For the above two questions, I think the most important thing is based on the following whattype question:
What are AIC and BIC? What is degrees of freedom?
Akaike’s Information Criterion (AIC) estimates the relative KullbackLeibler (KL) distance of the likelihood function specified by a fitted candidate model, from the unknown true likelihood function that generated the data:
where is the likelihood function specified by a fitted candidate model, is the unknown true likelihood function, and the expectation is taking under the true model. Note that the fitted model closest to the truth in the KL sense would not necessarily be the model which best fits the observed sample since the observed sample can often be fit arbitrary well by making the model more and more complex. Since will be the same for all models being considered, KL is minimized by choosing the model with highest , which can be estimated by an approximately unbiased estimator (up to a constant)
where is an estimator for the covariance matrix of the parameters based on the second derivatives matrix of in the parameters and is an estimator based on the cross products of the first derivatives. Akaike showed that and are asymptotically equal for the true model, so that , which is the number of parameters. This results in the usual definition for AIC
Schwarz’s Bayesian Information Criterion (BIC) is just comparing the posterior probability with the same prior and hence just comparing the likelihoods under different models:
which is just the Bayes factor. Schwarz showed that in many kinds of models can be roughly approximated by
which leads to the definition of BIC
In summary, AIC and BIC are both penalizedlikelihood criteria. AIC is an estimate of a constant plus the relative distance between the unknown true likelihood function of the data and the fitted likelihood function of the model, so that a lower AIC means a model is considered to be closer to the truth. BIC is an estimate of a function of the posterior probability of a model being true, under a certain Bayesian setup, so that a lower BIC means that a model is considered to be more likely to be the true model. Both criteria are based on various assumptions and asymptotic approximations. Despite various subtle theoretical differences, their only difference in practice is the size of the penalty; BIC penalizes model complexity more heavily. The only way they should disagree is when AIC chooses a larger model than BIC. Thus, AIC always has a chance of choosing too big a model, regardless of n. BIC has very little chance of choosing too big a model if n is sufficient, but it has a larger chance than AIC, for any given n, of choosing too small a model.
The effective degrees of freedom for an arbitrary modelling approach is defined based on the concept of expected optimism:
where is the variance of the error term, is an independent copy of data vector with mean , and is a fitting procedure with tuning parameter . Note that the expected optimism is defined as . And by the optimism theorem, we have that
Why does this definition make sense? In fact, under some regularity conditions, Stein proved that
which can be regarded as a sensitivity measure of the fitted values to the observations.
In the linear model, we know that (Mallows) the relationship between the expected prediction error (EPE) and the residual sum of squares (RSS) follows
which leads to .
Here are some references on this topic:

Dziak, John J., et al. “Sensitivity and specificity of information criteria.” The Methodology Center and Department of Statistics, Penn State, The Pennsylvania State University (2012).

Janson, Lucas, Will Fithian, and Trevor Hastie. “Effective degrees of freedom: A flawed metaphor.” arXiv preprint arXiv:1312.7851 (2013).
1 comment
Comments feed for this article
October 18, 2015 at 2:09 pm
tv streaming
What’s up colleagues, nice paragraph and nice urging commented here, I am truly enjoying by these.