The Bayesian Information Criterion (BIC) is another metric used for model selection, similar to the Akaike Information Criterion (AIC), but with a stronger penalty for complexity.

It’s calculated as:

$$ BIC=kln(n)−2ln(L) $$

where $k$ is the number of model parameters, $n$ is the sample size, and $L$ is the likelihood of the model. The logarithmic dependence on $n$ makes BIC penalise additional parameters more heavily than AIC, favouring simpler models when sample sizes are large.

BIC and Model Comparison

Like AIC, BIC is used to compare models, with the model having the lowest BIC being preferred. The key difference is that BIC's stronger penalty on complexity makes it more likely to select a simpler model, particularly in large datasets.

<aside> 💡

Remember: With AIC and BIC, lower is generally a better model.

</aside>

This aligns with Bayesian principles, as BIC incorporates the idea of model likelihood while accounting for the probability of overfitting. However, BIC does not provide a formal hypothesis test; it’s a ranking method for selecting the most parsimonious model.

Using BIC

BIC is widely used in regression analysis, time series modelling, and machine learning, especially when selecting among nested models. It’s particularly useful when dealing with large datasets where the risk of overfitting is high.

While AIC is more flexible and often used in exploratory modelling, BIC tends to be more conservative and favours models that generalise well to new data. In practice, both AIC and BIC are often computed together to assess the trade-offs between model complexity and predictive performance.


Next element:

Testing assumptions