- Introduced by
- Rubin, D. B. (missing-data mechanisms); Tanner & Wong (data augmentation)
- Year
- 1976–1987
- Type
- Bayesian probabilistic model
- Family
- Bayesian / computational
What does it do?
Bayesian inference with missing data treats unobserved values as unknown quantities and integrates them out of the posterior distribution, instead of deleting incomplete records or filling them in with a single fixed value.
The missing-data mechanism is stated explicitly, and observed and missing data are modelled jointly. Posterior uncertainty then includes uncertainty about the missing values, but its validity depends on the model and the mechanism assumptions being adequate.
The intuition behind the method
When some values are missing, the Bayesian question is: given the observed data and prior beliefs, what is the joint posterior over the model parameters and the missing values? The missing values are latent quantities that the sampler handles alongside the parameters. Data augmentation alternates between drawing plausible values for the missing entries given the current parameters, and drawing parameters given the completed data. Once the chain has converged, the imputed draws can be averaged over, so the extra uncertainty caused by missingness carries into the posterior for the quantities of interest. Those intervals are only as reliable as the assumed model and missingness mechanism.
History
Rubin (1976) formalised the missing-data mechanisms (MCAR, MAR, MNAR) and gave conditions under which the mechanism can be ignored for likelihood-based inference. Tanner and Wong (1987) introduced data augmentation, an iterative scheme alternating between imputing missing values and drawing parameters, which provided an MCMC route to joint imputation and parameter estimation. Little and Rubin's Statistical Analysis with Missing Data, whose second edition appeared in 2002, collected this theory for applied use.
When to use it
Choose this approach when incomplete records cannot be dropped without introducing bias, for example when missingness is related to the outcome or to other observed variables, so that complete-case analysis would be biased. It suits problems where the missingness mechanism can be stated and justified, and where uncertainty from missingness should appear in the final posterior rather than being hidden by one imputed dataset. Longitudinal studies with dropout and surveys with item non-response are typical cases. Do not use it when missingness is plausibly MCAR and small, since complete-case analysis is then unbiased and simpler. Also avoid it when no credible joint model for the data and the missingness can be specified, or when available computing cannot support long MCMC runs on the full dataset.
Limitations and considerations
- Requires a credible joint model for observed and missing data, which can be hard to specify correctly when there are many variables or their relationships are poorly understood.
- Under MNAR, the parameters of the missingness model are not determined by the observed data alone, so results depend on assumptions that cannot be checked against the data.
- Computationally demanding, because the sampler must explore the parameters and every missing value jointly; the cost grows with the amount of missing data.
- Convergence checks are harder, since the chain includes many latent values, and poor mixing for the missing values can go unnoticed if only the parameters are monitored.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Propagates uncertainty about missing values into parameter estimates and predictions through marginalisation, rather than treating imputed values as known.
- Handles MAR and MNAR mechanisms within one joint model, so the missingness assumptions are written down explicitly.
- Avoids the bias that listwise deletion can introduce when missingness depends on observed variables.
- Credible intervals reflect both sampling noise and missingness uncertainty, conditional on the assumed model being adequate.
- Can use informative priors on the parameters to stabilise estimates when much of the data is missing.
Applications
- Longitudinal clinical trials with patient dropout, where MNAR mechanisms must be modelled and sensitivity analyses reported.
- Survey research with item non-response, propagating imputation uncertainty into regression or structural models.
- Epidemiological cohort studies where covariates are partially measured due to assay costs or loss to follow-up.
- Educational assessment models with partially observed test scores or student background variables.
- Financial panel models with intermittent reporting gaps, requiring joint imputation of missing returns and parameter estimation.
- Ecological studies where species detection is imperfect and non-detection must be modelled as missing rather than absent.
How it works
How it works
Classify the missing-data mechanism as missing completely at random (MCAR), missing at random (MAR), or missing not at random (MNAR). Under MCAR or MAR, when the parameters of the data model and of the missingness model are distinct, the missingness process can be left out of likelihood-based inference. Under MNAR, a model for the missingness itself must be included, and this is where the analysis is most sensitive to assumptions.
Write the joint posterior over the parameters theta and the missing values Y_mis, conditional on the observed data Y_obs. By Bayes' rule it is proportional to the complete-data likelihood times the prior on theta. Under MNAR the likelihood must also include the missingness model, which this expression does not show.
Formula
p(\theta, Y_{\text{mis}} \mid Y_{\text{obs}}) \propto p(Y_{\text{obs}}, Y_{\text{mis}} \mid \theta)\, p(\theta)Apply a data-augmentation or MCMC scheme, such as Gibbs sampling or Hamiltonian Monte Carlo. Each iteration draws the missing values from their conditional distribution given the current parameters and observed data, producing a completed dataset, and then draws new parameters from the complete-data posterior. The two steps are repeated until the chains mix. The missing values have no separate prior; they are drawn from what the model implies for them.
Run several chains from dispersed starting points and check convergence with diagnostics such as R-hat and effective sample size, applied to the parameters and to a sample of the imputed values. Once the chains have converged, the retained draws of the missing values form a distribution of plausible completions consistent with the observed data and the model. This is similar in spirit to multiple imputation, but both steps are carried out within a single model.
Summarise the posterior of each parameter of interest by averaging over the sampled completions of the missing values, which is the Monte Carlo approximation of the integral. This carries the uncertainty from missingness into credible intervals, predictions and model comparisons. The result is only as valid as the joint model and the missingness assumptions.
Formula
p(\theta \mid Y_{\text{obs}}) = \int p(\theta, Y_{\text{mis}} \mid Y_{\text{obs}})\, dY_{\text{mis}}Common pitfalls
- Assuming MAR without a sensitivity analysis under MNAR: the mechanism cannot be tested from the observed data, so conclusions can change materially when it is altered.
- Reporting posterior summaries without checking convergence. Trace plots, R-hat and effective sample size should be inspected for the parameters and for a sample of the imputed values, not only for the parameters.
- Adding a separate prior to the missing values. Missing values are latent quantities drawn from the distribution the model implies given the parameters; an extra prior on them can conflict with that model and pull imputed values toward implausible regions.
- Confusing Bayesian imputation with frequentist multiple imputation. The two differ in how uncertainty is combined and in the assumptions each encodes, so their results should not be treated as interchangeable.
- Skipping posterior predictive checks. Comparing posterior predictive distributions with the observed marginals helps detect misspecification of the joint model, including its missing-data component.
Frequently asked questions
How does Bayesian imputation differ from multiple imputation (MI)?
Multiple imputation draws several completed datasets separately and analyses each, combining results with Rubin's rules — a two-stage approximation. Bayesian inference with missing data integrates imputation and estimation in a single MCMC algorithm, so uncertainty propagation is exact within the model and no combining rules are needed. The Bayesian approach is more coherent but requires fitting one joint model rather than an imputation model and an analysis model separately.
Can I use this approach when the missing-data mechanism is MNAR?
Yes, but you must specify and fit a model for the missingness mechanism itself, linking the probability of being missing to the unobserved values. Because MNAR assumptions are untestable from the observed data, sensitivity analysis over plausible MNAR models is essential. Simply ignoring the mechanism and hoping results are robust is not acceptable under MNAR.
What algorithm is typically used to sample the joint posterior?
Data augmentation (Tanner and Wong 1987) is the classical approach, alternating between imputing missing values and sampling parameters. Probabilistic programming systems such as Stan and PyMC can fit such models when continuous missing values are declared as unknown parameters. Discrete missing values usually need to be marginalised out or handled by a sampler that supports discrete latent variables, and support varies by system, so check the documentation of your chosen software before use.
How do I assess whether my MCMC has converged when missing values are part of the sampler?
Monitor R-hat and effective sample size for the model parameters of primary interest as well as for a representative sample of the imputed values. Trace plots for the imputed variables should show good mixing. If the fraction of missing data is high the effective sample size can drop sharply, requiring longer chains.
Is Bayesian inference with missing data appropriate for large datasets?
Full MCMC over a joint posterior that includes all missing values can be prohibitively slow for large datasets with high missingness rates. Variational inference or amortised approaches can reduce cost, but may underestimate posterior variance. For very large problems, multiple imputation followed by analysis is often a pragmatic compromise.
Related methods
Sources
Little, R. J. A. & Rubin, D. B. (2002). Statistical Analysis with Missing Data (2nd ed.). Wiley-Interscience.
ISBN: 978-0471183860Gelman, A., Carlin, J. B., Stern, H. S., Dunson, D. B., Vehtari, A. & Rubin, D. B. (2013). Bayesian Data Analysis (3rd ed.). CRC Press.
ISBN: 978-1439840955