Theoremcore
Glivenko-Cantelli theorem
Also called fundamental theorem of statistics.
The empirical distribution function converges to the true distribution function uniformly in x, almost surely, as the sample size grows.
The Glivenko-Cantelli theorem says that the empirical distribution function of an independent sample converges to the true distribution function uniformly over the whole real line, with probability 1. The law of large numbers gives at each single point ; the theorem adds that the convergence is uniform in , for every , with no condition of continuity or moments. So the whole distribution, and with it every quantity that depends continuously on the distribution function, can be learned from data. The DKW inequality gives the rate, and the Kolmogorov-Smirnov test uses the limit law of the uniform distance.
Statement
Let be independent random variables with the same distribution function , and let . Put
Theorem (Glivenko, Cantelli). For every distribution function , almost surely as .
is right-continuous, so the sup equals the sup over the rational numbers and is a random variable. Glivenko proved the theorem for continuous , and Cantelli for every .
In plain words
Draw a sample and plot the share of the sample below each value. As the sample grows, this staircase comes close to the true curve, and it comes close everywhere at the same time, not only at one point that you chose in advance.
This holds for every distribution of real numbers: smooth or with jumps, with heavy tails or without. Nothing about the shape of the distribution must be known. So a large enough sample tells you the whole distribution, up to a small error everywhere.
Proof
Fix an integer . For let , and let and , with and . Write for the limit from the left.
Step 1: the grid controls the jumps of . By right-continuity, . For , , so . Hence for .
Step 2: the error between grid points. Let . Both and are nondecreasing, so
The intervals for cover ; some can be empty when has a jump that covers several levels . With Step 1,
because the terms with and are 0.
Step 3: finitely many points. is an average of independent Bernoulli variables with mean , and is an average of independent Bernoulli variables with mean . By the strong law of large numbers each of these averages converges to its mean almost surely. A finite intersection of events of probability 1 has probability 1, so almost surely, and almost surely.
Step 4: all . The event is a countable intersection of events of probability 1, so it has probability 1, and on it .
The proof uses only independence for the strong law at each grid point, so the same argument works for any sequence for which the strong law holds at each fixed , for example a stationary ergodic sequence.
Consequences
Consistency of plug-in estimators. If a functional is continuous at for the sup distance, then almost surely. The -quantile converges to when is strictly increasing at , so sample medians and sample quantiles are consistent.
Consistency of the Kolmogorov-Smirnov test. If the true differs from the hypothesized , then , while the critical value tends to 0. So the test rejects with probability tending to 1 against every fixed alternative.
The bootstrap. The bootstrap draws from in place of . The theorem says that is uniformly close to for large , which is the first step of every proof that the bootstrap works.
Learning theory. Half-lines form a class of sets of VC dimension 1. The theorem is the simplest case of the uniform law of large numbers over a class of finite VC dimension, which makes empirical risk minimization consistent.
The rate. The DKW inequality, , gives the rate and, by the Borel-Cantelli lemma, a second proof of the theorem. In a Monte Carlo run with uniform data, samples for each and seed 2026, the mean of was , , and for , , and . Times these are , , and , near the mean of the Kolmogorov limit law.
Tightness
Not over all sets. For continuous , for every when the sup runs over all Borel sets : the finite set has and . The uniform convergence needs a small class of sets, such as the half-lines.
Not without independence or ergodicity. If for all and is continuous, is the single step at , and for every . Each still has the distribution function .
No faster than . For continuous , jumps by at while does not jump, so changes by there and for every sample. The typical size is , by the Monte Carlo run above.
History
Valery Glivenko (1933) proved the uniform convergence for continuous , and Francesco Paolo Cantelli (1933) gave the result for every ; both papers appeared in volume 4 of the Giornale dell'Istituto Italiano degli Attuari, after Kolmogorov's paper on the limit law of in the same volume. Dvoretzky, Kiefer and Wolfowitz (1956) gave an exponential bound for , and the theory of empirical processes later extended the theorem from half-lines to classes of sets and functions.
References
- V. Glivenko, Sulla determinazione empirica delle leggi di probabilità, Giornale dell'Istituto Italiano degli Attuari 4, 1933, pages 92 to 99, the uniform convergence of the empirical distribution function to a continuous distribution function
- F. P. Cantelli, Sulla determinazione empirica delle leggi di probabilità, Giornale dell'Istituto Italiano degli Attuari 4, 1933, pages 421 to 424, the extension of the uniform convergence to every distribution function
- A. W. van der Vaart, Asymptotic Statistics, Cambridge University Press, 1998, Chapter 19 (empirical processes), Section 19.1 (the empirical distribution function and the proof of the Glivenko-Cantelli theorem with a finite grid)
- A. Dvoretzky, J. Kiefer and J. Wolfowitz, Asymptotic minimax character of the sample distribution function and of the classical multinomial estimator, Annals of Mathematical Statistics 27(3), 1956, pp. 642 to 669 (the exponential bound on the uniform distance, which gives the rate)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag TMG7CE Edit this page History Report an error Markdown