Quant Memo
Advanced

Modes of Convergence for Random Variables

Four different meanings of "the estimator settles down" — almost sure, in probability, in mean square, and in distribution. They are not interchangeable, they sit in a strict hierarchy, and picking the wrong one is how proofs and simulations quietly go wrong.

Prerequisites: The Law of Large Numbers, The Central Limit Theorem

Every result you rely on has a limit hiding in it. The law of large numbers says a sample mean settles on the truth. The central limit theorem says a standardised sum settles on a bell curve. Your Monte Carlo pricer says more paths give a better answer. All three say "settles", and none of them mean the same thing by it — so feeding one theorem's notion of settling into another's is a mistake that is hard to see and easy to ship.

Four ways a class can improve

Picture a large class taking a spelling test every week, forever. In week nn, student ω\omega scores an error count Xn(ω)X_n(\omega). Ask in four ways whether the class is "getting to zero errors".

  1. Every student personally gets there and stays. Follow one student down the years: at some point they stop making mistakes and never make another. This is almost sure convergence — about individual life stories.
  2. At any given moment, hardly anyone is failing. In week 1000 the fraction with errors is tiny, but no individual is promised anything: a given student might relapse, briefly, forever. This is convergence in probability — about snapshots.
  3. The average squared error shrinks. Square everyone's error count and average over the class; that number goes to zero. This is convergence in mean square (L2L^2), unforgiving of rare disasters: one student scoring a million ruins the average even if everyone else is perfect.
  4. The shape of the results settles. The weekly histogram stops changing, even though which student holds which score keeps shuffling. This is convergence in distribution — about the pattern, not anybody in it.

Everything below is those four sentences in symbols.

The definitions

Throughout, X1,X2,X3,X_1, X_2, X_3, \dots is a sequence of random variables, XX is the target, ω\omega is one scenario (one student), nn is the step number, and ε\varepsilon (epsilon) is any tolerance you name, however small.

Almost surely (XnXX_n \to X a.s.):

P ⁣(limnXn=X)=1.P\!\left( \lim_{n \to \infty} X_n = X \right) = 1 .

The set of scenarios in which the sequence genuinely converges has probability one. The limit is taken inside, scenario by scenario.

In probability (XnPXX_n \xrightarrow{P} X): for every ε>0\varepsilon > 0,

limnP(XnX>ε)=0.\lim_{n \to \infty} P\big( |X_n - X| > \varepsilon \big) = 0 .

However tight a tolerance you name, the chance of being outside it at step nn shrinks to zero. The limit is now outside, on the probability.

In mean square (L2L^2):

limnE ⁣[XnX2]=0.\lim_{n \to \infty} E\!\left[ \, |X_n - X|^2 \, \right] = 0 .

The average squared miss shrinks to zero. This is the one that mean-squared-error and variance arguments use.

In distribution (XndXX_n \xrightarrow{d} X): writing FnF_n for the cumulative distribution function of XnX_n and FF for that of XX,

Fn(x)F(x)at every x where F is continuous.F_n(x) \longrightarrow F(x) \quad \text{at every } x \text{ where } F \text{ is continuous.}

The probability of landing below any level settles down. Note the variables need not live on the same probability space at all — only their laws are compared.

How they rank

mean square almost sure in probability in distribution arrows run one way only crossed link: neither implies the other
The hierarchy. Almost sure and mean square are the two strong modes; each forces convergence in probability, which in turn forces convergence in distribution. No arrow runs backwards, and the two strong modes do not imply one another.

Convergence in distribution is the weakest of the four: implied by all the others, implying none. It is what the central limit theorem delivers. The strong law of large numbers delivers almost sure convergence and the weak law delivers only convergence in probability — that is the entire difference between the two versions.

Worked example 1: in probability but never almost surely

Let ω\omega be drawn uniformly from [0,1][0,1] — think of it as picking one student at random. Sweep a block across the interval in rounds, setting Xn=1X_n = 1 inside the current block and 0 outside:

  • Round 1: X1=1X_1 = 1 on all of [0,1][0,1].
  • Round 2: X2=1X_2 = 1 on [0,12][0, \tfrac{1}{2}]; X3=1X_3 = 1 on [12,1][\tfrac{1}{2}, 1].
  • Round 3: X4X_4 on [0,13][0,\tfrac{1}{3}]; X5X_5 on [13,23][\tfrac{1}{3},\tfrac{2}{3}]; X6X_6 on [23,1][\tfrac{2}{3},1].
  • Round kk: kk blocks of width 1k\tfrac{1}{k}, together covering the whole interval.
the block sweeps across, then shrinks n=1n=2 n=3n=4 n=5n=6 11/21/2 1/31/31/3 this ω is hit once every round
Widths on the right are the probability that X_n equals 1, and they march to zero — convergence in probability. But the dashed scenario, like every other, is caught by the block once in every round, so its own sequence never settles.

Does it converge in probability to 0? Take any tolerance, say ε=0.5\varepsilon = 0.5. Then P(Xn0>0.5)=P(Xn=1)P(|X_n - 0| > 0.5) = P(X_n = 1), the width of the current block. Rounds finish at steps 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, 66, 78, 91, 105, so n=100n = 100 sits in round 14 with width 1/140.07141/14 \approx 0.0714, and n=1000n = 1000 sits in round 45 with width 1/450.02221/45 \approx 0.0222. These go to zero, so yes: XnP0X_n \xrightarrow{P} 0.

Does it converge almost surely to 0? Fix a scenario, say ω=0.6\omega = 0.6. Round 1's block covers everything, so X1(0.6)=1X_1(0.6) = 1. Round 2's block [12,1][\tfrac{1}{2},1] contains 0.60.6, so X3(0.6)=1X_3(0.6) = 1. Round 3's block [13,23][\tfrac{1}{3},\tfrac{2}{3}] contains 0.60.6, so X5(0.6)=1X_5(0.6) = 1. Every round covers the whole interval, so every ω\omega is hit exactly once per round, forever: the sequence Xn(0.6)X_n(0.6) reads 1,0,1,0,0,1,0,1, 0, 1, 0, 0, 1, 0, \dots and never settles. The probability of convergence is 00, not 11. No almost sure convergence.

In one line: in probability means the failures get rare; almost surely means the failures stop. Rare is not finished.

The friendly direction: a running average of independent draws does settle permanently, for essentially every path. Add samples in the explorer below and watch the running mean stop wandering, while the shaded 1/n1/\sqrt{n} envelope shows the rate at which the "in probability" statement tightens.

Convergence explorer
true meansamples →
after n = 200estimate -0.025error 0.025std error 0.071

Worked example 2: almost surely but not in mean square

Now the other gap. Define XnX_n to be the number nn with probability 1/n21/n^2, and 00 otherwise. Work out the two quantities directly:

nnP(Xn=n)P(X_n = n)E[Xn]=n1n2E[X_n] = n \cdot \frac{1}{n^2}E[Xn2]=n21n2E[X_n^2] = n^2 \cdot \frac{1}{n^2}
100.010.1001
1000.00010.0101
10000.0000010.0011

Almost sure? Add up the chances of a non-zero value: n=11/n2=π2/61.645\sum_{n=1}^{\infty} 1/n^2 = \pi^2/6 \approx 1.645, a finite total. The first Borel-Cantelli lemma says that when those probabilities sum to something finite, only finitely many of the events happen — so in almost every scenario XnX_n is eventually zero forever. Yes, Xn0X_n \to 0 almost surely.

In mean square? Read the last column: E[Xn2]=1E[X_n^2] = 1 for every single nn. It never shrinks. No.

The middle column shows E[Xn]=1/n0E[X_n] = 1/n \to 0, so the sequence does converge in L1L^1 while failing in L2L^2. The culprit is the squaring: a miss of size nn arriving with probability 1/n21/n^2 is negligible on average, but squaring turns nn into n2n^2 and exactly cancels the shrinking probability. Rare-but-huge outcomes are invisible to the mean and fatal to the mean square — the same reason a strategy with a fine average return can still break a variance-based risk model.

Worked example 3: distribution convergence proves nothing about closeness

Let XX be a standard normal and set Xn=XX_n = -X for every nn. The standard normal is symmetric, so X-X is also standard normal: every XnX_n has exactly XX's distribution and XndXX_n \xrightarrow{d} X trivially.

But the gap XnX=XX=2X|X_n - X| = |-X - X| = 2|X| does not depend on nn at all. Pick ε=1\varepsilon = 1:

P(XnX>1)=P(X>0.5)=2(1Φ(0.5))=2(10.6915)=0.617.P\big( |X_n - X| > 1 \big) = P\big( |X| > 0.5 \big) = 2\big(1 - \Phi(0.5)\big) = 2(1 - 0.6915) = 0.617 .

That probability sits at 0.6170.617 forever, so XnX_n converges in distribution to XX while being, with better-than-even odds, more than a unit away from it. Convergence in distribution compares laws, not values.

Almost sure and mean square are the strong modes; each implies in probability, which implies in distribution. Nothing runs backwards, and the two strong modes do not imply each other. When someone says an estimator "converges", ask in which mode — the answer decides which theorems you may use next.

What this means in practice

  • Which law of large numbers you have. The strong law gives almost sure convergence, so a single long simulation run is guaranteed to settle. The weak law gives only convergence in probability: a long run is probably close, not that a particular run stops wandering. For Monte Carlo you want the strong version, and independent draws with a finite mean give it.
  • Consistency versus asymptotic normality. "Consistent" is convergence in probability to the true parameter; "asymptotically normal" is convergence in distribution of the rescaled error. Different claims, different uses.
  • Combining limits. Convergence in distribution does not survive addition or multiplication on its own — you need Slutsky's theorem or the continuous mapping theorem.
  • Swapping limits and expectations. Convergence in probability does not give E[Xn]E[X]E[X_n] \to E[X]; worked example 2 is the counterexample. That step needs dominated convergence or uniform integrability.
  • Fat tails. Mean square convergence needs finite second moments. Where the variance is questionable, L2L^2 arguments and the standard errors built on them are unavailable, however clean the code looks.

The most expensive mistake is treating convergence in distribution as though it said the random variables are getting close. It does not. XndXX_n \xrightarrow{d} X and YndYY_n \xrightarrow{d} Y together tell you nothing about Xn+YnX_n + Y_n: the joint behaviour is unconstrained. Bootstrap intervals, delta-method standard errors and CLT-based statistics all rest on distribution convergence, so any step that assumes the variables themselves are nearby needs Slutsky's theorem to justify it. The second slip: "with probability approaching 1" is not "eventually always" — worked example 1 fails infinitely often in every scenario while satisfying the first phrase perfectly.

Diagnose the mode by asking where the limit sign sits. Inside the probability, applied to one scenario's path? Almost sure. Outside, applied to a probability? In probability. Applied to an expectation of a squared error? Mean square. Applied to a cumulative distribution function? In distribution.

Related concepts

Practice in interviews

Further reading

  • Williams, Probability with Martingales (ch. 7, 13)
  • van der Vaart, Asymptotic Statistics (ch. 2)
ShareTwitterLinkedIn