maths.freeProbability Theory › Limit theorems › Central limit theorem

Central limit theorem

In probability theory, the central limit theorem (CLT) states that, under appropriate conditions, the distribution of a normalized version of the sample mean converges to a standard normal distribution.

Central limit theorem

In probability theory, the central limit theorem (CLT) states that, under appropriate conditions, the distribution of a normalized version of the sample mean converges to a standard normal distribution. This holds even if the original variables themselves are not normally distributed. There are several versions of the CLT, each applying in the context of different conditions.

The theorem is a key concept in probability theory because it implies that probabilistic and statistical methods that work for normal distributions can be applicable to many problems involving other types of distributions.

This theorem has seen many changes during the formal development of probability theory. Previous versions of the theorem date back to 1811, but in its modern form it was only precisely stated in the 1920s.

In statistics, the CLT can be stated as: let \(X_1, X_2, \dots, X_n\) denote a statistical sample of size \(n\) from a population with expected value (average) \(\mu\) and finite positive variance \(\sigma^2\), and let \(\bar{X}_{n}\) denote the sample mean (which is itself a random variable). Then the limit as \(n\to\infty\) of the distribution of \((\bar{X}_n-\mu) \sqrt{n}\) is a normal distribution with mean \(0\) and variance \(\sigma^2\).

In other words, suppose that a large sample of observations is obtained, each observation being randomly produced in a way that does not depend on the values of the other observations, and the average (arithmetic mean) of the observed values is computed. If this procedure is performed many times, resulting in a collection of observed averages, the central limit theorem says that if the sample size is large enough, the probability distribution of these averages will closely approximate a normal distribution.

The central limit theorem has several variants. In its common form, the random variables must be independent and identically distributed (i.i.d.). This requirement can be weakened; convergence of the mean to the normal distribution also occurs for non-identical distributions or for non-independent observations if they comply with certain conditions.

Condensed: the full section is in Wikipedia.

Classical CLT

Let \((X_n)_{n\geq 1}\) be a sequence of i.i.d. random variables having a distribution with expected value given by \(\mu\) and finite variance given by \(\sigma^2.\) Suppose we are interested in the sample average

\[\bar{X}_n \equiv \frac{X_1 + \cdots + X_n}{n}.\]

By the law of large numbers, the sample average converges almost surely (and therefore also converges in probability) to the expected value \(\mu\) as \(n\to\infty.\)

The classical central limit theorem describes the size and the distributional form of the stochastic fluctuations around the deterministic number \(\mu\) during this convergence. More precisely, it states that as \(n\) gets larger, the distribution of the normalized mean \(\sqrt{n}(\bar{X}_n - \mu)\), i.e. the difference between the sample average \(\bar{X}_n\) and its limit \(\mu,\) scaled by the factor \(\sqrt{n}\), approaches the normal distribution with mean \(0\) and variance \(\sigma^2.\) For large enough \(n,\) the distribution of \(\bar{X}_n\) gets arbitrarily close to the normal distribution with mean \(\mu\) and variance \(\sigma^2/n.\)

The usefulness of the theorem is that the distribution of \(\sqrt{n}(\bar{X}_n - \mu)\) approaches normality regardless of the shape of the distribution of the individual \(X_i.\) Formally, the theorem can be stated as follows:

Lindeberg-Lévy CLT, Suppose \(X_1, X_2, X_3 \ldots\) is a sequence of i.i.d. random variables with \(\operatorname E[X_i] = \mu\) and \(\operatorname{Var}[X_i] = \sigma^2 < \infty.\) Then, as \(n\) approaches infinity, the random variables \(\sqrt{n}(\bar{X}_n - \mu)\) converge in distribution to a normal \(\mathcal{N}(0, \sigma^2)\):

\[\sqrt{n}\left(\bar{X}_n - \mu\right) \mathrel{\overset{d}{\longrightarrow}} \mathcal{N}\left(0,\sigma^2\right) .\]

In the case \(\sigma > 0,\) convergence in distribution means that the cumulative distribution functions of \(\sqrt{n}(\bar{X}_n - \mu)\) converge pointwise to the cdf of the \(\mathcal{N}(0, \sigma^2)\) distribution: for every real number \(z,\)

\[\lim_{n\to\infty} \mathbb{P}\left[\sqrt{n}(\bar{X}_n-\mu) \le z\right] = \lim_{n\to\infty} \mathbb{P}\left[\frac{\sqrt{n}(\bar{X}_n-\mu)}{\sigma } \le \frac{z}{\sigma}\right]= \Phi\left(\frac{z}{\sigma}\right) ,\]

Condensed: the full section is in Wikipedia.

Lyapunov CLT

In this variant of the central limit theorem the random variables \(X_i\) have to be independent, but not necessarily identically distributed. The theorem also requires that random variables \(\left| X_i\right|\) have moments of some order \((2+\delta)\), and that the rate of growth of these moments is limited by the Lyapunov condition given below.

Lyapunov CLT, Suppose \(\{X_1, \ldots, X_n, \ldots\}\) is a sequence of independent random variables, each with finite expected value \(\mu_i\) and variance \(\sigma_i^2\). Define

\[s_n^2 = \sum_{i=1}^n \sigma_i^2 .\]

If for some \(\delta > 0\), Lyapunov's condition

\[\lim_{n\to\infty} \; \frac{1}{s_{n}^{2+\delta}} \, \sum_{i=1}^{n} \operatorname E\left[\left|X_{i} - \mu_{i}\right|^{2+\delta}\right] = 0\]

is satisfied, then a sum of \(\frac{X_i - \mu_i}{s_n}\) converges in distribution to a standard normal random variable, as \(n\) goes to infinity:

\[\frac{1}{s_n}\,\sum_{i=1}^{n} \left(X_i - \mu_i\right) \mathrel{\overset{d}{\longrightarrow}} \mathcal{N}(0,1) .\]

In practice it is usually easiest to check Lyapunov's condition for \(\delta = 1\).

If a sequence of random variables satisfies Lyapunov's condition, then it also satisfies Lindeberg's condition. The converse implication, however, does not hold.

Lindeberg (-Feller) CLT

In the same setting and with the same notation as above, the Lyapunov condition can be replaced with the following weaker one (from Lindeberg in 1920).

Suppose that for every \(\varepsilon > 0\),

\[\lim_{n \to \infty} \frac{1}{s_n^2}\sum_{i = 1}^{n} \operatorname E\left[(X_i - \mu_i)^2 \cdot \mathbf{1}_{\left\{\left| X_i - \mu_i \right| > \varepsilon s_n \right\}} \right] = 0\]

where \(\mathbf{1}_{\{\ldots\}}\) is the indicator function. Then the distribution of the standardized sums

\[\frac{1}{s_n}\sum_{i = 1}^n \left( X_i - \mu_i \right)\]

converges towards the standard normal distribution \(\mathcal{N}(0, 1)\).

CLT for the sum of a random number of random variables

Rather than summing an integer number \(n\) of random variables and taking \(n \to \infty\), the sum can be of a random number \(N\) of random variables, with conditions on \(N\). For example, the following theorem is Corollary 4 of Robbins (1948). It assumes that \(N\) is asymptotically normal (Robbins also developed other conditions that lead to the same result).

Robbins CLT, Let \(\{X_i, i \geq 1\}\) be independent, identically distributed random variables with \(E(X_i) = \mu\) and \(\text{Var}(X_i) = \sigma^2\), and let \(\{N_n, n \geq 1\}\) be a sequence of non-negative integer-valued random variables that are independent of \(\{X_i, i \geq 1\}\). Assume for each \(n = 1, 2, \dots\) that \(E(N_n^2) < \infty\) and

\[\frac{N_n - E(N_n)}{\sqrt{\text{Var}(N_n)}} \xrightarrow{\quad d \quad} \mathcal{N}(0,1)\]

where \(\xrightarrow{\,d\,}\) denotes convergence in distribution and \(\mathcal{N}(0,1)\) is the normal distribution with mean 0, variance 1. Then

\[\frac{\sum_{i=1}^{N_n} X_i - \mu E(N_n)}{\sqrt{\sigma^2E(N_n) + \mu^2\text{Var}(N_n)}} \xrightarrow{\quad d \quad} \mathcal{N}(0,1)\]

Multidimensional CLT

Proofs that use characteristic functions can be extended to cases where each individual \(\mathbf{X}_i\) is a random vector in \(\R^k\), with mean vector \(\boldsymbol\mu = \operatorname E[\mathbf{X}_i]\) and covariance matrix \(\mathbf{\Sigma}\) (among the components of the vector), and these random vectors are independent and identically distributed. The multidimensional central limit theorem states that when scaled, sums converge to a multivariate normal distribution. Summation of these vectors is done component-wise.

For \(i = 1, 2, 3, \ldots,\) let

\[\mathbf{X}_i = \begin{bmatrix} X_{i}^{(1)} \\ \vdots \\ X_{i}^{(k)} \end{bmatrix}\]

be independent random vectors. The sum of the random vectors \(\mathbf{X}_1, \ldots, \mathbf{X}_n\) is

\[\sum_{i=1}^{n} \mathbf{X}_i = \begin{bmatrix} X_{1}^{(1)} \\ \vdots \\ X_{1}^{(k)} \end{bmatrix} + \begin{bmatrix} X_{2}^{(1)} \\ \vdots \\ X_{2}^{(k)} \end{bmatrix} + \cdots + \begin{bmatrix} X_{n}^{(1)} \\ \vdots \\ X_{n}^{(k)} \end{bmatrix} = \begin{bmatrix} \sum_{i=1}^{n} X_{i}^{(1)} \\ \vdots \\ \sum_{i=1}^{n} X_{i}^{(k)} \end{bmatrix}\]

and their average is

\[\mathbf{\bar X_n} = \begin{bmatrix} \bar X_{i}^{(1)} \\ \vdots \\ \bar X_{i}^{(k)} \end{bmatrix} = \frac{1}{n} \sum_{i=1}^{n} \mathbf{X}_i.\]

Theorem, Let \(X_1, \dots, X_n, \dots\) be independent \(\R^d\)-valued random vectors, each having mean zero. Write \(S =\sum^n_{i=1}X_i\) and assume \(\Sigma = \operatorname{Cov}[S]\) is invertible. Let \(Z \sim \mathcal{N}(0,\Sigma)\) be a \(d\)-dimensional Gaussian with the same mean and same covariance matrix as \(S\). Then for all convex sets \(U \subseteq \R^d\),

\[\left|\mathbb{P}[S \in U] - \mathbb{P}[Z \in U]\right| \le C \, d^{1/4} \gamma~,\] where \(C\) is a universal constant, \(\gamma = \sum^n_{i=1} \operatorname E \left[\left\| \Sigma^{-1/2}X_i\right\|^3_2\right]\), and \(\|\cdot\|_2\) denotes the Euclidean norm on \(\R^d\).

Condensed: the full section is in Wikipedia.

The generalized central limit theorem

The generalized central limit theorem (GCLT) was an effort of multiple mathematicians (Sergei Bernstein, Jarl Waldemar Lindeberg, Paul Lévy, William Feller, Andrey Kolmogorov, and others) over the period from 1920 to 1937. The first published complete proof of the GCLT was in 1937 by Paul Lévy in French. An English language version of the complete proof of the GCLT is available in the translation of Boris Vladimirovich Gnedenko and Kolmogorov's 1954 book.

The statement of the GCLT is as follows:

Statement of GCLT, A non-degenerate random variable Z is α-stable for some 0 < α ≤ 2 if and only if there is an independent, identically distributed sequence of random variables X1, X2, X3, ..., and constants an > 0, bn ∈ ℝ with \[a_n(X_1 + \dots + X_n) - b_n \to Z.\] Here, '→' means the sequence of random variable sums converges in distribution; i.e., the corresponding distributions satisfy Fn(y) → F(y) at all continuity points of F.

In other words, if sums of independent, identically distributed random variables converge in distribution to some Z, then Z must be a stable distribution.

CLT under weak dependence

A useful generalization of a sequence of independent, identically distributed random variables is a mixing random process in discrete time; "mixing" means, roughly, that random variables temporally far apart from one another are nearly independent. Several kinds of mixing are used in ergodic theory and probability theory. See especially strong mixing (also called α-mixing) defined by \(\alpha(n) \to 0\) where \(\alpha(n)\) is so-called strong mixing coefficient.

A simplified formulation of the central limit theorem under strong mixing is:

Theorem, Suppose that \(\{X_1, \ldots, X_n, \ldots\}\) is stationary and \(\alpha\)-mixing with \(\alpha_n = O\left(n^{-5}\right)\) and that \(\operatorname E[X_n] = 0\) and \(\operatorname E[X_n^{12}] < \infty\). Denote \(S_n = X_1 + \cdots + X_n\), then the limit

\[\sigma^2 = \lim_{n\rightarrow\infty} \frac{\operatorname E\left(S_n^2\right)}{n}\]

exists, and if \(\sigma \ne 0\) then \(\frac{S_n}{\sigma\sqrt{n}}\) converges in distribution to \(\mathcal{N}(0, 1)\).

In fact,

\[\sigma^2 = \operatorname E\left(X_1^2\right) + 2 \sum_{k=1}^{\infty} \operatorname E\left(X_1 X_{1+k}\right),\]

where the series converges absolutely.

The assumption \(\sigma \ne 0\) cannot be omitted, since the asymptotic normality fails for \(X_n = Y_n - Y_{n-1}\) where \(Y_n\) are another stationary sequence.

There is a stronger version of the theorem: the assumption \(\operatorname E\left[X_n^{12}\right] < \infty\) is replaced with \(\operatorname E\left[{\left|X_n\right|}^{2+\delta}\right] < \infty\), and the assumption \(\alpha_n = O\left(n^{-5}\right)\) is replaced with

Condensed: the full section is in Wikipedia.

Martingale difference CLT

Theorem, Let a martingale \(M_n\) satisfy

  • \(\frac1n \sum_{k=1}^n \operatorname E\left[\left(M_k-M_{k-1}\right)^2 \mid M_1,\dots,M_{k-1}\right] \to 1\) in probability as n → ∞,
  • for every ε > 0, \(\frac1n \sum_{k=1}^n{\operatorname E\left[\left(M_k-M_{k-1} \right)^2\mathbf{1}\left[|M_k-M_{k-1}|>\varepsilon\sqrt{n}\right]\right]} \to 0\) as n → ∞,

then \(\frac{M_n}{\sqrt{n}}\) converges in distribution to \(\mathcal{N}(0, 1)\) as \(n \to \infty\).

Proof of classical CLT

The central limit theorem has a proof using characteristic functions. It is similar to the proof of the (weak) law of large numbers.

Assume \(\{X_1, \ldots, X_n, \ldots \}\) are independent and identically distributed random variables, each with mean \(\mu\) and finite variance \(\sigma^2\). The sum \(X_1 + \cdots + X_n\) has mean \(n\mu\) and variance \(n\sigma^2\). Consider the random variable

\[Z_n = \frac{X_1+\cdots+X_n - n \mu}{\sqrt{n \sigma^2}} = \sum_{i=1}^n \frac{X_i - \mu}{\sqrt{n \sigma^2}} =: \sum_{i=1}^n \frac{1}{\sqrt{n}} Y_i,\]

where the last step defines the new random variables \(Y_i := \frac{X_i - \mu}{\sigma}\), each with zero mean and unit variance (\(\operatorname{var}(Y) = 1\)). The characteristic function of \(Z_n\) is given by

\[\begin{aligned} \varphi_{Z_n}\!(t) = \varphi_{\sum_{i=1}^n {\frac{1}{\sqrt{n}}Y_i}}\!(t) \ &=\ \varphi_{Y_1}\!\!\left(\frac{t}{\sqrt{n}}\right) \varphi_{Y_2}\!\! \left(\frac{t}{\sqrt{n}}\right)\cdots \varphi_{Y_n}\!\! \left(\frac{t}{\sqrt{n}}\right) \\[1ex] &=\ \left[\varphi_{Y_1}\!\!\left(\frac{t}{\sqrt{n}}\right)\right]^n, \end{aligned}\]

where the last step relies on the fact that all of the \(Y_i\) are identically distributed. The characteristic function of \(Y_1\) is, by Taylor's theorem, \[\varphi_{Y_1}\!\left(\frac{t}{\sqrt{n}}\right) = 1 - \frac{t^2}{2n} + o\!\left(\frac{t^2}{n}\right), \quad \left(\frac{t}{\sqrt{n}}\right) \to 0\]

where \(o(t^2 / n)\) is "little o notation" for some function of \(t\) that goes to zero more rapidly than \(t^2 / n\). By the limit of the exponential function (\(e^x = \lim_{n \to \infty} \left(1 + \frac{x}{n}\right)^n\)), the characteristic function of \(Z_n\) equals

Condensed: the full section is in Wikipedia.

Convergence to the limit

The central limit theorem gives only an asymptotic distribution. As an approximation for a finite number of observations, it provides a reasonable approximation only when close to the peak of the normal distribution; it requires a very large number of observations to stretch into the tails.

The convergence in the central limit theorem is uniform because the limiting cumulative distribution function is continuous. If the third central moment \(\operatorname{E}\left[(X_1 - \mu)^3\right]\) exists and is finite, then the speed of convergence is at least on the order of \(1 / \sqrt{n}\) (see Berry-Esseen theorem). Stein's method can be used not only to prove the central limit theorem, but also to provide bounds on the rates of convergence for selected metrics.

The convergence to the normal distribution is monotonic, in the sense that the entropy of \(Z_n\) increases monotonically to that of the normal distribution.

The central limit theorem applies in particular to sums of independent and identically distributed discrete random variables. A sum of discrete random variables is still a discrete random variable, so that we are confronted with a sequence of discrete random variables whose cumulative probability distribution function converges towards a cumulative probability distribution function corresponding to a continuous variable (namely that of the normal distribution). This means that if we build a histogram of the realizations of the sum of n independent identical discrete variables, the piecewise-linear curve that joins the centers of the upper faces of the rectangles forming the histogram converges toward a Gaussian curve as n approaches infinity; this relation is known as de Moivre-Laplace theorem. The binomial distribution article details such an application of the central limit theorem in the simple case of a discrete variable taking only two possible values.

Common misconceptions

Studies have shown that the central limit theorem is subject to several common but serious misconceptions, some of which appear in widely used textbooks. These include:

  • The misconceived belief that the theorem applies to random sampling of any variable, rather than to the mean values (or sums) of iid random variables extracted from a population by repeated sampling. That is, the theorem assumes the random sampling produces a sampling distribution formed from different values of means (or sums) of such random variables.
  • The misconceived belief that the theorem ensures that random sampling leads to the emergence of a normal distribution for sufficiently large samples of any random variable, regardless of the population distribution. In reality, such sampling asymptotically reproduces the properties of the population, an intuitive result underpinned by the Glivenko-Cantelli theorem.
  • The misconceived belief that the theorem leads to a good approximation of a normal distribution for sample sizes greater than around 30, allowing reliable inferences regardless of the nature of the population. In reality, this empirical rule of thumb has no valid justification, and can lead to seriously flawed inferences. See Z-test for where the approximation holds.

Relation to the law of large numbers

The law of large numbers as well as the central limit theorem are partial solutions to a general problem: "What is the limiting behavior of Sn as n approaches infinity?" In mathematical analysis, asymptotic series are one of the most popular tools employed to approach such questions.

Suppose we have an asymptotic expansion of \(f(n)\):

\[f(n)= a_1 \varphi_{1}(n)+a_2 \varphi_{2}(n)+O\big(\varphi_{3}(n)\big) \qquad (n \to \infty).\]

Dividing both parts by φ1(n) and taking the limit will produce a1, the coefficient of the highest-order term in the expansion, which represents the rate at which f(n) changes in its leading term.

\[\lim_{n\to\infty} \frac{f(n)}{\varphi_{1}(n)} = a_1.\]

Informally, one can say: "f(n) grows approximately as a1φ1(n)". Taking the difference between f(n) and its approximation and then dividing by the next term in the expansion, we arrive at a more refined statement about f(n):

\[\lim_{n\to\infty} \frac{f(n)-a_1 \varphi_{1}(n)}{\varphi_{2}(n)} = a_2 .\]

Condensed: the full section is in Wikipedia.

Calculating the variance

Let Sn be the sum of n random variables. Many central limit theorems provide conditions such that Sn/√Var(Sn) converges in distribution to N(0,1) (the normal distribution with mean 0, variance 1) as n → ∞. In some cases, it is possible to find a constant σ and function f(n) such that Sn/(σ√n⋅f(n)) converges in distribution to N(0,1) as n→ ∞.

Lemma, Suppose \(X_1, X_2, \dots\) is a sequence of real-valued and strictly stationary random variables with \(\operatorname E(X_i) = 0\) for all \(i\), \(g : [0,1] \to \R\), and \(S_n = \sum_{i=1}^{n} g\left(\tfrac{i}{n}\right) X_i\). Construct

\[\sigma^2 = \operatorname E(X_1^2) + 2\sum_{i=1}^\infty \operatorname E(X_1 X_{1+i})\]

  1. If \(\sum_{i=1}^\infty \operatorname E(X_1 X_{1+i})\) is absolutely convergent, \(\left| \int_0^1 g(x)g'(x) \, dx\right| < \infty\), and \(0 < \int_0^1 (g(x))^2 dx < \infty\) then \(\mathrm{Var}(S_n)/(n \gamma_n) \to \sigma^2\) as \(n \to \infty\) where \(\gamma_n = \frac{1}{n}\sum_{i=1}^{n} \left(g\left(\tfrac{i}{n}\right)\right)^2\).
  2. If in addition \(\sigma > 0\) and \(S_n/\sqrt{\mathrm{Var}(S_n)}\) converges in distribution to \(\mathcal{N}(0,1)\) as \(n \to \infty\) then \(S_n/(\sigma\sqrt{n \gamma_n})\) also converges in distribution to \(\mathcal{N}(0,1)\) as \(n \to \infty\).

Ngayon ikaw Walang kalkulador settles ito isa, ngunit ang mga piraso ng mga ito ay computable. Subukan ang isa sa ibaba, o type ang iyong sarili.

Panatilihin ang iyong sariling nagtatrabaho

Ang isang libreng account ay nagdaragdag ng mga tala sa bawat aralin, isang tala ng kung ano ang iyong natapos, ang iyong mga nalulutas na problema sa isang lugar, at isang guro na maaari mong tanungin tungkol sa pahinang ito. Ang matematika mismo ay bukas sa lahat, naka-sign in o hindi.

Mag-sign Up Mag-login

Mga simbolong ginagamit dito

I-tap ang anumang simbolo para sa buong kahulugan, isang larawan, at kung ano ang ibig sabihin ng bawat titik sa ito.

Mga katanungan na tanong ng mga tao

What is the difference between probability and statistics?

Probability goes from a known model to what the data should look like; statistics goes from data back to the model. Probability theory is the deductive half.

What does the law of large numbers promise?

That the average of many independent samples converges to the expected value. It says nothing about any single trial.

Bahagi ng pahinang ito ay naaayon mula sa Wikipedia (CC BY-SA 4.0). Condensed at muling ipinaliwanag dito; errors ay aming.

Higit pa sa Probability Theory