Bayesian Model Averaging with Missing Data

Statistics
Introduced by
Hoeting, Madigan, Raftery, Volinsky (BMA); extended to missing data by Raftery, Madigan and others
Year
1999 (BMA seminal); 2000s (missing-data extensions)
Type
Bayesian ensemble inference under incomplete data
Family
Bayesian / computational

What does it do?

Bayesian Model Averaging with missing data (BMA-MD) addresses two uncertainties at once: which candidate model describes the data, and what the missing values could have been.

Instead of fixing one model and one completed dataset, it averages predictions over candidate models and plausible imputations, weighting each by its posterior probability given the observed data. Both sources of uncertainty then enter the final estimates and predictions.

The intuition behind the method

A conventional analysis selects one model and one imputed dataset, then treats both choices as if they were known. BMA with missing data keeps them open. Each candidate model is treated as a hypothesis, and each set of imputed values drawn under a model is one possible completion of the data. Predictions from all of these are combined, with each model weighted by its posterior probability given the observed values. If conclusions change across plausible models or imputations, the averaged result shows that spread instead of hiding it.

History

Hoeting, Madigan, Raftery and Volinsky (1999) presented Bayesian model averaging in a tutorial in Statistical Science. The imputation side of the method draws on Rubin's (1987) framework for multiple imputation of nonresponse in surveys. The combined procedure builds on these two strands.

When to use it

Choose BMA with missing data when the outcome or several predictors are partly unobserved, and when there is a genuine set of competing variable subsets or model structures that could explain the data. It suits exploratory analyses and variable selection, where the final model is not fixed in advance and the conclusion should reflect that choice. Do not use it when missingness may be MNAR and the missingness process cannot be modelled explicitly, when the model space cannot be enumerated or searched with reasonable approximations, or when the computing budget cannot support fitting and imputing across all candidate models. For a confirmatory analysis with one pre-specified model, standard multiple imputation may be sufficient.

Limitations and considerations

  • Computational cost grows with the number of candidate models, since each model needs its own fit and its own set of imputations.
  • The weights are conditional on the candidate set: a model left out of the set receives no weight, however well it would fit.
  • Posterior model probabilities depend on the parameter priors used in each marginal likelihood, so the ranking of models can shift with prior choices.
  • The method assumes MAR unless the missingness mechanism is modelled explicitly, and MAR cannot be verified from the observed data alone.
  • By convention, the averaged coefficient for a variable is set to zero in every model that excludes it, so the averaged value mixes the probability of inclusion with the size of the effect. Report the conditional coefficient from the models that include the variable alongside the averaged one.
  • When the model space is too large to enumerate, the weights come from approximations such as Occam's Window or MC3, and their accuracy depends on how well the search explores the high-probability region.

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

Strengths

  • The predictive variance includes a between-model component, so conclusions that depend on which variables are included are not reported with the precision of one chosen model.
  • Imputation draws within each model carry the uncertainty in the imputation model's parameters, so imputed values are not treated as known.
  • Posterior model probabilities give a readable summary of how the candidate models compare on the observed data, given the stated priors.
  • Averaging over candidate variable subsets reduces reliance on one data-driven selection step, whose outcome depends on the selection rule and the particular sample.
  • Prior information about model plausibility enters explicitly through the prior model probabilities.

Applications

  • Cohort studies in which several candidate confounders are partly unobserved and the adjustment set is itself uncertain.
  • Biomarker studies with missing assay values and many candidate predictive models.
  • Survey analyses in which item non-response affects several predictors and the variable subset is chosen exploratorily.
  • Clinical prediction work in which variable selection and missing covariates arise together.
  • Environmental monitoring datasets with sensor dropouts, where several covariate structures remain plausible.

How it works

How it works

1

Characterise the missing-data mechanism (MCAR, MAR, or MNAR). BMA-MD is most defensible when data are Missing At Random (MAR), where missingness depends only on observed quantities. Under MNAR an additional model for the missingness process is required.

2

Within each candidate model, draw several completed datasets from the posterior predictive distribution of the missing values, conditioning on the observed data and on that model's parameters. Because the parameters are themselves uncertain, the draws should reflect that uncertainty rather than rely on a single plug-in parameter estimate.

Formula
p(X_{mis}\mid X_{obs}, M_k) \propto p(X_{obs}\mid X_{mis}, M_k)\,p(X_{mis})
3

Compute each candidate model's posterior probability given the observed data using Bayes' rule. The posterior model probability is proportional to the marginal likelihood of the observed data under that model (the data integrated over the model's parameters) multiplied by the prior model probability, normalised across all candidate models. Models with higher marginal likelihoods or higher prior probabilities receive more weight. Because the marginal likelihood depends on the priors placed on parameters, these weights are not independent of those prior choices.

Formula
p(M_k\mid X_{obs}) = \frac{p(X_{obs}\mid M_k)\,p(M_k)}{\sum_j p(X_{obs}\mid M_j)\,p(M_j)}
4

For each quantity of interest, the averaged prediction is the sum over models of each model's prediction multiplied by that model's posterior probability. The averaged variance follows the law of total variance: Var(Δ | X_obs) = Σ_k p(M_k | X_obs) [Var(Δ | X_obs, M_k) + (E(Δ | X_obs, M_k) − E(Δ | X_obs))²]. The first term in the bracket is the within-model posterior variance. The second is the between-model term, which grows when the models disagree about the quantity. A single selected model omits that between-model term. When several imputed datasets are drawn within each model, the within-model variance should itself be combined across imputations using Rubin's combining rules (Rubin, 1987).

Formula
p(\Delta\mid X_{obs}) = \sum_k p(\Delta\mid X_{obs}, M_k)\,p(M_k\mid X_{obs})
5

Check the sensitivity and convergence of the analysis. Inspect whether posterior model probabilities are spread across several models or concentrated on one. Report the effective number of models, 1 / Σ_k p(M_k | X_obs)², alongside the weights, since it summarises how many models carry non-negligible weight. Rerun the analysis under alternative prior model probabilities and alternative parameter priors, and check whether conclusions shift. Check whether the imputation draws for each candidate model have converged. Report these checks alongside the averaged results.

Common pitfalls

  • Reading posterior model probabilities as absolute measures of which model is true, rather than as relative support within the chosen candidate set and priors.
  • Assuming MAR without asking whether the reasons for missingness could depend on the unobserved values themselves.
  • Averaging over analysis models while imputing each dataset only once, which leaves imputation uncertainty out of the total variance.
  • Using a single imputation per model instead of drawing several completed datasets, which understates the imputation uncertainty the method is designed to carry.
  • Reporting averaged estimates without the effective number of models carrying non-negligible weight, or without checking how conclusions move under alternative prior model probabilities.

Frequently asked questions

How does BMA with missing data differ from running BMA on a singly-imputed dataset?

Single imputation treats the imputed values as if they were true, underestimating uncertainty and biasing model weights. BMA with missing data draws multiple imputations within each model, so both the imputation uncertainty and the model uncertainty are propagated into the final averaged estimate.

What if the number of candidate models is too large to enumerate?

Use stochastic search approaches such as Markov Chain Monte Carlo Model Composition (MC3) or Occam's Window pruning. These explore the high-posterior-probability region of model space without exhaustive enumeration, giving approximate BMA weights. Check how stable the approximate weights are across repeated runs or search settings.

Can I use BMA with missing data when data are Missing Not At Random?

Standard BMA-MD assumes MAR. Under MNAR you must specify an explicit model for the missingness mechanism (a selection model or a pattern-mixture model) and include it as part of the model space. This is substantially more complex and requires sensitivity analyses over plausible MNAR assumptions.

How are posterior model probabilities affected by the prior on models?

With a uniform prior over models, posterior model probabilities are driven by marginal likelihoods. Those marginal likelihoods depend on the priors placed on each model's parameters, and flat or diffuse parameter priors can unduly penalise complex models (Bartlett's paradox). Weakly informative parameter priors and a sensitivity check over prior choices are recommended.

What software implements BMA with missing data?

The R package BMA implements core Bayesian model averaging for regression. It is not a built-in workflow for combining with imputation packages such as mice or Amelia. Any such combination needs care: check that the model weights and the imputation draws are handled consistently before using it. Stan and JAGS can fit joint Bayesian models for parameters and missing values, though the model must be written out explicitly.

Related methods

Sources

  1. Hoeting, J. A., Madigan, D., Raftery, A. E. & Volinsky, C. T. (1999). Bayesian model averaging: A tutorial. Statistical Science, 14(4), 382-417.

    Open publication reference
  2. Rubin, D. B. (1987). Multiple Imputation for Nonresponse in Surveys. John Wiley & Sons, New York.

    ISBN: 978-0471655749