Bayesian information criterion

From HandWiki
Short description: Criterion for model selection

In statistics, the Bayesian information criterion (BIC) or Schwarz information criterion (also SIC, SBC, SBIC) is a criterion for model selection among a finite set of models; models with lower BIC are generally preferred. It is based, in part, on the likelihood function and it is closely related to the Akaike information criterion (AIC).

When fitting models, it is possible to increase the maximum likelihood by adding parameters, but doing so may result in overfitting. Both BIC and AIC attempt to resolve this problem by introducing a penalty term for the number of parameters in the model; the penalty term is larger in BIC than in AIC for sample sizes greater than 7.[1]

The BIC was developed by Gideon E. Schwarz and published in a 1978 paper,[2] where he gave a Bayesian argument for adopting it.

Definition

The BIC is formally defined asCite error: Closing </ref> missing for <ref> tag:217 derive the BIC to approximate the distribution of the data, integrating out the parameters using Laplace's method, starting with the following model evidence:

[math]\displaystyle{ p(x\mid M) = \int p(x\mid\theta,M) \pi(\theta\mid M) \, d\theta }[/math]

where [math]\displaystyle{ \pi(\theta\mid M) }[/math] is the prior for [math]\displaystyle{ \theta }[/math] under model [math]\displaystyle{ M }[/math].

The log-likelihood, [math]\displaystyle{ \ln(p(x|\theta,M)) }[/math], is then expanded to a second order Taylor series about the MLE, [math]\displaystyle{ \widehat\theta }[/math], assuming it is twice differentiable as follows:

[math]\displaystyle{ \ln(p(x\mid\theta,M)) = \ln(\widehat L) - \frac{n}{2} (\theta - \widehat\theta)^{\operatorname{T}} \mathcal{I}(\theta) (\theta - \widehat\theta) + R(x, \theta), }[/math]

where [math]\displaystyle{ \mathcal{I}(\theta) }[/math] is the average observed information per observation, and [math]\displaystyle{ R(x, \theta) }[/math] denotes the residual term. To the extent that [math]\displaystyle{ R(x, \theta) }[/math] is negligible and [math]\displaystyle{ \pi(\theta\mid M) }[/math] is relatively linear near [math]\displaystyle{ \widehat\theta }[/math], we can integrate out [math]\displaystyle{ \theta }[/math] to get the following:

[math]\displaystyle{ p(x\mid M) \approx \hat L {\left(\frac{2\pi}{n}\right)}^\frac{k}{2} |\mathcal{I}(\widehat\theta)|^{-\frac{1}{2}} \pi(\widehat\theta) }[/math]

As [math]\displaystyle{ n }[/math] increases, we can ignore [math]\displaystyle{ |\mathcal{I}(\widehat\theta)| }[/math] and [math]\displaystyle{ \pi(\widehat\theta) }[/math] as they are [math]\displaystyle{ O(1) }[/math]. Thus,

[math]\displaystyle{ p(x\mid M) = \exp\left(\ln\widehat L - \frac{k}{2} \ln(n) + O(1)\right) = \exp\left(-\frac{\mathrm{BIC}}{2} + O(1)\right), }[/math]

where BIC is defined as above, and [math]\displaystyle{ \widehat L }[/math] either (a) is the Bayesian posterior mode or (b) uses the MLE and the prior [math]\displaystyle{ \pi(\theta\mid M) }[/math] has nonzero slope at the MLE. Then the posterior

[math]\displaystyle{ p(M\mid x) \propto p(x\mid M) p(M) \approx \exp\left(-\frac{\mathrm{BIC}}{2}\right) p(M) }[/math]

Usage

When picking from several models, ones with lower BIC values are generally preferred. The BIC is an increasing function of the error variance [math]\displaystyle{ \sigma_e^2 }[/math] and an increasing function of k. That is, unexplained variation in the dependent variable and the number of explanatory variables increase the value of BIC. However, a lower BIC does not necessarily indicate one model is better than another. Because it involves approximations, the BIC is merely a heuristic. In particular, differences in BIC should never be treated like transformed Bayes factors.

It is important to keep in mind that the BIC can be used to compare estimated models only when the numerical values of the dependent variable[lower-alpha 1] are identical for all models being compared. The models being compared need not be nested, unlike the case when models are being compared using an F-test or a likelihood ratio test.[citation needed]

Properties

  • The BIC generally penalizes free parameters more strongly than the Akaike information criterion, though it depends on the size of n and relative magnitude of n and k.
  • It is independent of the prior.
  • It can measure the efficiency of the parameterized model in terms of predicting the data.
  • It penalizes the complexity of the model where complexity refers to the number of parameters in the model.
  • It is approximately equal to the minimum description length criterion but with negative sign.
  • It can be used to choose the number of clusters according to the intrinsic complexity present in a particular dataset.
  • It is closely related to other penalized likelihood criteria such as Deviance information criterion and the Akaike information criterion.

Limitations

The BIC suffers from two main limitations[3]

  1. the above approximation is only valid for sample size [math]\displaystyle{ n }[/math] much larger than the number [math]\displaystyle{ k }[/math] of parameters in the model.
  2. the BIC cannot handle complex collections of models as in the variable selection (or feature selection) problem in high-dimension.[3]

Gaussian special case

Under the assumption that the model errors or disturbances are independent and identically distributed according to a normal distribution and the boundary condition that the derivative of the log likelihood with respect to the true variance is zero, this becomes (up to an additive constant, which depends only on n and not on the model):[4]

[math]\displaystyle{ \mathrm{BIC} = n \ln(\widehat{\sigma_e^2}) + k \ln(n) \ }[/math]

where [math]\displaystyle{ \widehat{\sigma_e^2} }[/math] is the error variance. The error variance in this case is defined as

[math]\displaystyle{ \widehat{\sigma_e^2} = \frac{1}{n} \sum_{i=1}^n (x_i-\widehat{x_i})^2. }[/math]

which is a biased estimator for the true variance.

In terms of the residual sum of squares (RSS) the BIC is

[math]\displaystyle{ \mathrm{BIC} = n \ln(RSS/n) + k \ln(n) \ }[/math]

When testing multiple linear models against a saturated model, the BIC can be rewritten in terms of the deviance [math]\displaystyle{ \chi^2 }[/math] as:[5]

[math]\displaystyle{ \mathrm{BIC}= \chi^2 + k \ln(n) }[/math]

where [math]\displaystyle{ k }[/math] is the number of model parameters in the test.

See also


Notes

  1. A dependent variable is also called a response variable or an outcome variable. See Regression analysis.

References

  1. See the review paper: Stoica, P.; Selen, Y. (2004), "Model-order selection: a review of information criterion rules", IEEE Signal Processing Magazine (July): 36–47, doi:10.1109/MSP.2004.1311138 .
  2. Schwarz, Gideon E. (1978), "Estimating the dimension of a model", Annals of Statistics 6 (2): 461–464, doi:10.1214/aos/1176344136 .
  3. 3.0 3.1 Giraud, C. (2015). Introduction to high-dimensional statistics. Chapman & Hall/CRC. ISBN 9781482237948. 
  4. Priestley, M.B. (1981). Spectral Analysis and Time Series. Academic Press. ISBN 978-0-12-564922-3.  (p. 375).
  5. Kass, Robert E.; Raftery, Adrian E. (1995), "Bayes Factors", Journal of the American Statistical Association 90 (430): 773–795, doi:10.2307/2291091, ISSN 0162-1459 .

Further reading

External links

de:Informationskriterium