Convergence of Random Variables
There are four ways for randomness to settle down: paths lock on, moments lock on, big deviations get rare, or only the distribution matches.
Why Does This Exist?
"More data helps" is too vague to prove anything. Does the estimate itself settle, do its moments settle, or does only its histogram settle? Each answer licenses different conclusions: deploying a model needs paths to settle, reporting an error bar needs the distribution to settle.
The four modes separate these claims. Estimation consistency is usually convergence in probability. The strong law is almost sure. Mean-squared-error analysis is . Confidence intervals from the central limit theorem are convergence in distribution. Mixing them up is how people claim path guarantees from a CLT.
The one idea you need first
A random variable is a function on outcomes, so a sequence is a sequence of functions. Convergence can mean the values settle for each outcome, or only some average of them settles. The four modes pick which.
Think of It Like This
Darts players converging differently
Four players throw at a bullseye. Ana's darts physically cluster tighter each round: paths converge. Ben's average distance shrinks though stray darts still fly: moments converge. Carla still throws wild ones, but wild throws get rarer: convergence in probability. Dana's throws look like Ana's in aggregate photos, though no single dart behaves: convergence in distribution.
Betting on one specific dart favors Ana. Betting on the photo favors Dana too. Where it stops: darts are independent efforts, while estimators share data, so their joint behavior needs more than the picture.
How It Actually Works
For :
- Almost surely (a.s.): . Every path settles except a null set.
- In : . The -th moment of the error vanishes; is mean square.
- In probability: for every , . Deviations get rare.
- In distribution: at continuity points of . Only laws meet.
The hierarchy
Almost sure in probability. in probability. In probability in distribution. Nothing else holds without extra assumptions: a.s. does not give (mass can escape to infinity), and in distribution does not give in probability (variables may live on different spaces).
Worked example
Let with probability and otherwise. Fix : , so in probability. Also , so holds too. At the spike probability is exactly . Yet with independent copies, diverges, so spikes recur forever and almost-sure convergence to 0 fails. One number, , separates three modes from the fourth.
Code
import numpy as np
rng = np.random.default_rng(2)for n in [10, 100, 1000, 10000]: draws = rng.random(n) < 1 / n # spike with prob 1/n print(n, round(float(draws.mean()), 5)) # -> ~0.1, 0.01, 0.001, 0.0001Empirical spike rates track : about 0.1, 0.01, 0.001, 0.0001. Rare does not mean eventually absent.
Watch Out For
Upgrading the CLT to a path claim
The CLT gives convergence in distribution of standardized means. It says nothing about any single dataset's mean path, and moments need not converge. Teams sometimes ship "the estimate is now normal" and act as if paths settled.
Use the CLT for intervals and p-values only. For path claims, prove consistency in probability or a strong law instead.
Assuming a.s. gives moment convergence
A sequence can converge on every path while its moments explode: picture spikes of height with probability . Paths still go to 0, but forever. Bounded or uniformly integrable families close this gap; bare a.s. does not.
Check tails before swapping limits and expectations. If extremes grow as probability shrinks, compute the moment directly.
The Quick Version
- Four modes: almost sure controls paths, controls moments, in probability controls rare deviations, in distribution controls laws.
- The hierarchy runs a.s. and into in-probability into in-distribution, one way only.
- with probability converges in probability and to 0 but spikes forever almost surely.
- Consistency of estimators is usually convergence in probability; intervals come from convergence in distribution.
- The CLT never promises path or moment convergence by itself.
- Almost sure convergence needs extra integrability before moments follow.