MCMC with Missing Data
Markov Chain Monte Carlo with Missing Data · Also known as: MCMC missing data, data augmentation MCMC, Bayesian multiple imputation, MCMC imputation
MCMC with missing data is a Bayesian computational strategy that treats unobserved values as additional unknown parameters. By alternating between sampling the missing values from their predictive distribution and sampling the model parameters from their posterior, the algorithm produces a valid joint posterior that fully accounts for uncertainty introduced by the missingness.
Read the full method
Sign in with a free account to read this section.
Method map
The neighbourhood of related methods — select a node to explore.
+3 more
When to use it
Use MCMC with missing data when you are already working within a Bayesian framework and need principled handling of incomplete data under the missing at random (MAR) or missing completely at random (MCAR) assumption — common in longitudinal studies, clinical trials, and survey research. It is preferable to ad hoc deletion or single imputation because it propagates missingness uncertainty through all inferences. Do not use it when data are missing not at random (MNAR) without modeling the missingness mechanism explicitly, or when missingness is negligible (less than 5%) and a complete-case analysis would suffice. Avoid when computational budget is limited and a faster frequentist multiple imputation approach is adequate.
Strengths & limitations
- Propagates missingness uncertainty correctly into posterior distributions and credible intervals.
- Works natively within a Bayesian hierarchical or regression model without a separate imputation stage.
- Handles arbitrary missing-data patterns including multivariate missingness.
- Produces a single coherent posterior rather than combining results from multiple imputed datasets.
- Allows the missing-data model to share information with the analysis model through a joint specification.
- Requires the MAR or MCAR assumption; MNAR data need an explicit model for the missingness mechanism.
- Substantially more computationally intensive than standard MCMC on complete data, particularly with high missingness rates.
- Convergence can be slow when the fraction of missing data is large or missingness is strongly informative.
- Model misspecification for the missing-data distribution can bias inferences even more than simpler imputation approaches.
Frequently asked
How is this different from multiple imputation (MI)?
Multiple imputation generates several complete datasets, analyzes each separately, then pools results using Rubin's rules. MCMC with missing data handles imputation and inference within a single joint model and sampler, avoiding the need for pooling and ensuring the imputation and analysis models are always congenial.
Does this work if data are missing not at random (MNAR)?
Not automatically. Under MNAR the probability of a value being missing depends on the unobserved value itself, so you must explicitly model the missingness mechanism as part of the joint model. Without this, the posterior will be biased regardless of which MCMC algorithm is used.
How much missing data is too much?
There is no universal threshold, but missingness above 40-50% substantially degrades posterior precision and slows convergence. The pattern matters as much as the rate: monotone missingness (as in dropout) is generally easier to handle than arbitrary multivariate missingness.
Can I use this in Stan or PyMC?
Yes. Both Stan and PyMC support declaring missing values as latent variables to be sampled. Stan requires declaring them as parameters; PyMC handles them via masked arrays or explicit latent nodes. Either way the sampler treats them as additional unknowns automatically.
How do I know if the MCMC has converged with missing data?
Check R-hat and effective sample size for both model parameters and a representative set of the imputed values. Trace plots should show good mixing. Higher missingness typically requires longer chains; doubling the default iterations and thinning is a reasonable starting point.
Sources
- Little, R. J. A. & Rubin, D. B. (2002). Statistical Analysis with Missing Data (2nd ed.). Wiley. ISBN: 978-0471183860
- Tanner, M. A. & Wong, W. H. (1987). The calculation of posterior distributions by data augmentation. Journal of the American Statistical Association, 82(398), 528-540. DOI: 10.1080/01621459.1987.10478458 ↗
How to cite this page
ScholarGate. (2026, June 3). Markov Chain Monte Carlo with Missing Data. ScholarGate. https://scholargate.app/en/bayesian/mcmc-with-missing-data
Which method?
Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.
- Bayesian Hierarchical ModelBayesian↔ compare
- Bayesian Inference with Missing DataBayesian↔ compare
- Gibbs SamplingBayesian↔ compare
- Hamiltonian Monte CarloBayesian↔ compare
- Metropolis-Hastings AlgorithmBayesian↔ compare
- Multiple ImputationStatistics↔ compare