ArticleslgStudy

science

Bayesian information criterion

Bayesian information criterion is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Bayesian information criterion rather than just read about it. In short: 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).

Bayesian information criterion — main illustration
Bayesian information criterion — illustration

Key takeaways

  • Bayesian information criterion belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Bayesian information criterion to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Bayesian information criterion from memory before moving on to harder problems.

Reference excerpt

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. The BIC was developed by Gideon E. Schwarz and published in a 1978 paper, as a large-sample approximation to the Bayes factor.

Definition The BIC is formally defined as

BIC=kln⁡(n)−2ln⁡(L^). where

L̂ = the maximized value of the likelihood function of the model M, i.e. L̂=p(x∣θ^,M), where {θ^} 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:

p(x∣M)=∫p(x∣θ,M)π(θ∣M)dθ where π(θ∣M) is the prior for θ under model M. The log-likelihood, ln⁡(p(x∣θ,M)), is then expanded to a second order Taylor series about the MLE, θ^, assuming it is twice differentiable as follows:

ln⁡(p(x∣θ,M))=ln⁡(L^)−n2(θ−θ^)Tℐ(θ^)(θ−θ^)+R(x,θ), where ℐ(θ) is the average observed information per observation, and R(x,θ) denotes the residual term. To the extent that R(x,θ) is negligible and π(θ∣M) is relatively linear near θ^, we can integrate out θ to get the following:

p(x∣M)≈L̂(2πn)k2|ℐ(θ^)|−12π(θ^) As n increases, we can ignore |ℐ(θ^)| and π(θ^) as they are O(1). Thus,

p(x∣M)=exp⁡(ln⁡L^−k2ln⁡(n)+O(1))=exp⁡(−BIC2+O(1)), where BIC is defined as above, and L^ either (a) is the Bayesian posterior mode or (b) uses the MLE and the prior π(θ∣M) has nonzero slope at the MLE. Then the posterior

p(M∣x)∝p(x∣M)p(M)≈exp⁡(−BIC2)p(M)

The above arguments are heuristic, but can be made mathematically rigorous under the technical assumptions of Lipschitz continuity and strong convexity, as follows. Lemma. (Lemma 2.82 ) Define ℓn(θ)=−ln⁡(p(x∣θ,M)π(θ∣M))/n. If the sequence of gradients {∇ℓn(θ)} is Lipschitz continuous, uniformly in n, and every ℓn(θ) is strongly convex with a common parameter m>0 (independent of n), then as n→∞: ln⁡p(x∣M)=ln⁡(p(x∣θ¯n,M)π(θ¯n∣M))−k2ln⁡(n)+O(1), where θ¯n=arg⁡minθℓn(θ) is the maximum a posteriori (MAP) estimate of θ. Note that it is always possible to select a prior density π(θ∣M) such that every ℓn(θ) is strongly convex (with the same parameter m). Such a prior ensures that the MAP estimate θ¯n exists, even in cases where the MLE estimate θ̂ itself does not exist.

Use When picking from several models, ones with lower BIC values are generally preferred. The BIC is an increasing function of the error variance σe2 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. To compare two different models, simply compute the BIC for each model and compare according to the table below:

Limitations The BIC suffers from two main limitations:

the above approximation is only valid for sample size n much larger than the number k of parameters in the model. the BIC cannot handle complex collections of models as in the variable selection (or feature selection) problem in high-dimension.

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

BIC=nln⁡(σe2^)+kln⁡(n) where σe2^ is the error variance. The error variance in this case is defined as

σe2^=1n∑i=1n(xi−x^i)2. 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) When testing multiple linear models against a saturated model, the BIC can be rewritten in terms of the deviance χ2 as:

BIC=χ2+kln⁡(n) where k is the number of model parameters in the test.

See also

Notes

References

Further reading Bhat, H. S.; Kumar, N (2010). "On the derivation of the Bayesian Information Criterion" (PDF). Archived from the original (PDF) on 28 March 2012. Findley, D. F. (1991). "Counterexamples to parsimony and BIC". Annals of the Institute of Statistical Mathematics. 43 (3): 505–514. doi:10.1007/BF00053369. S2CID 58910242. Kass, R. E.; Wasserman, L. (1995). "A reference Bayesian test for nested hypotheses and its relationship to the Schwarz criterion". Journal of the American Statistical Association. 90 (431): 928–934. doi:10.2307/2291327. JSTOR 2291327. Liddle, A. R. (2007). "Information criteria for astrophysical model selection". Monthly Notices of the Royal Astronomical Society. 377 (1): L74–L78. arXiv:astro-ph/0701113. Bibcode:2007MNRAS.377L..74L. doi:10.1111/j.1745-3933.2007.00306.x. S2CID 2884450. McQuarrie, A. D. R.; Tsai, C.-L. (1998). Regression and Time Series Model Selection. World Scientific.

External links Sparse Vector Autoregressive Modeling

Worked examples

Example 1 — a first encounter with Bayesian information criterion

Start with the simplest possible case. Write down what Bayesian information criterion claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Bayesian information criterion before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Bayesian information criterion ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Bayesian information criterion

In research
Bayesian information criterion appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Bayesian information criterion in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Bayesian information criterion is common in secondary-school and first-year university syllabi. It links to neighbouring topics Bayesian inference, Model selection, Regression variable selection, so understanding it makes those chapters shorter.
In everyday life
Look for Bayesian information criterion outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Bayesian information criterion” →

How to study Bayesian information criterion in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Bayesian information criterion means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Bayesian information criterion out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Bayesian information criterion in simple terms?

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 t…

Why does Bayesian information criterion matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Bayesian information criterion?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Bayesian information criterion.

Tags

  • Bayesian inference
  • Model selection
  • Regression variable selection

Keep exploring