Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Bayesian›Metropolis-Hastings with Missing Data
Bayesian methodsBayesian / computational

Metropolis-Hastings with Missing Data

Metropolis-Hastings Algorithm with Missing Data Augmentation · Also known as: MH with missing data, Metropolis-Hastings data augmentation, MCMC missing data imputation, MH data-augmentation sampler

Metropolis-Hastings with missing data treats unobserved values as latent variables and samples them jointly with model parameters inside a single MCMC chain. By augmenting the target distribution to include both parameters and missing values, the algorithm yields properly calibrated posterior inference without discarding incomplete cases or requiring a separate imputation step.

ScholarGate
  1. Bayesian methods
  2. v1
  3. 2 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Metropolis-Hastings with Missing Data
Bayesian Inference with…Data AugmentationGibbs Sampling with Miss…Hamiltonian Monte Carlo…Metropolis-Hastings Algo…Multiple Imputation

When to use it

Use this method when your Bayesian model has missing observations and you want inference that fully accounts for missingness uncertainty rather than discarding incomplete cases (complete-case analysis) or plugging in a single imputed value. It is especially appropriate when data are missing at random (MAR) or when the missingness mechanism is modelled explicitly (MNAR). It is less suitable when missingness is negligible, when the dataset is very large and a fast approximate method suffices, or when a closed-form Gibbs update is available for all blocks — in that case pure Gibbs sampling is simpler and more efficient.

Strengths & limitations

Strengths
  • Produces a single, coherent posterior that simultaneously estimates parameters and propagates missing-data uncertainty.
  • Requires no ad hoc imputation step before the main analysis; imputation is integrated into the MCMC loop.
  • Applicable to virtually any parametric model, including non-conjugate and hierarchical models, because only the likelihood ratio is needed.
  • Correctly handles data missing at random (MAR) and, with an explicit missingness model, missing not at random (MNAR).
  • Posterior predictive checks and model comparison (WAIC, LOO-CV) remain straightforward because full posteriors are available.
Limitations
  • Computationally expensive: each iteration must impute all missing values as well as update parameters, which is costly with many missing cells.
  • Proposal tuning is critical; a poorly scaled random-walk proposal mixes slowly, especially in high-dimensional missing-data problems.
  • Convergence diagnostics (R-hat, effective sample size) must be checked for both parameter and imputation chains.
  • When the fraction of missing data is high the posterior can be dominated by the prior, making prior sensitivity analysis essential.
  • MNAR models require a correctly specified missingness mechanism, which is usually unverifiable from the observed data alone.

Frequently asked

How is this different from multiple imputation followed by pooled analysis?

Multiple imputation (MI) separates imputation from analysis: m imputed datasets are created, analysed independently, and results are pooled with Rubin's rules. Metropolis-Hastings with data augmentation integrates both steps into a single MCMC chain, which is more coherent for complex or hierarchical models where the imputation and analysis models must be fully compatible. For simpler models the two approaches give similar results.

Do I need to model the missingness mechanism explicitly?

Only if data are missing not at random (MNAR). If missingness depends only on observed variables (MAR), the mechanism is ignorable and you need only model the complete-data likelihood. For MNAR you must specify and fit a joint model for data and missingness, which is rarely identifiable without strong assumptions.

How do I diagnose convergence when missing values are also being sampled?

Run multiple chains from dispersed starting values and compute R-hat and effective sample size (ESS) for both model parameters and a summary of imputed values (e.g. the fraction missing or imputed means). Values of R-hat below 1.01 and ESS above a few hundred for all monitored quantities are reassuring.

Can Stan or JAGS handle this automatically?

JAGS handles missing data natively by treating NA nodes as additional unknowns sampled within the MCMC loop. Stan requires explicit declaration of missing-data parameters and an augmented likelihood. Both approaches implement the same statistical principle: data augmentation inside MCMC.

What acceptance rate should I target?

For a random-walk Metropolis-Hastings proposal on a continuous parameter block, theoretical results suggest targeting roughly 23% acceptance in high dimensions and up to 44% for a single scalar parameter. Adaptive MCMC schemes adjust the proposal covariance during warm-up to hit these targets automatically.

Sources

  1. 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.2307/2289457 ↗
  2. Gelman, 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

How to cite this page

ScholarGate. (2026, June 3). Metropolis-Hastings Algorithm with Missing Data Augmentation. ScholarGate. https://scholargate.app/en/bayesian/metropolis-hastings-with-missing-data

Related methods

Bayesian Inference with Missing DataData AugmentationGibbs Sampling with Missing DataHamiltonian Monte Carlo with Missing DataMetropolis-Hastings AlgorithmMultiple Imputation

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 Inference with Missing DataBayesian↔ compare
  • Data AugmentationDeep learning↔ compare
  • Gibbs Sampling with Missing DataBayesian↔ compare
  • Hamiltonian Monte Carlo with Missing DataBayesian↔ compare
  • Metropolis-Hastings AlgorithmBayesian↔ compare
  • Multiple ImputationStatistics↔ compare
Compare side by side →

Similar methods

MCMC with missing dataBayesian Inference with Missing DataHamiltonian Monte Carlo with Missing DataGibbs Sampling with Missing DataBayesian Hierarchical Model with Missing DataApproximate Bayesian Computation with Missing DataMarkov Chain Monte CarloMetropolis-Hastings Algorithm

Related reference concepts

Gibbs SamplingMetropolis-Hastings AlgorithmBayesian Computation and MCMCMarkov Chain Monte CarloEM AlgorithmGibbs Sampling (Statistical Computing)

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Metropolis-Hastings with Missing Data (Metropolis-Hastings Algorithm with Missing Data Augmentation). Retrieved 2026-07-21 from https://scholargate.app/en/bayesian/metropolis-hastings-with-missing-data · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Metropolis et al. (1953); missing-data extension formalised by Tanner & Wong (1987)
Year
1953 / 1987
Type
MCMC sampler with latent-variable augmentation
DataType
any data with partially observed variables (continuous, categorical, mixed)
Subfamily
Bayesian / computational
Related methods
Bayesian Inference with Missing DataData AugmentationGibbs Sampling with Missing DataHamiltonian Monte Carlo with Missing DataMetropolis-Hastings AlgorithmMultiple Imputation
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account