Model comparison is the formal evaluation of two or more statistical models against each other, using data to determine which provides a better characterisation of the data-generating process. The appropriate criterion depends on the goal: in-sample fit (AIC, BIC, likelihood ratio), predictive accuracy (Diebold-Mariano test, log predictive score), or Bayesian evidence (Bayes factor / Marginal Data Density). In-sample fit criteria penalise for parameter count; predictive criteria evaluate out-of-sample performance; Bayesian criteria automatically trade off fit against parsimony through the prior.
Key Ideas
Bayesian model comparison via the Marginal Data Density (MDD):
BF12=p(y∣M2)p(y∣M1)
Bayes factors do not require the models to be nested and integrate out all parameters — automatically penalising complexity. See Bayes Factor and Marginal Data Density.
Likelihood ratio test (nested models): LR=2[ℓ(θ^1)−ℓ(θ^0)]dχq2 under the null that M0 is correct (q = number of restrictions).
Information criteria: AIC=−2ℓ(θ^)+2k; BIC=−2ℓ(θ^)+klogT where k = number of parameters and T = sample size. BIC is consistent (selects the true model asymptotically); AIC minimises predictive Mean Squared Error (MSE). See Lag-Order Selection Criteria.
Predictive accuracy: the Diebold-Mariano (1995) test compares out-of-sample Mean Squared Forecast Error (MSFE) or log predictive scores across models without any nesting requirement. The log predictive score (log of the predictive density at the realized value) is strictly proper — it cannot be gamed — and is the Bayesian natural criterion.
Posterior predictive checks: informal model comparison via Posterior Predictive Check — does the model's predictive distribution cover the realized data?
Non-nested models: the Cox test and Vuong (1989) test compare likelihoods of non-nested models under regularity conditions. In the Bayesian framework, Bayes factors handle non-nested comparison naturally.
How It Works
Nested model comparison (frequentist):
Estimate restricted model M0 and unrestricted model M1.
Compute LR=2[ℓ(θ^1)−ℓ(θ^0)]; reject M0 if LR>χq,α2.
Information criteria (frequentist):
Estimate all candidate models by maximum likelihood estimation (MLE).
Compute AIC or BIC for each; select the model with minimum criterion.
AIC is preferred when prediction is the goal; BIC when consistent model identification matters.
Bayesian model comparison:
Place proper priors on parameters within each model.
Compute logp(y∣Mk) for each candidate (Chib 1995 identity, bridge sampling, or harmonic mean).
Rank models by posterior probability P(Mk∣y)∝p(y∣Mk)P(Mk).
Out-of-sample predictive comparison:
Use a rolling or expanding window to produce h-step-ahead forecasts from each model.
Compare point-forecast accuracy via MSFE/Diebold-Mariano; density accuracy via log score or Continuous Ranked Probability Score (CRPS).
Why It Matters
Model comparison is the central task of empirical econometrics: without a criterion for choosing among specifications, estimation is uninformative. The choice of criterion determines the conclusion — BIC typically selects sparser models than AIC, and Bayesian Bayes factors can favour very different models than frequentist LR tests.
Open Questions
Comparing models with very different parameter counts (e.g., Dynamic Stochastic General Equilibrium (DSGE) vs. Bayesian VAR (BVAR)) requires careful prior calibration; the Bayes factor is prior-sensitive for nested hypotheses at the boundary.
Model averaging (Bayesian Model Averaging (BMA), equal-weight combination) often outperforms model selection in terms of predictive accuracy.
Multiple-testing corrections when comparing many models simultaneously inflates the Type I error of pairwise tests.