For independent and identically distributed real observations with cumulative distribution function , the empirical distribution functionsatisfies the Glivenko-Cantelli theoremThe population law may have atoms; continuity of is not required. The conclusion is uniform over every threshold, strengthening the separate strong laws for fixed thresholds.[ref]
Here is a proof using inverse transform sampling. First take iid uniforms and their empirical CDF . At the finitely many grid points , the strong law of large numbers gives simultaneously. Monotonicity bounds the discrepancy between grid points by the largest grid discrepancy plus . Taking countably many proves uniform convergence on .
For general , construct using the quantile function. Then exactly when , so and the general supremum is bounded by the uniform one. This also handles jumps of . The theorem does not apply merely because an empirical CDF was formed: for repeated copies of the same nondegenerate random observation, the empirical CDF does not approach its population law in this way.
For a cumulative distribution function , let , . Right continuity gives exactly when , including at atoms. Thus applying to independent uniform variables constructs an independent sample with distribution function . Its empirical distribution function is , where is the uniform-sample empirical distribution function. Consequently . For the uniform sample, monotonicity and a grid of mesh bound the last supremum by the largest error at grid points plus . The strong law of large numbers on the countable union of all such grids proves the almost-sure limit. This construction proves the theorem for distributions with atoms as well as continuous distributions.
Articles by others on the same topic
The Glivenko–Cantelli theorem is a fundamental result in probability theory and statistics that deals with the convergence of empirical distribution functions to the true distribution function of a random variable.