Markov chain Monte Carlo Created 2026-09-24 Updated 2026-11-05
Markov chain Monte Carlo estimates expectations under a target probability distribution by simulating a Markov chain that preserves . For an integrable observable , the assumptions of a Markov-chain law of large numbers justify
almost surely. A Gibbs sampler preserves the target through full conditional distributions; a Metropolis–Hastings algorithm proposes a move and accepts or rejects it using a ratio of target and proposal densities. The unknown normalization constant cancels from that ratio, which makes unnormalized Bayesian posterior densities usable.
Successive states are generally dependent, so Monte Carlo precision depends on the observable's integrated autocorrelation time, rather than the raw iteration count alone. Burn-in can reduce initial-state effects but is not a proof of convergence. A correct stationary distribution also does not ensure rapid exploration: isolated modes or strong dependence can produce a long mixing time. Markov chain Monte Carlo convergence diagnostics investigate these limitations.
The summand intended in the question is . Under stationarity,
Moreover , so the summand is bounded by . A stationary geometrically ergodic Markov chain satisfies the Markov-chain law of large numbers; hence
almost surely, and therefore in probability. In particular,
Tempered Gibbs sampler Created 2026-10-03 Updated 2026-11-05
Tempered Gibbs sampling combines modified full conditional distributions with state-dependent coordinate selection and importance sampling. For a positive target density , choose strictly positive normalized densities with compatible support, and define
Select coordinate proportionally to and redraw it from . The invariant density is , not generally . For a move changing only coordinate , stationary transition weights are proportional to , symmetric in old and new values. Integrating also shows .
Under the appropriate Markov-chain law of large numbers, weighted averages with weights recover expectations under . Flattening a conditional can encourage longer moves, but omitting the weights changes the estimand. The need not be full conditionals of a common second joint distribution.[ref]