Dvoretzky-Kiefer-Wolfowitz inequality 2026-10-18
For independent and identically distributed real random variables with cumulative distribution function , the Dvoretzky-Kiefer-Wolfowitz inequality gives, for every and ,The supremum is the Kolmogorov distance: a single event controls all thresholds simultaneously. The bound holds for discrete, continuous, and mixed probability distributions.[ref]
For one fixed threshold, Hoeffding's inequality gives the same expression as an upper bound on . That fixed-threshold result alone does not justify moving the supremum inside the probability. The DKW inequality is the stronger statement needed for a simultaneous empirical distribution confidence band.
Kolmogorov distance Created 2026-10-06 Updated 2026-10-07
The Kolmogorov distance between two probability distributions with cumulative distribution functions is .
Kolmogorov-Smirnov statistic 2026-10-14
For an empirical distribution function and a specified cumulative distribution function , the one-sample Kolmogorov-Smirnov statistic is their Kolmogorov distance:The displayed sum uses an indicator function. With this convention, is right-continuous. For distinct observations, its value and its left one-sided limit at the th order statistic are and .
For continuous , both jump sides matter. Define the two directional discrepancies byThus uses the empirical distribution function immediately after a jump, and uses its left one-sided limit.[ref] A supremum need not be attained.
For , on , and the stipulated order statistics , the complete calculation isThe last two columns give the signed directional gaps: , , and . In contrast, checking only gives and misses the largest gap approached as . At itself, the gap has already fallen to .
The finite formula follows from the behavior between jumps: the empirical distribution function is constant and the cumulative distribution function is monotone, so the largest directional gaps occur at the two interval ends, possibly as one-sided limits. The two tails introduce no larger gap. Checking every jump side therefore gives the exact supremum.
A common normalized Kolmogorov-Smirnov statistic is , which equals in this example. Its large-sample reference law comes from the Kolmogorov-Smirnov theorem. The unscaled remains the largest difference of cumulative probabilities, not a p-value.
There is a useful exact exception to the usual warning about fitting statistical parameters. Suppose independent and identically distributed observations have the uniform distribution on with unknown . Let and let be the label of its almost surely unique maximizing observation. Conditional on and , the surviving labelled observations are independent with the uniform distribution on ; after division by they are independent and identically distributed uniforms on . These are conditional distributions defined by probability density functions, since the event has probability zero.
To check this, the joint probability density function of and is for . Dividing the original joint probability density function by this factor gives the conditional survivor probability density functionThis factorization proves the claimed conditional independence; scaling removes . Keep the surviving labels in a fixed order, or apply an independent random permutation. The sorted survivors instead have the joint law of uniform order statistics and exhibit statistical dependence; sorting does not affect their empirical distribution function. Delete the maximum itself, which would otherwise become a forced value , and compute the Kolmogorov-Smirnov statistic using sample size and jump heights . This gives an exact conditional Kolmogorov-Smirnov test under the uniform-endpoint statistical model. It does not justify fitting an arbitrary endpoint or other statistical parameters and using the ordinary -sample calibration.
Lattice obstruction to normal approximation 2026-10-06
If a cumulative distribution function is constant between consecutive lattice points spaced by near zero, then its Kolmogorov distance from the standard normal distribution function is at least half the increase of that function across one such interval. This gives a lower bound of order .
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 124 5 d Solution Created 2026-10-03 Updated 2026-10-06
Let , , and let be the cumulative distribution function of . Since the prime omega function is integer-valued, is constant on every half-open interval between consecutive points of the lattice .
Choose and put , . Then , and has the same value throughout . The standard normal distribution function is continuous, so the definition of the Kolmogorov distance giveswhere the second inequality follows by taking a limit from below at . The triangle inequality therefore yieldsThus the integer lattice forces the lower bound:This lattice obstruction to normal approximation does not require a quantitative Erdős-Kac theorem; it follows directly from discreteness and the positive standard normal density near zero.
