Technopedia

The technologist’s encyclopedia

Limit theorems

Limit theorems describe the asymptotic behavior of sequences of random variables: sums, averages, and large samples. They explain why empirical frequencies stabilize (law of large numbers), why sums of many small effects look Gaussian (central limit theorem), and how fast convergence occurs (law of the iterated logarithm). They are the bridge between finite-sample probability and the deterministic approximations used in statistics and physics.

Authoritative sources

Modes of convergence

Let XnX_n and XX be random variables on a common probability space.

Hierarchy: Lp⇒P⇒dL^p \Rightarrow P \Rightarrow d and a.s. ⇒P\Rightarrow P. None of the reverse implications hold, and a.s. convergence and LpL^p convergence are incomparable (neither implies the other).

a.s. convergence Lᵖ convergence in probability in distribution weakest: only the CDFs converge arrows are implications, not equivalences
Details

Convergence in distribution is the weakest: it only requires the CDFs to converge, not the random variables themselves. It is the natural mode for the CLT because it captures the shape of the limiting law without requiring joint construction.

A useful sufficient condition for a.s. convergence: if ∑nP(∣Xn−X∣>ε)<∞\sum_n P(|X_n - X| > \varepsilon) < \infty for every ε>0\varepsilon > 0, then Xn→XX_n \to X a.s. (Borel–Cantelli lemma).

Convergence in LpL^p is the strongest: it implies convergence of moments. In particular, L2L^2 convergence means the variance of the difference goes to zero.

Worked example (why the modes differ). Let UU be uniform on (0,1)(0,1) and define Xn=n⋅1U≤1/nX_n = n \cdot \mathbf{1}_{U \le 1/n}. Then Xn→0X_n \to 0 in probability and in distribution (for any ε>0\varepsilon > 0, P(∣Xn∣>ε)=1/n→0P(|X_n| > \varepsilon) = 1/n \to 0), but Xn↛0X_n \not\to 0 a.s. (for every outcome UU, Xn=nX_n = n infinitely often) and not in L1L^1 (since E[Xn]=1\mathbb{E}[X_n] = 1 for all nn). This single example separates all four modes.

Authoritative sources

Example sub-problem

Does Xn→PXX_n \xrightarrow{P} X together with sup⁡nE[∣Xn∣q]<∞\sup_n \mathbb{E}[|X_n|^q] < \infty for some q>pq > p imply Xn→XX_n \to X in LpL^p?

Solution

Yes. Split E[∣Xn−X∣p]\mathbb{E}[|X_n - X|^p] at a level MM: on {∣Xn−X∣≤M}\{|X_n - X| \le M\} use boundedness, on the complement use Hölder’s inequality with the qq-th moment bound:

E[∣Xn−X∣p]≤Mp P(∣Xn−X∣>ε)+E[∣Xn−X∣p1∣Xn−X∣>ε]\mathbb{E}[|X_n - X|^p] \le M^p\, P(|X_n - X| > \varepsilon) + \mathbb{E}[|X_n - X|^p \mathbf{1}_{|X_n - X| > \varepsilon}],

and the second term is bounded by E[∣Xn−X∣q]p/q P(∣Xn−X∣>ε)1−p/q→0\mathbb{E}[|X_n - X|^q]^{p/q} \, P(|X_n - X| > \varepsilon)^{1 - p/q} \to 0 as n→∞n \to \infty and then M→∞M \to \infty. This is why uniform integrability upgrades convergence in probability to L1L^1 convergence.

Law of large numbers

Weak LLN. Let X1,X2,…X_1, X_2, \ldots be i.i.d. with E[∣X1∣]<∞\mathbb{E}[|X_1|] < \infty and μ=E[X1]\mu = \mathbb{E}[X_1]. Then

$Xˉn=1n∑i=1nXi→Pμ\bar{X}_n = \frac{1}{n}\sum_{i=1}^n X_i \xrightarrow{P} \mu

Strong LLN. If E[∣X1∣]<∞\mathbb{E}[|X_1|] < \infty, then Xˉn→μ\bar{X}_n \to \mu almost surely.

Details

The weak LLN follows from Chebyshev’s inequality when Var⁡(X1)<∞\operatorname{Var}(X_1) < \infty: P(∣Xˉn−μ∣>ε)≤σ2/(nε2)→0P(|\bar{X}_n - \mu| > \varepsilon) \leq \sigma^2/(n\varepsilon^2) \to 0 (see Random variables and expectation).

The strong LLN requires deeper tools (Kolmogorov’s maximal inequality or the martingale convergence theorem). It says that for almost every sample path, the empirical average converges to the mean.

The rate of convergence is governed by the tail of the distribution. For finite variance, the deviation is Op(1/n)O_p(1/\sqrt{n}); for finite pp-th moment (p>1p > 1), it is Op(n−(p−1)/p)O_p(n^{-(p-1)/p}).

Worked example (fair die). Roll a fair die n=100n = 100 times; μ=3.5\mu = 3.5 and σ2=35/12≈2.917\sigma^2 = 35/12 \approx 2.917. Chebyshev’s inequality gives

P(∣Xˉ100−3.5∣>0.5)≤35/12100×0.52≈0.117P(|\bar{X}_{100} - 3.5| > 0.5) \leq \frac{35/12}{100 \times 0.5^2} \approx 0.117,

so the sample average is within half a point of 3.5 with probability at least 88%, and the bound improves like 1/n1/n. (The CLT gives the far sharper value ≈2(1−Φ(2.93))≈0.003\approx 2(1 - \Phi(2.93)) \approx 0.003: Chebyshev is universal but loose.)

Authoritative sources

Central limit theorem

Lindeberg–Lévy CLT. Let X1,X2,…X_1, X_2, \ldots be i.i.d. with E[X1]=μ\mathbb{E}[X_1] = \mu and Var⁡(X1)=σ2<∞\operatorname{Var}(X_1) = \sigma^2 < \infty. Then

$Xˉn−μσ/n→dZ∼N(0,1)\frac{\bar{X}_n - \mu}{\sigma / \sqrt{n}} \xrightarrow{d} Z \sim \mathcal{N}(0,1)

Equivalently: n(Xˉn−μ)→dN(0,σ2)\sqrt{n}(\bar{X}_n - \mu) \xrightarrow{d} \mathcal{N}(0, \sigma^2).

Details

The CLT says that the sum of many independent, identically distributed, finite-variance random variables, properly normalized, converges in distribution to a normal. The normal is the unique stable distribution with finite variance (up to location and scale).

Proof sketch via MGFs. Center the variables: let Yi=Xi−μY_i = X_i - \mu, so E[Yi]=0\mathbb{E}[Y_i] = 0 and Var⁡(Yi)=σ2\operatorname{Var}(Y_i) = \sigma^2. The MGF of the normalized sum Sn/(σn)S_n/(\sigma\sqrt{n}) factors as MSn/(σn)(t)=[MY1(t/(σn))]nM_{S_n/(\sigma\sqrt{n})}(t) = [M_{Y_1}(t/(\sigma\sqrt{n}))]^n. Expanding the MGF of the centered variable,

MY1(u)=1+E[Y1] u+σ2u22+o(u2)=1+σ2u22+o(u2)M_{Y_1}(u) = 1 + \mathbb{E}[Y_1]\,u + \frac{\sigma^2 u^2}{2} + o(u^2) = 1 + \frac{\sigma^2 u^2}{2} + o(u^2),

and plugging in u=t/(σn)u = t/(\sigma\sqrt{n}) gives [MY1(t/(σn))]n→et2/2[M_{Y_1}(t/(\sigma\sqrt{n}))]^n \to e^{t^2/2} as n→∞n \to \infty — the MGF of N(0,1)\mathcal{N}(0,1). (Note: plugging in the MGF of X1X_1 itself, which contains the mean μ\mu, would give the wrong limit eμte^{\mu t}; it is the centered variable that must be used.) Since MGF convergence (in a neighborhood of 0) implies convergence in distribution, the normalized sum converges to N(0,1)\mathcal{N}(0,1).

Lindeberg condition. For independent (not identically distributed) XiX_i with variances σi2\sigma_i^2 and sn2=∑σi2s_n^2 = \sum \sigma_i^2, the CLT holds if for every ε>0\varepsilon > 0:

$1sn2∑i=1nE[Xi2⋅1∣Xi∣>εsn]→0\frac{1}{s_n^2}\sum_{i=1}^n \mathbb{E}[X_i^2 \cdot \mathbf{1}_{|X_i| > \varepsilon s_n}] \to 0

This condition says no single variable dominates the sum.

Confidence intervals. The CLT is the justification for the standard 95% confidence interval: since n(Xˉn−μ)/σ→dN(0,1)\sqrt{n}(\bar{X}_n - \mu)/\sigma \xrightarrow{d} \mathcal{N}(0,1) and P(∣Z∣≤1.96)≈0.95P(|Z| \le 1.96) \approx 0.95, the interval Xˉn±1.96 σ/n\bar{X}_n \pm 1.96\,\sigma/\sqrt{n} (or Xˉn±1.96 s/n\bar{X}_n \pm 1.96\,s/\sqrt{n} with the sample standard deviation ss, by Slutsky’s theorem) covers the true μ\mu with probability approaching 95%. This is the workhorse of Statistical inference.

Extensions. The theorem extends to the multivariate case (vector-valued sums converge to a multivariate normal with covariance the sum of the individual covariances) and to certain dependent sequences: for stochastic processes such as mixing or martingale-difference sequences, CLTs hold under suitable conditions controlling the dependence (e.g. strong mixing with summable mixing coefficients).

The CLT is the reason the normal distribution appears everywhere: measurement errors, sampling distributions, queue lengths, and diffusion limits all reduce to sums of many small independent contributions. See Distributions for the normal family.

Example sub-problem (Lindeberg condition)

Let X1,X2,…X_1, X_2, \ldots be independent with Xi=0X_i = 0 except that Xi=±iX_i = \pm i with probability 1/(2i2)1/(2i^2) each (and 00 otherwise), so Var⁡(Xi)=1\operatorname{Var}(X_i) = 1 and sn2=ns_n^2 = n. Does the Lindeberg condition hold, and does the CLT apply?

Solution

The Lindeberg sum is 1n∑i=1nE[Xi21∣Xi∣>εn]\frac{1}{n}\sum_{i=1}^n \mathbb{E}[X_i^2 \mathbf{1}_{|X_i| > \varepsilon\sqrt{n}}]. For a given nn, the terms with i>εni > \varepsilon\sqrt{n} contribute 1n∑i>εnn1→1\frac{1}{n}\sum_{i > \varepsilon\sqrt{n}}^n 1 \to 1, not 00. Indeed the largest term XnX_n has magnitude nn, which dwarfs εn\varepsilon\sqrt{n}, so its full squared contribution n2/n=nn^2/n = n does not vanish: the sum is dominated by rare huge jumps. The Lindeberg condition fails and the CLT does not apply — the normalized sum converges to a Poisson-type limit, not a normal.

Law of the iterated logarithm

Let X1,X2,…X_1, X_2, \ldots be i.i.d. with E[X1]=0\mathbb{E}[X_1] = 0 and Var⁡(X1)=σ2<∞\operatorname{Var}(X_1) = \sigma^2 < \infty. Then (Hartman–Wintner LIL)

$lim sup⁡n→∞Snσ2nlog⁡log⁡n=1a.s.,lim inf⁡n→∞Snσ2nlog⁡log⁡n=−1a.s.\limsup_{n \to \infty} \frac{S_n}{\sigma \sqrt{2n \log \log n}} = 1 \quad \text{a.s.}, \qquad \liminf_{n \to \infty} \frac{S_n}{\sigma \sqrt{2n \log \log n}} = -1 \quad \text{a.s.}

Equivalently: lim sup⁡n→∞∣Sn∣σ2nlog⁡log⁡n=1\limsup_{n \to \infty} \dfrac{|S_n|}{\sigma \sqrt{2n \log \log n}} = 1 a.s.

+√(2n log log n) −√(2n log log n) Sₙ (one sample path) n (0 to 1000)
Details

The LIL refines the LLN by giving the exact rate at which the sample average approaches the mean. While the CLT says the typical deviation is O(1/n)O(1/\sqrt{n}), the LIL says the largest deviations (over all nn up to NN) are of order 2log⁡log⁡N/N\sqrt{2 \log \log N / N}.

The double logarithm log⁡log⁡n\log \log n appears because the events {Sn>cnlog⁡log⁡n}\{S_n > c\sqrt{n \log \log n}\} are not independent across nn; the Borel–Cantelli lemma applied at geometrically spaced times nk=⌊eek⌋n_k = \lfloor e^{e^k}\rfloor produces the log⁡log⁡\log \log factor.

The LIL is a sharp a.s. statement: the sample path crosses the envelope ±σ2nlog⁡log⁡n\pm\sigma\sqrt{2n \log \log n} infinitely often, but exceeds it only finitely often. The picture above shows one simulated sample path of a random walk with standard deviation σ = 1: its envelope of maximal excursions grows like the dashed curves — the path comes arbitrarily close to ±2nlog⁡log⁡n\pm\sqrt{2n\log\log n} infinitely often, yet stays inside them eventually.

Worked example (how slow the envelope grows). For σ = 1: at n=106n = 10^6 the envelope is 2⋅106⋅ln⁡ln⁡106≈2292\sqrt{2 \cdot 10^6 \cdot \ln \ln 10^6} \approx 2292, while the standard deviation of SnS_n is only n=1000\sqrt{n} = 1000. At n=1012n = 10^{12} the envelope is about 3.7×1063.7 \times 10^6 versus n=106\sqrt{n} = 10^6: the correction factor 2log⁡log⁡n\sqrt{2\log\log n} grows extremely slowly, which is why the LIL is invisible on moderate samples.

Authoritative sources

Example problem

A fair coin is flipped nn times. Let p^n\hat{p}_n be the fraction of heads. Use the CLT to approximate P(∣p^n−1/2∣>0.05)P(|\hat{p}_n - 1/2| > 0.05) for n=10000n = 10000.

Solution

Each flip is Xi∼Bernoulli(1/2)X_i \sim \text{Bernoulli}(1/2), so μ=1/2\mu = 1/2, σ2=1/4\sigma^2 = 1/4.

By the CLT: n(p^n−1/2)→dN(0,1/4)\sqrt{n}(\hat{p}_n - 1/2) \xrightarrow{d} \mathcal{N}(0, 1/4).

For n=10000n = 10000: n=100\sqrt{n} = 100, so 100(p^n−1/2)≈N(0,1/4)100(\hat{p}_n - 1/2) \approx \mathcal{N}(0, 1/4), i.e. p^n−1/2≈N(0,1/(4×10000))=N(0,2.5×10−6)\hat{p}_n - 1/2 \approx \mathcal{N}(0, 1/(4 \times 10000)) = \mathcal{N}(0, 2.5 \times 10^{-6}).

Standard deviation: σp^=1/(2×100)=0.005\sigma_{\hat{p}} = 1/(2 \times 100) = 0.005.

$P(∣p^n−1/2∣>0.05)≈P(∣Z∣>0.05/0.005)=P(∣Z∣>10)≈2×7.6×10−24≈0P(|\hat{p}_n - 1/2| > 0.05) \approx P(|Z| > 0.05/0.005) = P(|Z| > 10) \approx 2 \times 7.6 \times 10^{-24} \approx 0

The probability is essentially zero: with 10 000 flips, the sample proportion is almost certainly within 5 percentage points of 1/2. The CLT quantifies this with a normal tail.