Glivenko–Cantelli theorem

From HandWiki
Short description: Theory of probability
The left diagram illustrates Glivenko–Cantelli theorem for uniform distributions. The right diagram illustrates the Donsker–Skorokhod–Kolmogorov theorem
The same diagram for normal distributions

In the theory of probability, the Glivenko–Cantelli theorem (sometimes referred to as the Fundamental Theorem of Statistics), named after Valery Ivanovich Glivenko and Francesco Paolo Cantelli, describes the asymptotic behaviour of the empirical distribution function as the number of independent and identically distributed observations grows.[1] Specifically, the empirical distribution function converges uniformly to the true distribution function almost surely.

The uniform convergence of more general empirical measures becomes an important property of the Glivenko–Cantelli classes of functions or sets.[2] The Glivenko–Cantelli classes arise in Vapnik–Chervonenkis theory, with applications to machine learning. Applications can be found in econometrics making use of M-estimators.

Statement

Assume that [math]\displaystyle{ X_1,X_2,\dots }[/math] are independent and identically distributed random variables in [math]\displaystyle{ \mathbb{R} }[/math] with common cumulative distribution function [math]\displaystyle{ F(x) }[/math]. The empirical distribution function for [math]\displaystyle{ X_1,\dots,X_n }[/math] is defined by

[math]\displaystyle{ F_n(x)=\tfrac{1}{n}\sum_{i=1}^n I_{[X_i, \infty)}(x) = \tfrac{1}{n}\ \biggl|\left\{\ i \ \mid X_i \leq x, \ 1 \leq i \leq n \right\}\biggr| }[/math]

where [math]\displaystyle{ I_C }[/math] is the indicator function of the set [math]\displaystyle{ \ C ~. }[/math] For every (fixed) [math]\displaystyle{ \ x\ , }[/math] [math]\displaystyle{ \ F_n(x)\ }[/math] is a sequence of random variables which converge to [math]\displaystyle{ F(x) }[/math] almost surely by the strong law of large numbers. Glivenko and Cantelli strengthened this result by proving uniform convergence of [math]\displaystyle{ \ F_n\ }[/math] to [math]\displaystyle{ \ F ~. }[/math]

Theorem

[math]\displaystyle{ \|F_n - F\|_\infty = \sup_{x \in \mathbb{R}} \biggl|F_n(x) - F(x)\biggr| \longrightarrow 0 }[/math] almost surely.[3]:{{{1}}}

This theorem originates with Valery Glivenko[4] and Francesco Cantelli,[5] in 1933.

Remarks
  • If [math]\displaystyle{ \ X_n\ }[/math] is a stationary ergodic process, then [math]\displaystyle{ F_n(x) }[/math] converges almost surely to [math]\displaystyle{ \ F(x) = \operatorname\mathbb{E} \bigl[ 1_{X_1 \le x} \bigr] ~. }[/math] The Glivenko–Cantelli theorem gives a stronger mode of convergence than this in the iid case.
  • An even stronger uniform convergence result for the empirical distribution function is available in the form of an extended type of law of the iterated logarithm.[3]:{{{1}}} See asymptotic properties of the empirical distribution function for this and related results.

Proof

For simplicity, consider a case of continuous random variable [math]\displaystyle{ X }[/math]. Fix [math]\displaystyle{ -\infty =x_0\lt x_1\lt \cdots \lt x_{m-1}\lt x_m=\infty }[/math] such that [math]\displaystyle{ F(x_j)-F(x_{j-1})=\frac{1}{m} }[/math] for [math]\displaystyle{ j=1,\dots,m }[/math]. Now for all [math]\displaystyle{ x \in \mathbb{R} }[/math] there exists [math]\displaystyle{ j \in \{1,\dots,m\} }[/math] such that [math]\displaystyle{ x \in [x_{j-1},x_j] }[/math].

[math]\displaystyle{ \begin{align} F_n(x)-F(x) &\leq F_n(x_j)-F(x_{j-1}) = F_n(x_j)-F(x_j)+\frac1m,\\ F_n(x)-F(x) &\geq F_n(x_{j-1})-F(x_j) = F_n(x_{j-1})-F(x_{j-1})-\frac1m. \end{align} }[/math]

Therefore,

[math]\displaystyle{ \|F_n-F\|_\infty = \sup_{x\in \mathbb{R}}|F_n(x)-F(x)| \leq \max_{j\in\{1,\dots,m\}} |F_n(x_j)-F(x_j)| + \frac1m. }[/math]

Since [math]\displaystyle{ \max_{j\in\{1,\dots,m\}} |F_n(x_j)-F(x_j)| \to 0 \text{ a.s.} }[/math] by strong law of large numbers, we can guarantee that for any positive [math]\displaystyle{ \varepsilon }[/math] and any integer [math]\displaystyle{ m }[/math] such that [math]\displaystyle{ 1/m\lt \varepsilon }[/math], we can find [math]\displaystyle{ N }[/math] such that for all [math]\displaystyle{ n \geq N }[/math], we have [math]\displaystyle{ \max_{j\in\{1,\dots,m\}} |F_n(x_j)-F(x_j)|\leq \varepsilon-1/m \text{ a.s.} }[/math]. Combined with the above result, this further implies that [math]\displaystyle{ \|F_n-F\|_\infty \leq \varepsilon \text{ a.s.} }[/math], which is the definition of almost sure convergence.

Empirical measures

One can generalize the empirical distribution function by replacing the set [math]\displaystyle{ (-\infty,x] }[/math] by an arbitrary set C from a class of sets [math]\displaystyle{ \mathcal{C} }[/math] to obtain an empirical measure indexed by sets [math]\displaystyle{ C \in \mathcal{C}. }[/math]

[math]\displaystyle{ P_n(C)=\frac{1}{n} \sum_{i=1}^n I_C(X_i), C\in\mathcal{C} }[/math]

Where [math]\displaystyle{ I_C(x) }[/math] is the indicator function of each set [math]\displaystyle{ C }[/math].

Further generalization is the map induced by [math]\displaystyle{ P_n }[/math] on measurable real-valued functions f, which is given by

[math]\displaystyle{ f\mapsto P_nf=\int_Sf \, dP_n = \frac 1 n \sum_{i=1}^n f(X_i), f\in\mathcal{F}. }[/math]

Then it becomes an important property of these classes whether the strong law of large numbers holds uniformly on [math]\displaystyle{ \mathcal{F} }[/math] or [math]\displaystyle{ \mathcal{C} }[/math].

Glivenko–Cantelli class

Consider a set [math]\displaystyle{ \ \mathcal{S}\ }[/math] with a sigma algebra of Borel subsets A and a probability measure [math]\displaystyle{ \ \mathbb{P} ~. }[/math] For a class of subsets,

[math]\displaystyle{ \mathcal{C} \subset \Bigl\{ C: C \text{ is measurable subset of }\mathcal{S} \Bigr\} }[/math]

and a class of functions

[math]\displaystyle{ \mathcal{F} \subset \Bigl\{ f:\mathcal{S}\to \mathbb{R}, f \mbox{ is measurable}\ \Bigr\} }[/math]

define random variables

[math]\displaystyle{ \Bigl\| \mathbb{P}_n - \mathbb{P} \Bigr\|_{\mathcal C} = \sup_{C \in {\mathcal C}} \Bigl| \mathbb{P}_n(C) - \mathbb{P}(C) \Bigr| }[/math]
[math]\displaystyle{ \Bigl\| \mathbb{P}_n - \mathbb{P} \Bigr\|_{\mathcal F} = \sup_{f \in {\mathcal F}} \Bigl| \mathbb{P}_n f - \mathbb{P} f \Bigr| }[/math]

where [math]\displaystyle{ \ \mathbb{P}_n(C)\ }[/math] is the empirical measure, [math]\displaystyle{ \ \mathbb{P}_n f\ }[/math] is the corresponding map, and

[math]\displaystyle{ \ \mathbb{P} f = \int_\mathcal{S} f \ \mathrm{d}\mathbb{P}\ , }[/math] assuming that it exists.

Definitions

  • A class [math]\displaystyle{ \ \mathcal C\ }[/math] is called a Glivenko–Cantelli class (or GC class, or sometimes strong GC class) with respect to a probability measure P if
[math]\displaystyle{ \ \Bigl\| \mathbb{P}_n - \mathbb{P} \Bigr\|_\mathcal{C} \to 0\ }[/math] almost surely as [math]\displaystyle{ \ n \to \infty ~. }[/math]
  • A class is [math]\displaystyle{ \ \mathcal C\ }[/math] is a weak Glivenko-Cantelli class with respect to P if it instead satisfies the weaker condition
[math]\displaystyle{ \ \Bigl\| \mathbb{P}_n - \mathbb{P} \Bigr\|_\mathcal{C} \to 0\ }[/math] in probability as [math]\displaystyle{ \ n \to \infty ~. }[/math]
  • A class is called a universal Glivenko–Cantelli class if it is a GC class with respect to any probability measure [math]\displaystyle{ \mathbb{P} }[/math] on [math]\displaystyle{ (\mathcal{S}, A) }[/math].
  • A class is a weak uniform Glivenko–Cantelli class if the convergence occurs uniformly over all probability measures [math]\displaystyle{ \mathbb{P} }[/math] on [math]\displaystyle{ (\mathcal{S}, A) }[/math]: For every [math]\displaystyle{ \varepsilon \gt 0 }[/math],
[math]\displaystyle{ \ \sup_{\mathbb{P} \in \mathbb{P}(\mathcal{S},A)} \Pr\left(\Bigl\| \mathbb{P}_n - \mathbb{P} \Bigr\|_\mathcal{C} \gt \varepsilon\right) \to 0\ }[/math] as [math]\displaystyle{ \ n \to \infty ~. }[/math]
  • A class is a (strong) uniform Glivenko-Cantelli class if it satisfies the stronger condition that for every [math]\displaystyle{ \varepsilon \gt 0 }[/math],
[math]\displaystyle{ \ \sup_{\mathbb{P} \in \mathbb{P}(\mathcal{S},A)} \Pr\left(\sup_{m \geq n} \Bigl\| \mathbb{P}_m - \mathbb{P} \Bigr\|_\mathcal{C} \gt \varepsilon\right) \to 0\ }[/math] as [math]\displaystyle{ \ n \to \infty ~. }[/math]

Glivenko–Cantelli classes of functions (as well as their uniform and universal forms) are defined similarly, replacing all instances of [math]\displaystyle{ \mathcal{C} }[/math] with [math]\displaystyle{ \mathcal{F} }[/math].

The weak and strong versions of the various Glivenko-Cantelli properties often coincide under certain regularity conditions. The following definition commonly appears in such regularity conditions:

  • A class of functions [math]\displaystyle{ \mathcal{F} }[/math] is image-admissible Suslin if there exists a Suslin space [math]\displaystyle{ \Omega }[/math] and a surjection [math]\displaystyle{ T:\Omega \rightarrow \mathcal{F} }[/math] such that the map [math]\displaystyle{ (x, y) \mapsto [T(y)](x) }[/math] is measurable [math]\displaystyle{ \mathcal{X}\times\Omega }[/math].
  • A class of measurable sets [math]\displaystyle{ \mathcal{C} }[/math] is image-admissible Suslin if the class of functions [math]\displaystyle{ \{\mathbf{1}_C \mid C\in\mathcal{C}\} }[/math] is image-admissible Suslin, where [math]\displaystyle{ \mathbf{1}_C }[/math] denotes the indicator function for the set [math]\displaystyle{ C }[/math].


Theorems

The following two theorems give sufficient conditions for the weak and strong versions of the Glivenko-Cantelli property to be equivalent.

Theorem (Talagrand, 1987)[6]

Let [math]\displaystyle{ \mathcal{F} }[/math] be a class of functions that is integrable [math]\displaystyle{ \mathbb{P} }[/math], and define [math]\displaystyle{ \mathcal{F}_0 = \{f - \mathbb{P}f \mid f\in \mathcal{F}\} }[/math]. Then the following are equivalent:
  • [math]\displaystyle{ \mathcal{F} }[/math] is a weak Glivenko-Cantelli class and [math]\displaystyle{ \mathcal{F}_0 }[/math] is dominated by an integrable function
  • [math]\displaystyle{ \mathcal{F} }[/math] is a Glivenko-Cantelli class


Theorem (Dudley, Giné, and Zinn, 1991)[7]

Suppose that a function class [math]\displaystyle{ \mathcal{F} }[/math] is bounded. Also suppose that the set [math]\displaystyle{ \mathcal{F}_0 = \{f - \inf f \mid f\in \mathcal{F}\} }[/math] is image-admissible Suslin. Then [math]\displaystyle{ \mathcal{F} }[/math] is a weak uniform Glivenko-Cantelli class if and only if it is a strong uniform Glivenko-Cantelli class.

The following theorem is central to statistical learning of binary classification tasks.

Theorem (Vapnik and Chervonenkis, 1968)[8]

Under certain consistency conditions, a universally measurable class of sets [math]\displaystyle{ \ \mathcal{C}\ }[/math] is a uniform Glivenko-Cantelli class if and only if it is a Vapnik–Chervonenkis class.

There exist a variety of consistency conditions for the equivalence of uniform Glivenko-Cantelli and Vapnik-Chervonenkis classes. In particular, either of the following conditions for a class [math]\displaystyle{ \mathcal{C} }[/math] suffice:[9]

  • [math]\displaystyle{ \mathcal{C} }[/math] is image-admissible Suslin.
  • [math]\displaystyle{ \mathcal{C} }[/math] is universally separable: There exists a countable subset [math]\displaystyle{ \mathcal{C_0} }[/math] of [math]\displaystyle{ \mathcal{C} }[/math] such that each set [math]\displaystyle{ C\in\mathcal{C} }[/math] can be written as the pointwise limit of sets in [math]\displaystyle{ \mathcal{C}_0 }[/math].

Examples

  • Let [math]\displaystyle{ S=\mathbb R }[/math] and [math]\displaystyle{ {\mathcal C}=\{(-\infty,t]:t\in {\mathbb R}\} }[/math]. The classical Glivenko–Cantelli theorem implies that this class is a universal GC class. Furthermore, by Kolmogorov's theorem,
[math]\displaystyle{ \sup_{P\in \mathcal{P}(S,A)}\|P_n-P\|_{\mathcal C} \sim n^{-1/2} }[/math], that is [math]\displaystyle{ \mathcal{C} }[/math] is uniformly Glivenko–Cantelli class.
  • Let P be a nonatomic probability measure on S and [math]\displaystyle{ \mathcal{C} }[/math] be a class of all finite subsets in S. Because [math]\displaystyle{ A_n=\{X_1,\ldots,X_n\}\in \mathcal{C} }[/math], [math]\displaystyle{ P(A_n)=0 }[/math], [math]\displaystyle{ P_n(A_n)=1 }[/math], we have that [math]\displaystyle{ \|P_n-P\|_{\mathcal C}=1 }[/math] and so [math]\displaystyle{ \mathcal{C} }[/math] is not a GC class with respect to P.

See also

References

  1. Howard G.Tucker (1959). "A Generalization of the Glivenko–Cantelli Theorem". The Annals of Mathematical Statistics 30 (3): 828–830. doi:10.1214/aoms/1177706212. 
  2. van der Vaart, A. W. (1998). Asymptotic Statistics. Cambridge University Press. p. 279. ISBN 978-0-521-78450-4. https://archive.org/details/asymptoticstatis00vaar_017. 
  3. 3.0 3.1 van der Vaart, A.W. (1998). Asymptotic Statistics. Cambridge University Press. ISBN 978-0-521-78450-4. https://archive.org/details/asymptoticstatis00vaar_017. 
  4. Glivenko, V. (1933). "Sulla determinazione empirica delle leggi di probabilità". Giorn. Ist. Ital. Attuari 4: 92-99. 
  5. Cantelli, F.P. (1933). "Sulla determinazione empirica delle leggi di probabilità". Giorn. Ist. Ital. Attuari 4: 421-424. 
  6. Talagrand, M. (1987). "The Glivenko-Cantelli Problem". Annals of Probability 15: 837-870. doi:10.1214/AOP/1176992069. 
  7. Dudley, Richard M.; Giné, Eva; Zinn, Joel C. (1991). "Uniform and universal Glivenko-Cantelli classes". Journal of Theoretical Probability 4: 485-510. doi:10.1007/BF01210321. 
  8. Vapnik, V.N.; Chervonenkis, A.Ya. (1971). "On the Uniform Convergence of Relative Frequencies of Events to Their Probabilities". Theory of Probability & Its Applications 16 (2): 264–280. doi:10.1137/1116025. 
  9. Pestov, Vladimir (2011). "PAC learnability versus VC dimension: A footnote to a basic result of statistical learning". pp. 1141-1145. doi:10.1109/IJCNN.2011.6033352. 

Further reading

  • Dudley, R.M. (1999). Uniform Central Limit Theorems. Cambridge University Press. ISBN 0-521-46102-2. 
  • Pitman, E.J.G. (1979). "The Sample Distribution Function". Some Basic Theory for Statistical Inference. London, UK: Chapman and Hall. p. 79–97. ISBN 0-470-26554-X. 
  • Shorack, G.R.; Wellner, J.A. (1986). Empirical Processes with Applications to Statistics. Wiley. ISBN 0-471-86725-X. 
  • van der Vaart, A.W.; Wellner, J.A. (1996). Weak Convergence and Empirical Processes. Springer. ISBN 0-387-94640-3. 
  • van der Vaart, Aad W.; Wellner, Jon A. (1996). Glivenko-Cantelli Theorems. Springer. 
  • van der Vaart, Aad W.; Wellner, Jon A. (2000). Preservation Theorems for Glivenko–Cantelli and Uniform Glivenko–Cantelli Classes. Springer.