Bayesian information criterion explained

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 as[3]

BIC=kln(n)-2ln(\widehatL).

where

\hatL

= the maximized value of the likelihood function of the model

M

, i.e.

\hatL=p(x\mid\widehat\theta,M)

, where

\widehat\theta

are the parameter values that maximize the likelihood function and

x

is the observed data;

n

= the number of data points in

x

, the number of observations, or equivalently, the sample size;

k

= the number of parameters estimated by the model. For example, in multiple linear regression, the estimated parameters are the intercept, the

q

slope parameters, and the constant variance of the errors; thus,

k=q+2

.

Derivation

The BIC can be derived by integrating out the parameters of the model using Laplace's method, starting with the following model evidence:[4] [5]

p(x\midM)=\intp(x\mid\theta,M)\pi(\theta\midM)d\theta

where

\pi(\theta\midM)

is the prior for

\theta

under model

M

.

The log-likelihood,

ln(p(x|\theta,M))

, is then expanded to a second order Taylor series about the MLE,

\widehat\theta

, assuming it is twice differentiable as follows:

ln(p(x\mid\theta,M))=ln(\widehatL)-

n
2

(\theta-\widehat\theta)\operatorname{T

} \mathcal(\theta) (\theta - \widehat\theta) + R(x, \theta),

where

l{I}(\theta)

is the average observed information per observation, and

R(x,\theta)

denotes the residual term. To the extent that

R(x,\theta)

is negligible and

\pi(\theta\midM)

is relatively linear near

\widehat\theta

, we can integrate out

\theta

to get the following:

p(x\midM)\hatL{\left(

2\pi
n
k
2
\right)}
-1
2
|l{I}(\widehat\theta)|

\pi(\widehat\theta)

As

n

increases, we can ignore

|l{I}(\widehat\theta)|

and

\pi(\widehat\theta)

as they are

O(1)

. Thus,

p(x\midM)=\exp\left(ln\widehatL-

k
2

ln(n)+O(1)\right)=\exp\left(-

BIC
2

+O(1)\right),

where BIC is defined as above, and

\widehatL

either (a) is the Bayesian posterior mode or (b) uses the MLE and the prior

\pi(\theta\midM)

has nonzero slope at the MLE. Then the posterior

p(M\midx)\proptop(x\midM)p(M)\exp\left(-

BIC
2

\right)p(M)

Usage

When picking from several models, ones with lower BIC values are generally preferred. The BIC is an increasing function of the error variance

2
\sigma
e
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 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.

Properties

Limitations

The BIC suffers from two main limitations[6]

  1. the above approximation is only valid for sample size

n

much larger than the number

k

of parameters in the model.
  1. the BIC cannot handle complex collections of models as in the variable selection (or feature selection) problem in high-dimension.[6]

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):[7]

BIC=n

2})
ln(\widehat{\sigma
e

+kln(n)

where

2}
\widehat{\sigma
e
is the error variance. The error variance in this case is defined as
2}
\widehat{\sigma
e

=

1
n
n
\sum
i=1

(xi-\widehat{x

2.
i})

which is a biased estimator for the true variance.

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

BIC=nln(RSS/n)+kln(n)

\chi2

as:[8]

BIC=\chi2+kln(n)

where

k

is the number of model parameters in the test.

See also

Further reading

External links

Notes and References

  1. See the review paper: .
  2. .
  3. 10.1111/j.1467-9574.2012.00530.x. 66 . 3 . 217–236. Wit . Ernst . Edwin van den Heuvel . Jan-Willem Romeyn. 'All models are wrong...': an introduction to model uncertainty. Statistica Neerlandica. 2012. 7793470 .
  4. Raftery . A.E. . 1995 . Bayesian model selection in social research . Sociological Methodology . 25 . 111–196 . 10.2307/271063. 271063 .
  5. Book: Konishi . Sadanori . Kitagawa . Genshiro . 2008 . Information criteria and statistical modeling . Springer . 978-0-387-71886-6.
  6. Book: Giraud, C.. 2015. Introduction to high-dimensional statistics. Chapman & Hall/CRC. 9781482237948.
  7. Book: Priestley, M.B.. 1981. Spectral Analysis and Time Series. Academic Press. 978-0-12-564922-3. (p. 375).
  8. .