We have arrived at the quiet miracle that makes the whole subject work. A
The answer is ergodicity: the property that lets you swap an average across the
ensemble for an average along time. When a process is ergodic, one long enough sample path
visits its states in the right proportions, so the time average you can compute converges to the
ensemble average you want. Every time you estimate a mean by
Fix the idea with the two averages side by side. The ensemble average at time
while the time average of your one observed path of length
These are conceptually completely different operations — one sweeps sideways across universes, the
other marches forward through one universe. Ergodicity is precisely the statement that, for a
The intuition is memory. If distant observations are nearly uncorrelated, a long series contains many
effectively independent chunks, and averaging them behaves like the law of large numbers —
The top figure shows the running time-average
The bottom figure shows the process that breaks it, and it is worth staring at.
Three realizations of
Make the failure precise with
So
which equals the frozen
It is dangerously easy to treat "stationary" and "ergodic" as synonyms — most well-behaved textbook examples are both, so the distinction rarely bites in practice, and then one day it does. They are genuinely different properties. Stationarity is about the ensemble: the process's laws don't change over time. Ergodicity is about whether one path can recover those ensemble laws by time-averaging. The frozen-constant process above is the clean counterexample: impeccably stationary, yet a single realization is stuck at one level forever and can never reveal the ensemble mean. The practical danger is real — if the thing you are studying has a persistent, path-specific component (a permanent regime, an individual fixed effect that never averages out), then no amount of additional data from that one series will estimate the ensemble quantity you care about. More history does not help when history is non-ergodic. Stationarity lets the ensemble stay still; only ergodicity lets one path stand in for the ensemble.
It was coined by the physicist Ludwig Boltzmann in the 1870s, welding together the Greek ergon (work, energy) and hodos (path). He was wrestling with a foundational question of thermodynamics: a box of gas has astronomically many molecules, and we cannot possibly track them all — yet we blithely compute the pressure as an average over all possible microscopic states (an ensemble average) and it matches what a single gauge reads over time. The "ergodic hypothesis" was Boltzmann's bold claim that a single system, left long enough, wanders through essentially all its accessible states in the right proportions, so its time average equals the ensemble average. Statistical mechanics rests on it; time-series analysis borrowed both the idea and the name. When you compute a sample mean from one series and trust it, you are Boltzmann trusting his gauge — quietly assuming the one path you have is representative of all the paths you don't.