Ramp-Up Mathematics: Stochastics Section 5
Section 5 · Part II: Extended notes

Limit theorems

All definitions, theorems, proofs and examples appear here verbatim and with the same numbering as in the lecture notes. Shaded boxes marked Learning aid are supplements for practice: learning goals, interactive experiments and self-tests. Proofs are collapsed; “Step by step” reveals them one paragraph at a time.

The notes of Part I are restricted to finitely many random variables. Statistics, however, relies on the behaviour of estimators as the sample size grows, which requires notions of convergence for random variables.

5.1 Modes of convergence

Definition 5.1 (Convergence of random variables)

Let \(X,X_1,X_2,\dots\) be real random variables on a probability space \((\Omega,\F,\P)\).

  1. (i)

    \(X_n\) converges to \(X\) in probability, written \(X_n\xrightarrow{\P}X\), if \(\P(|X_n-X|>\varepsilon)\to0\) as \(n\to\infty\) for every \(\varepsilon>0\).

  2. (ii)

    \(X_n\) converges to \(X\) almost surely, written \(X_n\xrightarrow{\text{a.s.}}X\), if \(\P\big(\lim_{n\to\infty}X_n=X\big)=1\).

  3. (iii)

    For \(p\ge1\), \(X_n\) converges to \(X\) in \(L^p\), written \(X_n\xrightarrow{L^p}X\), if \(\E[|X_n-X|^p]\to0\) as \(n\to\infty\).

  4. (iv)

    \(X_n\) converges to \(X\) in distribution, written \(X_n\xrightarrow{\mathrm d}X\), if \(F_{X_n}(x)\to F_X(x)\) as \(n\to\infty\) for every \(x\in\R\) at which \(F_X\) is continuous.

Convergence in distribution only involves the distributions of the random variables, which may then be defined on different probability spaces. We also write \(X_n\xrightarrow{\mathrm d}\nu\) for a probability measure \(\nu\) on \(\R\), if the distribution functions converge to that of \(\nu\). Throughout, almost surely (a.s.) means outside an event of probability zero.

Theorem 5.2 (Relations between the modes of convergence)

Let \(X,X_1,X_2,\dots\) be real random variables on \((\Omega,\F,\P)\).

  1. (i)

    If \(X_n\xrightarrow{\text{a.s.}}X\), then \(X_n\xrightarrow{\P}X\).

  2. (ii)

    If \(X_n\xrightarrow{L^p}X\) for some \(p\ge1\), then \(X_n\xrightarrow{\P}X\).

  3. (iii)

    If \(1\le p\le q\) and \(X_n\xrightarrow{L^q}X\), then \(X_n\xrightarrow{L^p}X\).

  4. (iv)

    If \(X_n\xrightarrow{\P}X\), then there is a subsequence \((n_k)_{k\in\N}\) with \(X_{n_k}\xrightarrow{\text{a.s.}}X\).

  5. (v)

    If \(X_n\xrightarrow{\P}X\) and \(|X_n|\le K\) for all \(n\) and a constant \(K\ge0\), then \(X_n\xrightarrow{L^p}X\) for all \(p\ge1\).

  6. (vi)

    If \(X_n\xrightarrow{\P}X\), then \(X_n\xrightarrow{\mathrm d}X\).

Proof

For (i), the events \(A_n\coloneqq\{\sup_{m\ge n}|X_m-X|>\varepsilon\}\) decrease to a subset of the null event \(\{X_m\not\to X\}\), so continuity from above (Proposition 3.1) gives \(\P(|X_n-X|>\varepsilon)\le\P(A_n)\to0\). Part (ii) follows from Proposition 4.4 (ii): \(\P(|X_n-X|>\varepsilon)\le\varepsilon^{-p}\E[|X_n-X|^p]\). For (iii), Jensen's inequality for the convex function \(x\mapsto|x|^{q/p}\) gives \(\E[|X_n-X|^p]^{q/p}\le\E[|X_n-X|^q]\). For (v), we first note that \(|X|\le K\) almost surely by (iv). Hence, for every \(\varepsilon\in(0,1)\), \(\E[|X_n-X|^p]\le\varepsilon^p+(2K)^p\,\P(|X_n-X|>\varepsilon)\), and the right-hand side is smaller than \(2\varepsilon^p\) for large \(n\). For (iv) and (vi), see [Klenke2020].

□

Abbildung aus dem Skript

Figure 18. Relations between the modes of convergence from Theorem 5.2. Solid arrows hold in general, the dashed arrow under the stated boundedness condition. None of the solid arrows can be reversed in general (Example 5.5).

The following lemma is the main tool for proving almost sure convergence. For events \(A_1,A_2,\dots\), the event \(\limsup_{n\to\infty}A_n\coloneqq\bigcap_{n=1}^\infty\bigcup_{m=n}^\infty A_m\) consists of all outcomes that lie in infinitely many \(A_m\).

Lemma 5.3 (Borel–Cantelli)

Let \(A_1,A_2,\dots\in\F\).

  1. (i)

    If \(\sum_{n=1}^\infty\P(A_n)<\infty\), then \(\P(\limsup_{n\to\infty}A_n)=0\).

  2. (ii)

    If \(A_1,A_2,\dots\) are independent and \(\sum_{n=1}^\infty\P(A_n)=\infty\), then \(\P(\limsup_nA_n)=1\).

Proof

For (i), \(\P(\limsup_nA_n)\le\P\big(\bigcup_{m\ge n}A_m\big)\le\sum_{m\ge n}\P(A_m)\) for all \(n\), and the right-hand side tends to zero. For (ii), independence of the complements and \(1-x\le\e^{-x}\) give \(\P\big(\bigcap_{m=n}^NA_m^{\c}\big)=\prod_{m=n}^N(1-\P(A_m))\le\exp\big(-\sum_{m=n}^N\P(A_m)\big)\to0\) as \(N\to\infty\). Hence \(\P\big(\bigcup_{m\ge n}A_m\big)=1\) for every \(n\), and continuity from above gives the claim.

□
Corollary 5.4 (Fast convergence in probability)

If \(\sum_{n=1}^\infty\P(|X_n-X|>\varepsilon)<\infty\) for every \(\varepsilon>0\), then \(X_n\xrightarrow{\text{a.s.}}X\).

Proof

For \(\varepsilon=1/k\), Lemma 5.3 (i) shows that the event \(N_k\coloneqq\limsup_n\{|X_n-X|>1/k\}\) has probability zero. Outside the null set \(\bigcup_kN_k\), we have \(|X_n-X|\le1/k\) for all large \(n\) and every \(k\).

□
Example 5.5 (The reverse implications fail)
  1. (i)

    Let \(X_1,X_2,\dots\) be independent with \(\P(X_n=1)=1/n=1-\P(X_n=0)\). Then \(X_n\xrightarrow{\P}0\), but \(\sum_n\P(X_n=1)=\infty\), so \(X_n=1\) for infinitely many \(n\) almost surely by Lemma 5.3 (ii). Hence \(X_n\) does not converge almost surely.

  2. (ii)

    Let \(U\) be uniformly distributed on \([0,1]\) and \(X_n\coloneqq n\1\{U<1/n\}\). Then \(X_n\to0\) almost surely, but \(\E[|X_n|]=1\) for all \(n\), so there is no convergence in \(L^1\).

  3. (iii)

    Let \(X\) take the values \(\pm1\) with probability \(1/2\) each, and \(X_n\coloneqq-X\). All \(X_n\) have the distribution of \(X\), so \(X_n\xrightarrow{\mathrm d}X\), but \(|X_n-X|=2\).

  4. (iv)

    Let \(U\) be as in (ii), \(1\le p<q\), and \(X_n\coloneqq n^{1/q}\1\{U<1/n\}\). Then \(\E[|X_n|^p]=n^{p/q-1}\to0\), but \(\E[|X_n|^q]=1\), so \(X_n\xrightarrow{L^p}0\), but not in \(L^q\).

  5. (v)

    Let \(X_n\coloneqq1\) for odd \(n\) and \(X_n\coloneqq0\) for even \(n\). The subsequence of even indices converges almost surely, but \((X_n)_{n\in\N}\) does not converge in probability.

5.2 Laws of large numbers

Definition 5.6 (Laws of large numbers)

A sequence \(X_1,X_2,\dots\) of random variables with finite expectations satisfies the weak law of large numbers if \[\frac1n\sum_{i=1}^n\big(X_i-\E[X_i]\big)\xrightarrow{\P}0,\] and the strong law of large numbers if this convergence holds almost surely.

Theorem 5.7 (Weak law of large numbers)

Let \(X_1,X_2,\dots\) be pairwise uncorrelated random variables with finite variances such that \[\lim_{n\to\infty}\frac1{n^2}\sum_{i=1}^n\Var[X_i]=0. \tag{5.1}\] Then \(X_1,X_2,\dots\) satisfy the weak law of large numbers. Condition (5.1) holds, in particular, if \(\Var[X_i]\le C\) for all \(i\) and a constant \(C\in(0,\infty)\), for instance if the \(X_i\) are identically distributed, and if \(\sum_{i=1}^\infty\Var[X_i]/i^2<\infty\).

Proof

By Chebyshev's inequality (Remark 1.17) and Bienaymé's formula (Remark 1.22), for every \(\varepsilon>0\), \[\P\Big(\Big|\frac1n\sum_{i=1}^n\big(X_i-\E[X_i]\big)\Big|\ge\varepsilon\Big)\le\frac{1}{n^2\varepsilon^2}\sum_{i=1}^n\Var[X_i]\xrightarrow[n\to\infty]{}0.\] Bounded variances give the bound \(C/(n\varepsilon^2)\). The last sufficient condition implies (5.1) by Kronecker's lemma; see [Klenke2020].

□

The proof also gives a rate: under bounded variances, the probability of a deviation larger than \(\varepsilon\) is at most \(C/(n\varepsilon^2)\).

Theorem 5.8 (Strong law of large numbers)

Let \(X_1,X_2,\dots\) be independent random variables with finite expectations. They satisfy the strong law of large numbers if either they are identically distributed, or they have finite variances with \(\sum_{n=1}^\infty\Var[X_n]/n^2<\infty\).

For proofs, see [Klenke2020,Durrett2019]. For independent and identically distributed (i.i.d.) random variables, Theorem 5.8 states that the empirical mean \[M_n\coloneqq\frac1n\sum_{i=1}^nX_i\] converges almost surely to \(\E[X_1]\). Applied to indicators \(X_i=\1_{A_i}\) of independent events with the same probability, it shows that relative frequencies converge to probabilities, which justifies the frequency interpretation of probability.

Example 5.9 (Monte Carlo integration)

Let \(g\colon[0,1]^d\to\R\) be a measurable function such that \(g^2\) has a finite integral over \([0,1]^d\). We want to compute \[\mu\coloneqq\int_{[0,1]^d}g(\vect x)\dd\vect x.\] Let \(\vect U_1,\vect U_2,\dots\) be independent and uniformly distributed on \([0,1]^d\), that is, with density \(\1\{\vect x\in[0,1]^d\}\). Then \(\E[g(\vect U_1)]=\mu\), and the strong law of large numbers gives \[\frac1n\sum_{k=1}^ng(\vect U_k)\xrightarrow{\text{a.s.}}\mu.\] By Bienaymé's formula, the root mean squared error is \[\E\Big[\Big(\frac1n\sum_{k=1}^ng(\vect U_k)-\mu\Big)^2\Big]^{1/2}=\frac{\sigma}{\sqrt n}, \qquad\text{where }\sigma^2\coloneqq\Var[g(\vect U_1)]=\int_{[0,1]^d}g(\vect x)^2\dd\vect x-\mu^2.\] The rate \(n^{-1/2}\) does not depend on the dimension \(d\), which is why Monte Carlo methods are used for high-dimensional integrals.

Abbildung aus dem Skript

Figure 19. Laws of large numbers (simulated). Left: three paths of the empirical mean \(M_n\) of fair die rolls, converging to \(\E[X_1]=7/2\). Right: three paths of the Monte Carlo estimate \(\frac1n\sum_{k=1}^n g(U_k)\) with \(g(x)=4\cdot\1\{x_1^2+x_2^2\le1\}\) on \([0,1]^2\); the dashed curves show \(\pi\pm2\sigma/\sqrt n\), see Example 5.9.

5.3 The central limit theorem

The law of large numbers says that \(M_n-\mu\) tends to zero. The central limit theorem describes the fluctuations of order \(n^{-1/2}\) and explains the prominent role of the normal distribution. We write \[\Phi(y)\coloneqq\int_{-\infty}^y\frac{1}{\sqrt{2\pi}}\e^{-u^2/2}\dd u,\qquad y\in\R,\] for the distribution function of the standard normal distribution \(\Nor(0,1)\); see Section 6.

Theorem 5.10 (Central limit theorem of Lindeberg and Lévy)

Let \(X_1,X_2,\dots\) be i.i.d. random variables with \(\mu\coloneqq\E[X_1]\) and \(\sigma^2\coloneqq\Var[X_1]\in(0,\infty)\). Then \[\sup_{y\in\R}\Big|\P\Big(\frac{1}{\sigma\sqrt n}\sum_{k=1}^n(X_k-\mu)\le y\Big)-\Phi(y)\Big|\xrightarrow[n\to\infty]{}0.\] In particular, \(\sqrt n(M_n-\mu)/\sigma\xrightarrow{\mathrm d}\Nor(0,1)\).

The standardised sum has expectation \(0\) and variance \(1\) by Bienaymé's formula; the theorem identifies its limiting distribution, whatever the distribution of \(X_1\). For a proof, see [Klenke2020,Durrett2019]. Under the additional assumption \(\E[|X_1|^3]<\infty\), the Berry–Esseen theorem bounds the supremum above by \(C\,\E[|X_1-\mu|^3]/(\sigma^3\sqrt n)\) with a universal constant \(C\); see [Durrett2019].

Corollary 5.11 (De Moivre–Laplace)

Let \(p\in(0,1)\) and \(S_n\sim\Bin_{n,p}\). Then, for all \(a<b\), \[\P\Big(a<\frac{S_n-np}{\sqrt{np(1-p)}}\le b\Big)\xrightarrow[n\to\infty]{}\Phi(b)-\Phi(a).\]

Proof

By Example 3.12, \(S_n\) has the distribution of a sum of \(n\) i.i.d. Bernoulli variables with expectation \(p\) and variance \(p(1-p)\), and Theorem 5.10 applies.

□
Example 5.12 (Coin tossing)

For \(1000\) tosses of a fair coin, the number \(S\) of heads satisfies, by Corollary 5.11, \[\P(S\ge530)=\P\Big(\frac{S-500}{\sqrt{250}}\ge1.897\Big)\approx1-\Phi(1.897)\approx0.029.\] The exact binomial probability is \(0.0310\). The approximation improves to \(1-\Phi(29.5/\sqrt{250})\approx0.0310\) with the continuity correction, which replaces the threshold \(530\) by \(529.5\), the midpoint between the integers \(529\) and \(530\).

Abbildung aus dem Skript

Figure 20. Central limit theorem for \(S_n\sim\Bin_{n,0.3}\): histogram of the standardised variable \((S_n-np)/\sqrt{np(1-p)}\), with bars of width \(1/\sqrt{np(1-p)}\) and area equal to the binomial probabilities, compared with the standard normal density (orange).

In statistical applications, unknown parameters in the standardisation are replaced by estimators. The following result shows that this does not change the limit.

Proposition 5.13 (Slutsky's theorem)

Let \(Y_n\xrightarrow{\mathrm d}Y\) and \(Z_n\xrightarrow{\P}c\) for a constant \(c\in\R\). Then \(Y_n+Z_n\xrightarrow{\mathrm d}Y+c\) and \(Y_nZ_n\xrightarrow{\mathrm d}cY\). Moreover, if \(Z_n\xrightarrow{\P}c\) and \(h\colon\R\to\R\) is continuous at \(c\), then \(h(Z_n)\xrightarrow{\P}h(c)\).

For a proof, see [Klenke2020].