Let X1,X2,… be an iid sequence of random variables with mean μ and, where needed, finite variance σ2>0. The partial sum and the average of the first n terms are
Sn:=i=1∑nXi,Xn:=n1i=1∑nXi,
which by linearity of expectation and independence have
E[Xn]=μ,var[Xn]=nσ2.
The limit theorems describe how Xn behaves as n→∞: the laws of large numbers state that it converges to μ and the central limit theorem describes the distribution of its fluctuations around μ at the scale n1.
The weak law of large numbers states that the average converges in probability to the mean.
Xnpμthatisn→∞limP(Xn−μ>ε)=0∀ε>0
Under the assumption of finite variance it follows from Chebyshev’s inequality, P(Xn−μ>ε)≤nε2σ2, but it holds whenever the mean exists. The law also holds for independent random variables with a common mean that are not identically distributed provided their variances are bounded, and for uncorrelated rather than independent random variables with bounded variances.
The strong law of large numbers states that the average converges almost surely to the mean, and that the existence of the mean is both necessary and sufficient.
Xna.s.μ⇔E[∣X1∣]<∞
The strong law states that for almost every outcome the sequence of averages eventually stays within any fixed distance of μ, whereas the weak law only states that the probability of a deviation at a given n is small. Applied to the indicator random variables 1{Xi∈A} the strong law gives
n1i=1∑n1{Xi∈A}a.s.P(X1∈A),
so the long-run relative frequency of an event converges to its probability, which is the justification for the frequentist interpretation of probability and for Monte Carlo estimation of probabilities and expectations by averaging simulated values.
The empirical distribution function of X1,…,Xn is the cdf that places probability n1 on each observed value.
F^n(x):=n1i=1∑n1{Xi≤x}∀x∈R
By the strong law F^n(x)a.s.FX(x) for each fixed x, and the Glivenko–Cantelli theorem strengthens this to uniform convergence.
x∈RsupF^n(x)−FX(x)a.s.0
The central limit theorem states that if σ2 is finite then the standardised average converges in distribution to the standard normal distribution, whatever the distribution of the Xi.
σn(Xn−μ)=σnSn−nμdN(0,1)
Equivalently, n(Xn−μ)dN(0,σ2). The theorem is proved by showing that the characteristic function of the standardised average converges to e−2t2 and applying Lévy’s continuity theorem. For large n it justifies the approximations
The case of Bernoulli random variables, in which Sn∼Binomial(n,p) is approximately N(np,np(1−p)), is the de Moivre–Laplace theorem. The finiteness of the variance is essential: the average of iid Cauchy random variables has the same Cauchy distribution for every n and does not concentrate at all.
The Berry–Esseen theorem quantifies the rate of convergence in the central limit theorem. If ρ=E[∣X1−μ∣3]<∞ then there is an absolute constant C<1 with
x∈RsupP(σn(Xn−μ)≤x)−Φ(x)≤σ3nCρ∀n∈N,
so the error of the normal approximation decreases like n1 and is larger for skewed or heavy-tailed distributions. The central limit theorem also holds for independent random variables that are not identically distributed when no single term dominates the sum, which is made precise by the Lindeberg condition that for every ε>0 the contribution to the total variance from terms exceeding ε standard deviations of the sum tends to zero.
Let X1,X2,… be iid random vectors in Rk with mean vector μ and covariance matrix Σ with finite entries. The multivariate central limit theorem states that
n(Xn−μ)dNk(0,Σ).
Combined with the multivariate delta method it gives the limiting normal distribution of any smooth function of averages, such as the average of the squares together with the average itself, from which the limiting distribution of a variance estimate follows.
Let X1,…,Xn be random variables. The order statisticsX(1)≤X(2)≤…≤X(n) are the values of X1,…,Xn arranged in increasing order, so that X(k) is the k-th order statistic, the k-th smallest value. The smallest and largest are the minimum and maximum of X1,…,Xn,
X(1)=iminXi,X(n)=imaxXi.
Let X1,…,Xn be iid continuous random variables with cdf F and pdf f, so that ties occur with probability zero and the inequalities between the order statistics are strict almost surely. The event X(k)≤x occurs if and only if at least k of the Xi are at most x, and the number of such Xi is Binomial(n,F(x)), so
The density follows from requiring k−1 values below x, one value at x and n−k values above x. In particular the maximum and minimum have
FX(n)(x)=F(x)n,FX(1)(x)=1−(1−F(x))n,
and the joint pdf of all n order statistics is n!∏i=1nf(xi) on the region x1<x2<…<xn and zero elsewhere. If U1,…,Un are iid U(0,1) then U(k)∼Beta(k,n−k+1), and since F(Xi)∼U(0,1) by the probability integral transform, F(X(k))∼Beta(k,n−k+1) in general. Hence E[F(X(k))]=n+1k, so the k-th order statistic sits on average at the n+1k-quantile.
The order statistics have their own limit theorems. Let u∈(0,1) and kn be a sequence with nkn→u, and suppose f is continuous and positive at the u-quantile xu=F−1(u). The central order statisticX(kn) converges in distribution to a normal distribution after centring at the quantile,
n(X(kn)−xu)dN(0,f(xu)2u(1−u)),
so for u=21 the middle order statistic converges to the median m with limiting variance 4f(m)21. The extreme order statistics behave differently: the maximum X(n) converges in probability to the supremum of the support, and the Fisher–Tippett–Gnedenko theorem states that if some normalisation anX(n)−bn has a non-degenerate limit in distribution then the limit is one of three extreme value distributions, the Gumbel, Fréchet or Weibull distribution, determined by the tail of F. For example, if Xi∼Exponential(1) then X(n)−logen converges in distribution to the Gumbel distribution with cdf exp(−e−x), and nX(1)∼Exponential(1) exactly for every n.