Home Statistical Dictionary Ergodic Markov Chain

Ergodic Markov Chain

An irreducible, aperiodic, positive recurrent Markov chain, whose state distribution converges to a unique stationary distribution regardless of where it started, and whose long-run time-average behavior matches that stationary distribution.

Stochastic ProcessesIntermediateFree

In Plain English

An ergodic Markov chain is the well-behaved case statisticians hope for: no matter which state it starts in, given enough time it 'forgets' its starting point and settles into one single, predictable long-run pattern of behavior. This is exactly the property Markov Chain Monte Carlo relies on, an MCMC sampler is deliberately engineered to be an ergodic chain whose unique stationary distribution is the target posterior distribution a Bayesian analyst wants to sample from.

Definition

A Markov chain is ergodic if it is irreducible, aperiodic, and positive recurrent (for a finite state space, irreducibility and aperiodicity alone imply positive recurrence, so the condition simplifies to just those two). An ergodic chain has a unique stationary distribution , and the -step transition probabilities converge to it regardless of starting state, as for every . Ergodicity also delivers a law-of-large-numbers-style guarantee (the ergodic theorem for Markov chains): the long-run time-average of a function along a single realized chain trajectory converges almost surely to its expectation under , . This second guarantee is precisely why a single, sufficiently long MCMC chain can be used to estimate posterior expectations.

Formula

Notation

—The unique stationary distribution the chain converges to
—Expectation of a function $f$ under the stationary distribution $\pi$

Properties

  • Ergodicity delivers two related but distinct guarantees: convergence of the state distribution to regardless of starting point, and a law-of-large-numbers-style guarantee that a single long trajectory's time-average matches the -expectation, the second is what makes practical MCMC estimation valid from one chain.
  • In practice, MCMC algorithm designers don't verify ergodicity from first principles for every model, standard algorithms like Metropolis-Hastings and Gibbs sampling are constructed with built-in irreducibility and aperiodicity guarantees under mild, generally-satisfied conditions on the target distribution.
  • Even a theoretically ergodic chain can converge to its stationary distribution extremely slowly in practice (poor 'mixing'), this is why MCMC diagnostics like trace plots and effective sample size exist, ergodicity guarantees eventual convergence, not fast convergence.

At a Glance

Requiresirreducibility + aperiodicity + positive recurrence
Convergence guarantee regardless of starting state
Time-average guaranteeone long trajectory's time-average converges to the -expectation
Primary applicationthe theoretical foundation MCMC sampling relies on
Last updated September 8, 2026← Back to the Dictionary