4.3. Convergence in distribution from pointwise convergence of cdfs
-
tendsto_of_forall_continuousAt_tendsto_cdf[sorry in proof]
Sufficient condition for convergence in distribution with cdfs
Let F and F_n, n \in \bN, be cumulative distribution functions of
probability measures \PRmeas and \PRmeas_n, n \in \bN, respectively, i.e.,
\begin{aligned}
F(x) = \; & \PRmeas \big[(-\infty,x]\big] & & \text{for $x \in \bR$} \\
F_n(x) = \; & \PRmeas_n \big[(-\infty,x]\big] & & \text{for $x \in \bR$ and $n \in \bN$.}
\end{aligned}
If \lim_{n \to \infty} F_n(x) = F(x) for all continuity points x of F,
then \lim_{n \to \infty} \PRmeas_n = \PRmeas in the sense of weak convergence
of measures, Definition 4.1.1.
Lean code for Theorem4.3.1●1 theorem, incomplete
Associated Lean declarations
-
tendsto_of_forall_continuousAt_tendsto_cdf[sorry in proof]
-
tendsto_of_forall_continuousAt_tendsto_cdf[sorry in proof]
-
theoremdefined in ExtremeValueProject/WeakConvergenceCDF.leancontains sorry
theorem tendsto_of_forall_continuousAt_tendsto_cdf (μs : ℕ → MeasureTheory.ProbabilityMeasure ℝ) (μ : MeasureTheory.ProbabilityMeasure ℝ) (h : ∀ (x : ℝ), ContinuousAt (↑μ.cdf.toStieltjesFunction) x → Filter.Tendsto (fun n => ↑(μs n).cdf.toStieltjesFunction x) Filter.atTop (nhds (↑μ.cdf.toStieltjesFunction x))) : Filter.Tendsto μs Filter.atTop (nhds μ)
theorem tendsto_of_forall_continuousAt_tendsto_cdf (μs : ℕ → MeasureTheory.ProbabilityMeasure ℝ) (μ : MeasureTheory.ProbabilityMeasure ℝ) (h : ∀ (x : ℝ), ContinuousAt (↑μ.cdf.toStieltjesFunction) x → Filter.Tendsto (fun n => ↑(μs n).cdf.toStieltjesFunction x) Filter.atTop (nhds (↑μ.cdf.toStieltjesFunction x))) : Filter.Tendsto μs Filter.atTop (nhds μ)
Theorem 4.8 (convergence-in-distribution-with-cdf) in blueprint: Convergence of a sequence of c.d.f.s pointwise at all continuity points of the limit c.d.f. imply convergence in distribution of the corresponding Borel probability measures on `ℝ`.
Let D \subset \bR denote the set of continuity points of F. By
Lemma 4.2.1, D is dense in \bR.
Assume that \lim_{n \to \infty} F_n(x) = F(x) for all x \in D.
Let \eps > 0. Choose, by Lemma 4.2.2, points
a,b \in D, a<b, such that F(b) - F(a) > 1 - \eps.
Observe also that since \lim_{n \to \infty} F_n(a) = F(a)
and \lim_{n \to \infty} F_n(b) = F(b), there exists some N_1 such that
we have
F_n(b) - F_n(a) > 1 - 2\eps \qquad \text{ for all } n \geq N_1 .
Let f \colon \bR \to \bR be bounded and continuous.
By Lemma 4.2.4
we can choose points
a=c_0 < c_1 < \cdots < c_{k-1} < c_k = b such that
for all j = 1 , \ldots , k we have c_j \in D and
\big| f(x) - f(c_j) \big| < \eps
\qquad \text{ for } \qquad x \in [c_{j-1} , c_j] .
Define the simple function h \colon \bR \to \bR by
h(x) = \sum_{j=1}^k f(c_j) \; \indof{(c_{j-1},c_j]}(x)
The above estimate shows that |f(x) - h(x)| < \eps for all x \in [a,b].
By boundedness of f, there exists a constant K>0 such that |f(x)| \leq K
for all x \in \bR. Since h vanishes outside (a,b],
the triangle inequality for integral with respect to \PRmeas_n gives
\begin{aligned}
\Big| \int_{\bR} f \, \ud \PRmeas_n - \int_{\bR} h \, \ud \PRmeas_n \Big|
\, \leq \; & \, \underbrace{\int_{(a,b]} |f-h| \, \ud \PRmeas_n}_{\leq \eps}
+ \underbrace{\int_{\bR \setminus (a,b]} |f| \, \ud \PRmeas_n}_{%
\leq K \, \PRmeas_n\big[ \bR \setminus (a,b] \big]} .
\end{aligned}
When n \geq N_1, we have
\PRmeas_n\big[ \bR \setminus (a,b] \big]
= 1 - \PRmeas_n\big[ (a,b] \big] = 1 - (F_n(b) - F_n(a)) < 2 \eps,
and thus the triangle inequality implies
\begin{aligned}
\Big| \int_{\bR} f \, \ud \PRmeas_n - \int_{\bR} h \, \ud \PRmeas_n \Big|
\, \leq \; & \eps + K \, 2 \eps = (1 + 2K) \, \eps .
\end{aligned}
Similarly, integrating now with respect to \PRmeas instead, one shows that
\begin{aligned}
\Big| \int_{\bR} f \, \ud \PRmeas - \int_{\bR} h \, \ud \PRmeas \Big|
\, \leq \; & (1 + K) \, \eps .
\end{aligned}
It remains to consider the integrals of the function h with respect to both
\PRmeas_n and \PRmeas. By Lemma 4.2.5,
these integrals are expressible in terms of the cumulative distribution functions,
\begin{aligned}
\int_{\bR} h \, \ud \PRmeas_n
= \; & \sum_{j=1}^k f(c_j) \, \big( F_n(c_j) - F_n(c_{j-1}) \big)
\end{aligned}
and
\begin{aligned}
\int_{\bR} h \, \ud \PRmeas
% = \; & \sum_{j=1}^k f(c_j) \; \PRmeas_n \big[ (c_{j-1},c_j] \big]
% \\
= \; & \sum_{j=1}^k f(c_j) \, \big( F(c_j) - F(c_{j-1}) \big) .
\end{aligned}
The difference of the integrals of h with respect to these two can
therefore be estimated as
\begin{aligned}
\Big| \int_{\bR} h \, \ud \PRmeas - \int_{\bR} h \, \ud \PRmeas_n \Big|
\, = \; & \, \Big| \sum_{j=1}^k f(c_j) \,
\big( F(c_j) - F_n(c_j) - F(c_{j-1}) + F_n (c_{j-1}) \big) \Big| \\
\leq \; & \, \sum_{j=1}^k |f(c_j)| \; \Big(
\big| F(c_j) - F_n(c_j) \big| + \big| F(c_{j-1}) + F_n (c_{j-1}) \big|
\Big) \\
\leq \; & \, 2 k K \max_{j = 0 , \ldots , k} \big| F(c_j) - F_n(c_j) \big| .
\end{aligned}
By our assumption (ii), we have
\lim_{n \to \infty} F_n(c_j) = F(c_j) for each j = 1 , \ldots, k, so
there exists N_2 such that for n \geq N_2 we have
\max_{j = 1 , \ldots , k} | F(c_j) - F_n(c_j) | < \frac{\eps}{k}, and
thus
\begin{aligned}
\Big| \int_{\bR} h \, \ud \PRmeas - \int_{\bR} h \, \ud \PRmeas_n \Big|
\leq \; & \, 2 K \eps .
\end{aligned}
Combining the estimates we have obtained, for n \geq \max(N_1 , N_2), we have
\begin{aligned}
& \Big| \int_{\bR} f \, \ud \PRmeas - \int_{\bR} f \, \ud \PRmeas_n \Big| \\
\leq \; \, &
\underbrace{
\Big| \int_{\bR} f \, \ud \PRmeas - \int_{\bR} h \, \ud \PRmeas \Big|}_{
\leq (1+K) \eps}
+ \underbrace{
\Big| \int_{\bR} h \, \ud \PRmeas - \int_{\bR} h \, \ud \PRmeas_n \Big|}_{
\leq 2 K \eps}
+ \underbrace{
\Big| \int_{\bR} h \, \ud \PRmeas_n - \int_{\bR} f \, \ud \PRmeas_n \Big|}_{
\leq (1+2K) \eps } \\
\leq \; \, & (2 + 5 K) \eps .
\end{aligned}
Since \eps > 0 was arbitrary, this shows that
\int f \, \ud \PRmeas_n \to \int f \, \ud \PRmeas as n \to \infty, so we
have established the weak convergence \PRmeas_n \to \PRmeas
according to Definition 4.1.1.
Necessary condition for convergence in distribution with cdfs
Let \PRmeas and \PRmeas_n, n \in \bN, be Borel
probability measures on \bR, and let F and F_n, n \in \bN,
be their cumulative distribution functions, respectively, i.e.,
\begin{aligned}
F(x) = \; & \PRmeas \big[(-\infty,x]\big] & & \text{for $x \in \bR$} \\
F_n(x) = \; & \PRmeas_n \big[(-\infty,x]\big] & & \text{for $x \in \bR$ and $n \in \bN$.}
\end{aligned}
If \lim_{n \to \infty} \PRmeas_n = \PRmeas in the sense of weak convergence
of measures, Definition 4.1.1, then
for all continuity points x of F we have
\lim_{n \to \infty} F_n(x) = F(x).
Lean code for Lemma4.3.2●1 theorem
Associated Lean declarations
-
theoremdefined in ExtremeValueProject/CumulativeDistributionFunction.leancomplete
theorem CumulativeDistributionFunction.tendsto_apply_of_tendsto_of_continuousAt.{u_1} {ι : Type u_1} {L : Filter ι} {μs : ι → MeasureTheory.ProbabilityMeasure ℝ} {μ : MeasureTheory.ProbabilityMeasure ℝ} (weak_lim : Filter.Tendsto μs L (nhds μ)) {x : ℝ} (cont : ContinuousAt (↑μ.cdf.toStieltjesFunction) x) : Filter.Tendsto (fun i => ↑(μs i).cdf.toStieltjesFunction x) L (nhds (↑μ.cdf.toStieltjesFunction x))
theorem CumulativeDistributionFunction.tendsto_apply_of_tendsto_of_continuousAt.{u_1} {ι : Type u_1} {L : Filter ι} {μs : ι → MeasureTheory.ProbabilityMeasure ℝ} {μ : MeasureTheory.ProbabilityMeasure ℝ} (weak_lim : Filter.Tendsto μs L (nhds μ)) {x : ℝ} (cont : ContinuousAt (↑μ.cdf.toStieltjesFunction) x) : Filter.Tendsto (fun i => ↑(μs i).cdf.toStieltjesFunction x) L (nhds (↑μ.cdf.toStieltjesFunction x))
Lemma 4.7 (cdf-convergence-from-convergence-in-distribution) in blueprint: Convergence in distribution of a sequence of Borel probability measures on `ℝ` implies that the corresponding c.d.f.s converge pointwise at all continuity points of the limit c.d.f.
Let x \in \bR be a continuity point of F. Then we have \mu [\set{x}] = 0,
by Lemma 1.5.1.
Note that the boundary of the Borel set (-\infty,x] \subset \bR is
the singleton \partial (-\infty,x] = \set{x}.
Therefore the assumption \lim_{n \to \infty} \PRmeas_n = \PRmeas implies that
\PRmeas_n \big[ (-\infty,x] \big] \to \PRmeas \big[ (-\infty,x] \big] ,
by a general fact (Lemma 4.2.6)
about weakly converging sequences of measures
that a for Borel sets whose boundary carries no mass in the limit measure.
In terms of the c.d.f.s, the above reads
F_n(x) \to F(x)
as asserted.