Modes of convergence and the law of large numbers
The lesson "Convergence theorems" studied sequences of functions on a measure space and asked when the integrals follow the functions to their limit. "Expectation, variance and inequalities" turned integrals over a probability space into expectations and supplied the inequalities of Markov and Chebyshev, and "Independence and product measures" showed that the variance of a sum of independent variables is the sum of the variances. This lesson uses these tools on sequences of random variables . It first sorts out what " converges to " can mean, because for random variables there are four natural meanings and no two of them are equivalent. It then proves the weak law of large numbers, and states the strong law and the central limit theorem, which say in two different ways that averages of many independent trials settle down.
What convergence of random variables can mean
A random variable is a function , so a sequence of random variables is a sequence of functions, and sequences of functions can approach a limit in more than one way. A picture helps. Think of as a person drawn from a large population, and of as that person's measurement in round number . There are four sensible things one can ask of the rounds.
- Almost surely: each person's own measurements settle down to a limit, except for a group of people of total probability zero.
- In probability: in every single round, only a small fraction of the population is still far from the limit, although the people in that fraction may be different ones in every round.
- In mean: the average size of the error, taken over the whole population, becomes small.
- In distribution: the histogram of the measurements approaches a fixed shape, with no regard to who contributed which value.
The first mode follows individual outcomes, the second and third measure error round by round, and the fourth forgets outcomes altogether. The sections below define them one at a time. All examples live on the uniform probability space of "Probability spaces and Kolmogorov's axioms": with Lebesgue measure as , and the uniform random variable. Four sequences will recur: the powers , the spike from "Convergence theorems", the typewriter sequence built in the third section, and a sequence of sign flips described in the fifth.
Almost sure convergence
The sequence converges to almost surely (a.s.) if
In words: for all outcomes outside a null set, the ordinary sequence of numbers converges to the number . This is the idea of "almost everywhere" from "Lebesgue measure and null sets", applied to a probability measure, and it is the mode in which ordinary calculus applies, one outcome at a time.
The powers converge to 0 almost surely. For every the numbers shrink to 0, so the only outcome where convergence fails is , a single point, which is a null set. The spike converges to 0 at every outcome. For a given , the spike has moved to the left of as soon as , and from then on for good; at the value is 0 for every .
There is a useful way to say the same thing. A sequence of numbers converges to a limit exactly when, for every tolerance , only finitely many terms are farther than from the limit. So almost surely means that, for every , the event " happens for infinitely many " has probability 0. The seventh section turns this form into a tool.
Convergence in probability
The sequence converges to in probability if, for every ,
This asks about one round at a time. For each the set of bad outcomes, where is farther than from , is just a set with a probability, and that probability must shrink. It does not ask the bad sets to be the same from round to round, or to fit together into one small set. The powers show a case where it holds: , which is for and for , and tends to 0.
A second sequence shows how much weaker this mode is. The typewriter sequence sweeps an interval across , then sweeps a narrower one, and so on, like a carriage returning to the left margin after every line. Write each index as with , so that numbers the sweep and the position inside it, and let
Sweep is . Sweep 1 consists of and . Sweep 2 is the four quarters of from left to right, and so on: sweep cuts into pieces of length and visits them in order. The intervals are half-open, so that a point such as belongs to one piece of a sweep and not to two.
Then , and since as , in probability: for any , the event is the event . But look at a single outcome. Every sweep tiles , so every lies in exactly one interval of every sweep, and for one in every sweep, infinitely often in all. It also equals 0 infinitely often. The sequence of numbers keeps jumping between 0 and 1 and converges for no at all. Convergence in probability therefore does not imply almost sure convergence: in each round almost everybody is fine, but the small group that is not fine keeps moving, and visits everyone infinitely often.
The figure shows both the typewriter and the spike. The upper panel draws the function on , with the chosen outcome marked by a vertical line. The lower panel plots the values , with the nonzero ones on the upper row and the current ringed. Move and watch the block slide along and shrink as the sweeps advance; its width is . Then move and check that a dot appears on the upper row once in every sweep, whichever outcome you pick. At the defaults, and , the block is , both and equal , , and 4 of the first 10 values are nonzero. Switch to the spike: the block narrows to width and its height grows to , the expectation stays 1, and at the dots stop after .
- Xₙ ≠ 0 on
- [0.250, 0.375)
- ℙ(Xₙ ≠ 0)
- 0.125
- 𝔼Xₙ
- 0.125
- Xₙ(ω)
- 1
- Nonzero among X₁(ω), …, Xₙ(ω)
- 4
Pick a sequence, move n to slide along it, and move ω to choose the outcome. The upper panel is the function Xₙ; the dots below are X₁(ω) to X₆₃(ω), with the current n ringed and the typewriter's sweeps separated by dashed lines. Intervals are half-open, [j/2ᵏ, (j+1)/2ᵏ), so each ω lies in exactly one interval per sweep.
Convergence in mean
The sequence converges to in mean (in ) if the average distance goes to zero,
and in mean square (in ) if . More generally, convergence in asks that . These modes are about the integral of the error, so they see how large the error is as well as how likely it is. The typewriter converges to 0 in mean: . So mean convergence does not imply almost sure convergence either.
The spike gives the opposite failure. It converges to 0 at every outcome, but for every , so does not tend to 0. Almost sure convergence does not imply convergence in mean, and the cause is the one found in "Convergence theorems": all the mass of the spike escapes into a smaller and smaller set of very large values, and no integrable function dominates the sequence. In mean square it is worse, since grows without bound.
Two implications are quick. If in mean, then Markov's inequality from "Expectation, variance and inequalities" gives, for every ,
so convergence in mean implies convergence in probability. And mean square implies mean: Jensen's inequality for the convex function gives , so . The same argument shows that convergence implies convergence for every .
Convergence in distribution
The last mode forgets outcomes and keeps only the distribution functions, defined in "Random variables and their distributions". The sequence converges to in distribution if
with the distribution function of and that of . The restriction to continuity points is needed, and the reason is a simple example. The constants approach as plainly as anything can. Yet for every , while . At every the values do approach , so asking for convergence at the one jump of would exclude the most natural case.
Since only the distributions enter, this mode can hold with no relation between and as functions. Let be uniform on and . Every is uniform on too, so and in distribution trivially. But for odd we have , so , and for . For this is in every odd round, so does not converge to in probability.
A limit in distribution already met in "Random variables and their distributions" is the binomial law with many tries and a small success chance. Take tries with success probability , so that the mean number of successes is 2. The probability of no success is for , for and for , and it approaches , the probability of 0 under the Poisson law with mean 2. The same happens at every : the binomial probabilities converge to the Poisson ones.
Convergence in distribution is a statement about laws, so it needs no common probability space: a coin tossed in one experiment can converge in distribution to a normal variable defined in another. The price is that it cannot tell a symmetric variable from its negative, as the sign flips show.
How the modes relate
The examples already show that no mode is a special case of every other. The following list collects what does hold in general.
- Almost sure convergence implies convergence in probability. The outcomes where for some form sets that shrink as grows, and their intersection is the null set where the inequality holds infinitely often, so by continuity from above their probabilities tend to 0.
- Convergence in mean implies convergence in probability (Markov), and convergence in implies convergence in (Jensen).
- Convergence in probability implies convergence in distribution. The idea: if is close to with high probability, then differs from only on an event of small probability, except when sits at a jump of .
- Convergence in distribution to a constant implies convergence in probability to : jumps from 0 to 1 at , and .
Every arrow that is missing has a counterexample among the sequences above. The typewriter converges in probability and in mean but not almost surely. The spike converges almost surely but not in mean. The sign flips converge in distribution but not in probability. Almost sure convergence and convergence in mean are therefore not comparable: neither implies the other. Two later sections build bridges back. The Borel–Cantelli lemma shows that convergence in probability yields almost sure convergence along a subsequence, and uniform integrability is the missing condition that upgrades convergence in probability to convergence in mean.
The Borel–Cantelli lemma
Take events and ask for the probability that infinitely many of them happen. The first Borel–Cantelli lemma says that if the probabilities have a finite sum,
In words: if the events become unlikely quickly enough, then almost surely only finitely many of them occur. The proof counts them. Let , the number of events that occur; it takes values in . Integrating a series of nonnegative terms one term at a time is allowed, by monotone convergence from "Convergence theorems", so
A variable with finite expectation cannot be infinite with positive probability. By Markov's inequality, for every , and the right side tends to 0 as . So almost surely, which is the claim.
The typewriter shows what happens when the sum diverges. Sweep contributes events, each of probability , so each sweep contributes exactly 1 to the sum, and the sum is infinite. The lemma then says nothing, and indeed every outcome is hit infinitely often. A divergent sum does not by itself force infinitely many events: the second Borel–Cantelli lemma needs the events to be independent, which the typewriter's events are not.
Now keep only the member at the start of each sweep, , whose interval is . The probabilities are and their sum is , which is finite. By the lemma, almost every outcome lies in only finitely many of these intervals, so almost surely along this subsequence.
This is general. Suppose in probability. Choose indices so that , which is possible because these probabilities tend to 0. The sum of the bounds is finite, so almost surely from some on, and almost surely. Convergence in probability always yields almost sure convergence along some subsequence.
Uniform integrability
Convergence in probability says the error is rarely large, but a rare event can carry a lot of mean if the values on it are huge. The spike is the model case: the event has probability , and on it . Mean convergence needs a condition that rules out this escape of mass. A sequence is uniformly integrable if
In words: above a high level , no member of the sequence keeps a noticeable part of its mean, and the same works for all members at once. For the spike, equals the full mean 1 as soon as , so the supremum is 1 for every and the spike is not uniformly integrable. A sequence bounded by a constant is uniformly integrable, since for large the expectation is of a function that is identically 0. So is a sequence bounded in : on the event we have , hence , which is small for large uniformly in .
Vitali's theorem says that in exactly when in probability and the sequence is uniformly integrable. The idea of the proof is to split into the part where the values are moderate, which is small because the large errors are rare, and the part where they are large, which is small by uniform integrability. The spike fails the second condition, which explains why it fails mean convergence, and the typewriter satisfies both, since its values are bounded by 1.
A classic case where the mean disappears is the doubling bet. Toss a fair coin; use the binary digits of as in "Probability spaces and Kolmogorov's axioms", and call digit 1 a win. Stake 1 on the first toss. After each loss, double the stake; at the first win, collect it and stop. If the first win comes in round , the losses before it total and the win pays , so the gain is . If the first rounds all lose, the gain is . Writing for the gain after at most rounds,
The expectation is for every . For , the gain is with probability and with probability . Yet almost surely: the only outcome with no win at all is the all-zero digit sequence, a null set, and once a win has occurred the gain stays 1. So the pointwise limit is 1 while every mean is 0, and the sequence is not uniformly integrable: for the expectation equals , close to 1. The missing mass of 1 sits on rare, enormous losing streaks, which are invisible to almost every outcome and decisive for the mean.
The weak law of large numbers
Everything is now in place for the first theorem about averages. Let be independent random variables with the same mean and the same variance , and write for the average of the first . The mean of the average is . By "Independence and product measures", the variance of a sum of independent variables is the sum of the variances, and dividing a variable by divides its variance by , so
Chebyshev's inequality from "Expectation, variance and inequalities" turns this variance into a probability bound,
This is the weak law of large numbers: in probability. Averaging independent measurements shrinks the spread by a factor while leaving the mean in place, and shrinking spread around a fixed mean is exactly what Chebyshev's inequality can turn into a probability.
For a fair coin, let for heads and for tails. Then and , and is the frequency of heads. With tosses and the bound is : with probability at least , the number of heads lies between 450 and 550. The bound holds for every distribution with the given variance, which is why it is generous. The assumptions are also stronger than needed, since a finite mean alone is enough for the conclusion, but then the proof needs more work than one inequality.
What the weak law does not say is also worth stating. It bounds the chance of a deviation at one chosen . It makes no promise about a single infinite run of tosses, whose frequency might keep wandering out of the band, occasionally, forever. For that the next section is needed.
The strong law and the central limit theorem
The strong law of large numbers states more: if are independent, share one distribution and have a finite mean , then
For almost every outcome, the numbers of that one infinite run converge to . This is a statement about whole sequences, not about one at a time. It does not follow from Chebyshev: the bounds have the harmonic series as their sum, which diverges, so Borel–Cantelli cannot be applied. If the fourth moment is finite, a sharper estimate of order is available, its sum is finite, and Borel–Cantelli finishes the proof. The general case needs a cleverer argument that is not given here.
Applied to indicators, the strong law justifies the frequency reading of probability from "Probability spaces and Kolmogorov's axioms". If an event has probability and independent trials are made, the fraction of trials in which occurs converges to almost surely. The axioms never assumed this: they fixed a model, and the strong law is a theorem that the model's numbers are the limits of its long-run frequencies. In the coin model, the binary digits of a uniform are independent fair coins, as shown in "Independence and product measures", so for almost every the fraction of the first binary digits that equal 1 converges to . The exceptional set is not empty, since has frequency , but all exceptions together have length 0.
The central limit theorem describes the shape of the fluctuations that the laws shrink. With as before, independent with identical distribution, mean and variance , the standardised average
where is the standard normal distribution function. That is, in distribution. In words: the average differs from by an amount of order , and measured in units of that size the error looks like a standard normal variable, whatever the distribution of the individual was. The weak and strong laws say that the error goes to 0; the central limit theorem says how fast and with what shape. Since the statement is about distributions, it is a statement about convergence in distribution, and nothing is claimed about outcomes.
For the coin with and , the deviation is standard deviations of the average. The theorem then suggests that is about . The exact binomial value is , and Chebyshev's bound was , roughly sixty times too large.
The central limit theorem is a limit statement: by itself it does not promise that is accurate at . The comparison with the exact shows that here it is, and quantitative versions such as the Berry–Esseen bound put a number on the error.
Summary
- Random variables can converge almost surely (outcome by outcome), in probability (rarely far), in mean (small on average) or in distribution (similar laws); almost sure and mean convergence each imply convergence in probability, which implies convergence in distribution, and no other arrow holds in general.
- Counterexamples settle the missing arrows: the typewriter converges in probability and in mean but at no outcome; the spike converges at every outcome but not in mean; the sign flips converge in distribution but not in probability.
- The Borel–Cantelli lemma says that events with a finite probability sum happen only finitely often almost surely, and it gives almost sure convergence along a subsequence of any sequence that converges in probability.
- Uniform integrability, meaning that no member keeps mass far out, is exactly what must be added to convergence in probability to get convergence in mean; the spike and the doubling bet violate it.
- The weak law follows from Chebyshev's inequality and ; the strong law says the average converges almost surely, so frequencies converge to probabilities; the central limit theorem says the standardised average converges in distribution to .