BIC
Study guides: Exam SRM, Exam ASTAM, Exam MAS-I, Exam MAS-II, Exam PCPA, Exam ACIA-CAPSTONE
The BIC, or Bayesian information criterion, also called the Schwarz criterion, is a measure for comparing models fitted by maximum likelihood that penalizes the maximized log-likelihood more heavily than the AIC for each parameter. For a model with maximized log-likelihood l and k estimated parameters, fitted to n observations, the BIC is
\text{BIC} = -2l + k \ln n
\ln nis the natural logarithm of the number of observations.
The model with the lowest BIC is preferred. As with the AIC, the models need not be nested, but they must be fitted to the same observations of the same response.
With 100 observations, model A has 5 parameters and maximized log-likelihood
-200, and model B has 2 parameters and-210. Which model do the AIC and the BIC prefer?
- The AIC of model A is
400 + 2(5) = 410, and of model B is420 + 2(2) = 424.- The BIC of model A is
400 + 5\ln 100 = 423.03, and of model B is420 + 2\ln 100 = 429.21.- Both prefer model A, but the BIC's margin of 6.18 is much smaller than the AIC's margin of 14.
BIC compared with AIC
The BIC's penalty for each parameter is \ln n, and the AIC's is 2. Since \ln n > 2 when n \ge 8, the BIC penalizes extra parameters more heavily for all but the smallest data sets. The BIC therefore tends to choose a model with fewer parameters than the AIC. For models with the same number of parameters, the two penalties are equal, so the AIC and the BIC rank the models the same way.
For a linear model with normal errors fitted by least squares with p predictors, the BIC is, up to a constant,
\text{BIC} = \frac{1}{n}\left(\text{RSS} + p\,\hat{\sigma}^2 \ln n\right)
\text{RSS}is the residual sum of squares of the model.\hat{\sigma}^2is the estimate of the error variance from the full model, used for every model compared.
Regressions are fitted to 50 observations, and the full model has residual standard error 2. Model A has 2 predictors and
\text = 230, and model B has 4 predictors and\text = 210. Which has the lower BIC?
- The error variance estimate is
\hat{\sigma}^2 = 4, and\ln 50 = 3.912.- Model A has
\text{BIC} = \frac{230 + 2(4)(3.912)}{50} = 5.226.- Model B has
\text{BIC} = \frac{210 + 4(4)(3.912)}{50} = 5.452.- Model A has the lower BIC, although the AIC prefers model B, because the BIC's heavier penalty outweighs the drop in RSS.
Using the base-10 logarithm in the penalty The penalty is the natural logarithm of
n. Withn = 100,\ln 100 = 4.605, while\log_{10} 100 = 2would make the BIC equal to the AIC.
Practice questions
- CAS Exam 8 Fall 2016, Question 7
- CAS Exam 8 Fall 2018, Question 6
- SOA Exam ASTAM Sample Question 12
- SOA Exam ASTAM Sample Question 18
- SOA Exam ASTAM Fall 2023, Question 3
- SOA Exam ASTAM Spring 2023, Question 2
- SOA Exam ASTAM Fall 2025, Question 2
- Exam ATPA Practice Question 32
- CAS Exam MAS-I Fall 2019, Question 32
- Exam MAS-II Practice Question 6
- SOA Exam SRM Sample Question 61