Definition
Markov Chain Monte Carlo (MCMC) is a method to sample from a distribution by constructing a time reversible Markov chain.
Interpretation
Directly sampling from a complex high-dimensional distribution is often impossible. MCMC solves this by constructing a Markov chain whose stationary distribution equals . After running the chain long enough (burn-in), the states visited approximate samples from .
Metropolis-Hastings Algorithm
Given current state :
- Propose a candidate jump to from proposal distribution (e.g., symmetric random walk: )
- Accept with probability: If accepted: move to . If rejected: stay at (count again as a sample).
The acceptance ratio corrects for the proposal bias: if is more “desirable” under , accept more often; if less, accept less often. This ensures is the stationary distribution.