Bayesian Information Criterion (BIC)

Statistics
Introduced by
Gideon E. Schwarz
Year
1978
Type
Bayesian model selection metric
Family
Information-theoretic criterion

What does it do?

The Bayesian Information Criterion (BIC) is a model selection criterion, introduced by Gideon Schwarz in 1978, that scores a fitted model by minus twice its maximized log-likelihood plus a penalty for the number of parameters, where the penalty grows with sample size.

Kass and Raftery (1995) describe it as a rough approximation to the logarithm of the Bayes factor, so it supports Bayesian-style model comparison without requiring prior distributions to be evaluated. Its heavier, sample-size-dependent penalty makes it more conservative than AIC, which is why it is often chosen when identifying a parsimonious structure is the goal.

The intuition behind the method

BIC scores each fitted model as minus twice its maximized log-likelihood plus a penalty of k log(n), where k is the number of parameters and n is the sample size. Compared with AIC, whose penalty is 2k, the BIC penalty grows with the number of observations, so each extra parameter costs more as data accumulate. Models are compared through differences in their BIC values on the same dataset, because the absolute value of a single BIC score has no meaning. Lower BIC is better, and a larger gap between two models indicates stronger evidence for the lower-scoring one. A gain in fit that is large enough to justify an extra parameter at a small sample size may no longer justify it at a large one.

History

Gideon Schwarz (1978) derived the criterion by evaluating the leading terms of an asymptotic expansion of the Bayes solution to the problem of choosing among models of different dimension. He noted that these leading terms form a large-sample criterion that does not depend on the prior distribution and so remains valid beyond the Bayesian setting. Kass and Raftery (1995) later discuss the Schwarz criterion, or BIC, as a rough approximation to the logarithm of the Bayes factor that is easy to use and does not require evaluating prior distributions.

When to use it

Choose BIC when the goal is to identify a parsimonious model and there is reason to believe that one of the candidate models is the data-generating process or close to it. It is a natural choice for variable selection in regression, and for choosing a lag order or the number of mixture components, where a compact and interpretable structure is valued. Do not use BIC as the main criterion when the goal is out-of-sample prediction; AIC, whose penalty does not grow with n, is generally the better choice there. Avoid BIC when the candidate models are unlikely to include anything close to the true structure, or when the models cannot all be fitted by likelihood to the same data. With small samples, check whether the BIC and AIC rankings disagree before relying on either.

Limitations and considerations

  • Consistency relies on the true model being in the candidate set; if it is not, BIC selects the best of the available approximations, which need not be the best predictor.
  • The penalty k log(n) can exclude predictors with real but modest effects when n is large, which may reduce predictive performance.
  • Only differences between BIC values computed on the same data are interpretable; absolute BIC values carry no meaning.
  • BIC requires a full likelihood for each model and cannot be computed for models specified only through estimating equations or other non-likelihood procedures.
  • As an approximation to the Bayes factor, BIC is accurate only under large-sample conditions, since Schwarz's derivation rests on an asymptotic expansion.
  • Assumptions in brief: every candidate model is fitted by maximum likelihood to the same data; n is the number of observations entering the likelihood, and for clustered or time-series data its definition must be stated and applied consistently across models; k counts the estimated parameters the same way for every model.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Consistency: when the true model is among the candidates, the probability that BIC selects it approaches one as the sample size grows.
  • Sample-size-dependent penalty: because the penalty is k log(n), each additional parameter becomes more costly as data accumulate, which limits overfitting in large samples.
  • Bayesian connection without priors: BIC approximates the logarithm of the Bayes factor and, as Kass and Raftery (1995) note, does not require evaluating prior distributions.
  • Flexible model comparison: Bayes factors do not require nested models, so BIC can compare non-nested models fitted to the same data.
  • Variable selection behaviour: the penalty tends to drop predictors whose contribution to the fit is small relative to log(n).

Applications

  • Variable selection in regression: choosing a subset of predictors when a parsimonious model is wanted.
  • Choosing the number of components or clusters in mixture models.
  • Selecting the lag order of autoregressive time-series models.
  • Comparing random-effects structures, such as random intercept versus random slope, in mixed models for longitudinal data. Because the BIC ranking depends on how n is defined (observations or groups), state the convention used, apply it to every model being compared, and fit all models to identical data with the same estimation method.

How it works

How it works

1

Fit each candidate model by maximum likelihood and compute its maximized log-likelihood, written here as L = log of the likelihood evaluated at the estimate.

Formula
L = \log \mathcal{L}(\theta | y)
2

Compute the penalty term k log(n), where k is the number of estimated parameters and n is the number of observations. The penalty increases with n, so the cost of each additional parameter rises as the sample grows.

Formula
\text{penalty} = k \log(n)
3

Combine the two parts as BIC = k log(n) - 2L: the penalty is added to minus twice the maximized log-likelihood. A better fit lowers the score, a larger penalty raises it, and the model with the lower BIC is preferred.

Formula
BIC = k\log(n) - 2L = k\log(n) - 2\log \mathcal{L}(\theta | y)

Common pitfalls

  • Relying on BIC with small samples. When n is small, log(n) is small, so the BIC penalty per parameter can be weaker than AIC's 2k, and the two criteria may disagree; report both.
  • Reading a low BIC as evidence of predictive accuracy. BIC assesses how well a model describes the observed data under a penalty for complexity, not how well it will predict new observations.
  • Counting parameters inconsistently across models, for example including the error variance in some models but not others. k must be counted the same way for every model being compared.
  • Comparing BIC values across different datasets or sample sizes. The criterion is meaningful only for models fitted to a single dataset.

Frequently asked questions

How do I interpret BIC differences?

As a rough guide: a BIC difference below 2 is weak evidence against the model with the higher BIC, 2 to 6 is positive evidence, 6 to 10 is strong evidence, and above 10 is very strong evidence. These cut-offs are conventions for the evidence scale of twice the log Bayes factor, which a BIC difference approximates (Kass and Raftery, 1995). They are guidelines, not tests, and context and prior knowledge matter.

When should I use BIC instead of AIC?

Use BIC when you want a simpler, more interpretable model, for example when the goal is explanation. Use AIC when prediction accuracy is the priority. With large samples, BIC becomes much more conservative than AIC and may reject complex models that AIC accepts.

How does sample size affect BIC?

The penalty k log(n) grows with n. For large samples, BIC penalizes extra parameters heavily, so small improvements in fit do not justify added complexity. This property makes BIC consistent, meaning it selects the true model asymptotically, but it can be too strict on small samples.

Can I use BIC for non-nested model comparison?

Yes. The formula applies to any models fitted by likelihood to the same data, and Bayes factors, which BIC approximates, do not require nested models (Kass and Raftery, 1995). The models must still be compared on identical data, and the parameter count k must be counted consistently.

Is BIC a substitute for a full Bayesian model comparison?

No. BIC is a large-sample approximation to the logarithm of the Bayes factor, not a substitute for it. For formal Bayesian inference, compute Bayes factors or posterior model probabilities directly and assess how sensitive the conclusions are to the prior distributions (Kass and Raftery, 1995).

Related methods

Sources

  1. Schwarz, G. (1978). Estimating the dimension of a model. Annals of Statistics, 6(2), 461-464.

    Open DOI reference
  2. Burnham, K. P., & Anderson, D. R. (2002). Model Selection and Multimodel Inference: A Practical Information-Theoretic Approach (2nd ed.). New York: Springer.

    Open DOI reference
  3. Kass, R. E., & Raftery, A. E. (1995). Bayes factors. Journal of the American Statistical Association, 90(430), 773-795.

    Open DOI reference