Math 2.0

Numerical analysis Definition

Markov chain Monte Carlo

Builds on Markov chainTransition matrixStationary distributionDetailed balanceMetropolis–Hastings algorithmConvergence to equilibrium of ergodic Markov chainsRandom walk

Definition

Let SS be a countable set, let π\pi be a probability distribution on SS, and let f ⁣:S→ℝf \colon S \to \R be bounded. A Markov chain Monte Carlo method for estimating π(f)=∑x∈Sf(x)π(x)\pi(f) = \sum_{x \in S} f(x) \pi(x) consists of:

  1. a transition matrix PP on SS such that π\pi is a stationary distribution of PP and the chain with transition matrix PP is irreducible;
  2. a Markov chain (Xk)k≥0(X_k)_{k \ge 0} with transition matrix PP, simulated from some starting state;
  3. the estimator π^n(f)=1n∑k=1nf(Xk)\hat{\pi}_n(f) = \frac{1}{n} \sum_{k=1}^{n} f(X_k), computed for a large nn.

Remarks

By the ergodic theorem for irreducible chains with a stationary distribution, π^n(f)→π(f)\hat{\pi}_n(f) \to \pi(f) almost surely as n→∞n \to \infty, for every starting state. The usual way to obtain clause 1 is to impose detailed balance for π\pi, as the Metropolis–Hastings algorithm does. In practice the first steps, the burn-in, are often discarded, and if the chain is also aperiodic then the law of XkX_k tends to π\pi by the convergence theorem. Example: on S=ℤS = \Z with π(x)∝e−x2\pi(x) \propto e^{-x^2}, propose x±1x \pm 1 with probability 1/21/2 each and accept with probability min⁡(1,π(y)/π(x))\min(1, \pi(y)/\pi(x)). This chain is irreducible and satisfies detailed balance for π\pi. Non-example: the simple random walk on the path {1,…,m}\set{1, \ldots, m}, which moves to a uniform neighbour, has stationary law proportional to the degrees. So its averages estimate expectations under that law, not under the uniform law, and it fails clause 1 for uniform π\pi when m≥3m \ge 3.

Reading path

To understand this page from the ground up, read these 60 pages in order. The foundations come first.

  1. Construction of the reals from Cauchy sequences concept
  2. Coupling concept
  3. Detailed balance concept
  4. Element definition
  5. Integers object
  6. Markov chain mixing time concept
  7. Metropolis–Hastings algorithm concept
  8. Ordered field definition
  9. Proposition concept
  10. Random experiment concept
  11. Random walk concept
  12. Rational numbers object
  13. Real numbers object
  14. Recurrence and transience of states concept
  15. Stationary distribution concept
  16. Transition matrix concept
  17. Set definition
  18. Ring of integers statement
  19. Disjunction definition
  20. Implication definition
  21. Predicate definition
  22. Ordered pair definition
  23. Union definition
  24. Existential quantifier definition
  25. Universal quantifier definition
  26. Sample space definition
  27. The rationals form a field statement
  28. Cartesian product definition
  29. Subset definition
  30. Uniqueness quantifier definition
  31. The rationals form an ordered field statement
  32. Binary relation definition
  33. Universal set definition
  34. Power set definition
  35. Order on the reals definition
  36. Function definition
  37. Complement definition
  38. Interval definition
  39. Injective function definition
  40. Preimage of a set definition
  41. Sigma-algebra definition
  42. Countable set definition
  43. Event definition
  44. Borel sigma-algebra definition
  45. Probability axioms concept
  46. Probability measure definition
  47. Probability space definition
  48. Conditional probability definition
  49. Random variable definition
  50. Independence of two events definition
  51. Discrete random variable definition
  52. Stochastic process concept
  53. Random variable with a density definition
  54. Conditional independence definition
  55. Expected value definition
  56. Conditional expectation definition
  57. Markov property definition
  58. Markov chain definition
  59. Convergence to equilibrium of ergodic Markov chains statement
  60. Markov chain Monte Carlo definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Markov_chain_Monte_Carlo
About this page
TagMECCMT61DV
URIm2://MECCMT61DV
Kinddefinition
WritingW0 stub
MSC65C05, 60J22, 65C40
DefinesMarkov chain Monte Carlo
UsesMarkov chain, Transition matrix, Stationary distribution, Detailed balance, Metropolis–Hastings algorithm, Convergence to equilibrium of ergodic Markov chains, Random walk
Changed2 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.