Metrizing weak convergence of distributions

Author: Yen-Chi Chen (University of Washington)
Date: 07/22/2026

Metrics of weak convergence

By the Portmanteau theorem, we have seen that there are a number of ways to define convergence in distribution (weak convergence). However, the Portmanteau theorem does not directly describe the convergence as a convergence in metric/distance of distributions. In this section, we discuss the concept of convergence under distances of distributions.

Let XnX_n be a sequence of random variables with CDF FXnF_{X_n} and let ZZ be a fixed random variable with a CDF FZF_Z. We want to study the convergence of d(FXn,FZ)0d(F_{X_n}, F_Z) \rightarrow 0, where dd is a distance of distributions. We first introduce three core distances whose convergence is equivalent to the convergence in distribution.

Definition (Lévy distance)

The Lévy distance between CDFs FF and GG is
dLevy(F,G)=inf{ϵ>0:F(xϵ)ϵG(x)F(x+ϵ)+ϵfor all x}.d_{Levy}(F,G) = \inf\{\epsilon>0: F(x-\epsilon)-\epsilon \leq G(x) \leq F(x+\epsilon)+\epsilon\,\, \text{for all }x \}.

Note that Lévy distance is only defined for univariate distributions.

Definition (Prokhorov distance).

For any given set BB, let Bϵ={y:d(y,B)<ϵ}B\oplus \epsilon = \{y: d(y , B)<\epsilon\} be an open region that is within an ϵ\epsilon neighborhood of BB. The Prokhorov distance between CDFs FF and GG is
dProk(F,G)=inf{ϵ>0:F(B)G(Bϵ)+ϵfor all B}.d_{Prok}(F,G) = \inf\{\epsilon>0: F(B) \leq G(B\oplus \epsilon)+\epsilon \,\,\text{for all } B\}.

Definition (Bounded Lipschitz distance)

The Bounded Lipschitz distance between CDFs FF and GG is
dBL(F,G)=sup{f(x)dF(x)f(x)dG(x):f1,fL1},d_{BL}(F,G) = \sup\left\{\left|\int f(x) dF(x) - \int f(x)dG(x)\right|: \|f\|_\infty \leq 1,\|f\|_L\leq 1\right\},
where fL=supxyf(x)f(y)xy\|f\|_L = \sup_{x\neq y}\frac{|f(x)- f(y)|}{|x-y|}.

Note that the notation f(x)dF(x)=E(f(X)),\int f(x) dF(x) = \mathbb{E}(f(X)), where XX has a CDF FF.

The Portmanteau theorem (Theorem \ref{thm::port}) implies the following result.

Theorem (Metrized weak convergence)

The following statements are equivalent:

  1. XndZX_n\overset{d}{\rightarrow} Z.
  2. dLevy(FXn,FZ)0d_{Levy}(F_{X_n}, F_Z)\rightarrow 0.
  3. dProk(FXn,FZ)0d_{Prok}(F_{X_n}, F_Z)\rightarrow 0.
  4. dBL(FXn,FZ)0d_{BL}(F_{X_n}, F_Z)\rightarrow 0.

This Theorem shows that if distributions converge in any of the above three distances of distributions, this implies that the corresponding random variables converge in distribution. Formally, mathematicians often refer to this as these three distances inducing the weak topology, i.e., convergence in any of these distances implies convergence in distribution (weak convergence).

The Kolmogorov-Smirnov (KS) distance is another distance for distributions. Formally, it is defined as follows.

Definition (KS distance)

The Kolmogorov-Smirnov distance between CDFs FF and GG is
dKS(F,G)=suptF(t)G(t).d_{KS}(F,G) = \sup_t |F(t) - G(t)|.

Note that if the CDFs are multivariate distributions, tt will be multivariate.

Clearly, convergence in KS distance implies convergence in distribution because the Portmanteau theorem states that convergence in distribution only requires the CDF to converge at every continuous point of the target distribution while KS distance requires uniform convergence, namely,
dKS(F,G)0dBL(F,G)0.d_{KS}(F,G)\rightarrow 0 \Longrightarrow d_{BL}(F,G) \rightarrow0.

The KS distance is in fact a stronger distance than any of the above three distances! The following example shows that a random variable can converge in distribution but not in KS distance.

Example (Convergence in distribution but not in KS distance)

Consider XnN(0,1/n)X_n \sim N(0, 1/n).
Clearly, XnX_n converges in distribution to a point mass at x=0x=0.

However, the CDF does not converge uniformly! Specifically, let ZZ be a random variable with a point mass at x=0x=0. Clearly,
FXn(0)=0.51=FZ(0)F_{X_n}(0) = 0.5 \neq 1 = F_Z(0)
for every nn. Thus, dKS(FXn,FZ)=0.5d_{KS}(F_{X_n} , F_Z) = 0.5 does not converge to zero!

While the above example shows that KS distance is a stronger distance, if the converging target is a continuous random variable, they are equivalent. This result is known as Pólya's Theorem.

Theorem (Pólya's Theorem)

If FZF_Z is continuous everywhere, then
dBL(FXn,FZ)0dKS(FXn,FZ)0.d_{BL}(F_{X_n}, F_Z) \rightarrow 0\Longrightarrow d_{KS}(F_{X_n}, F_Z) \rightarrow 0.

In statistics, we often only need convergence in distribution for constructing confidence intervals and performing hypothesis tests. But convergence in distribution may not enough for applications beyond these two tasks. In many modern statistical and machine learning tasks, we are often interested in moments of random variables. The convergence in distribution is in fact NOT enough for convergences of moments!

Example (Convergence in distribution but not expectation)

Consider the sequence of random variables XnX_n such that
Xn={n2,with a probability of 1nZn,with a probability of 11n,X_n =\begin{cases} n^2, & \text{with a probability of } \frac{1}{n}\\ Z_n, & \text{with a probability of } 1-\frac{1}{n}, \end{cases}
where Z1,Z_1,\cdots are IID from N(0,1)N(0,1).
The distribution of XnX_n is a mixture of a nice distribution (standard normal) and a bad 'noise' (a point mass at n2n^2).
This type of mixture is a common case in Huber contamination model.

You can easily show that XndN(0,1)X_n\overset{d}{\rightarrow}N(0,1).
However, the mean of XnX_n is E(Xn)=n\mathbb{E}(X_n) = n that actually diverges.
Thus, convergence in distribution does not imply convergence of expectation!

To strengthen the convergence in distribution along with convergence of moment, people often use the Wasserstein distance.

Definition (p-Wasserstein distance)

For two distributions FF and GG, their pp-Wasserstein distance is
dWp(F,G)=inf{(xypdπ(x,y))1/p:π(x,)=F(x) and π(,y)=G(y)}.d_{W_p}(F,G) = \inf \left\{ \left(\int \int \|x-y\|^p d\pi(x,y)\right)^{1/p}: \pi(x,\infty) = F(x) \text{ and } \pi(\infty, y) = G(y)\right\}.

The Wasserstein distance is also called Kantorovich distance, or Monge-Kantorovich distance, or the Mallows distance. It is a very important topic in optimal transport—you can think of the joint CDF π\pi as a transportation map from a distribution FF to another distribution GG and we want to minimizes the cost xyp\|x-y\|^p.

We have the following equivalence theorem that is particularly useful to associate the Wasserstein distance to convergence in distribution.

Theorem (Wasserstein and weak convergence)

dWp(FXn,FZ)0d_{W_p}(F_{X_n}, F_Z) \rightarrow 0 if and only if the following two conditions are met:

Due to the above theorem, we see that convergence in Wasserstein distance is a stronger notion than convergence in distribution, i.e.,
dWp(FXn,FZ)0dBL(FXn,FZ)0d_{W_p}(F_{X_n}, F_Z) \rightarrow 0 \Longrightarrow d_{BL}(F_{X_n}, F_Z) \rightarrow 0
but not the other way around. But their difference primarily lies in the requirement on moment convergence or not.

The 11-Wasserstein distance has an equivalent expression known as the Kantorovich duality theorem.

Theorem (Kantorovich duality theorem)

dW1(F,G)=sup{f(x)dF(x)f(x)dG(x):fL1},d_{W_1}(F,G) = \sup\left\{\left| \int f(x)dF(x) - \int f(x) dG(x)\right|: \|f\|_{L}\leq 1\right\},
where fL=supxyf(x)f(y)xy\|f\|_L = \sup_{x\neq y}\frac{|f(x)- f(y)|}{|x-y|}.

Remark (1-Wasserstein versus bounded Lipschitz)

From this duality theorem, we see that the 11-Wasserstein distance is almost like the bounded Lipschitz distance except that we allow unbounded ff for the 11-Wasserstein distance.
The key difference is: bounded Lipschitz only requires bounded function ff.
While this excludes the linear function f(x)=xf(x) = x, the convergence in distribution actually does not need this.
The convergence in distribution allows probability mass to escape to infinity as long as this proportion eventually disappear (recall the example at the begining of this section).

Kantorovich duality theorem turns the computation of Wasserstein distance into a maximization problem. This is the foundation of the modern Wasserstein generative adversarial neural networks (W-GAN). Essentially, W-GAN just uses neural networks to approximate all possible Lipschitz continuous functions fL1\|f\|_L\leq 1.

Finally, we want to note that while the Wasserstein distances are often hard to compute for multivariate distributions, there is a simple formula for the univariate case.

Theorem

When F,GF,G are CDFs of univariate random variables,
dWp(F,G)=(01F1(t)G1(t)pdt)1/p.d_{W_p}(F,G) = \left(\int_0^1 |F^{-1}(t) - G^{-1}(t)|^p dt\right)^{1/p}.
In particular,
dW1(F,G)=01F1(t)G1(t)dt=F(t)G(t)dt.d_{W_1}(F,G) = \int_0^1 |F^{-1}(t) - G^{-1}(t)| dt = \int |F(t) - G(t)|dt.

There are other popular distances that are related to probability density/mass functions. Here we cover two popular metrics that often appear in Statistics: the total variation (TV) distance and Hellinger distance.

Definition (Total variation distance)

For two distributions FF and GG, their total variation distance is
dTV(F,G)=supAF(A)G(A)d_{TV}(F,G) = \sup_{A}|F(A) - G(A)|
where the supremum is taken over all possible subsets of R.\mathbb{R}.

When the two distributions F,GF,G have PDFs ff and gg, the total variation distance has an equivalent expression using the PDFs.

Proposition

dTV(F,G)=12f(x)g(x)dx=1min{f(x),g(x)}dx.d_{TV}(F,G) = \frac{1}{2}\int |f(x) - g(x)|dx = 1-\int \min \{f(x) ,g(x)\}dx.

The total variation distance has a nice interpretation that it tells us the bound on probability difference over any region of interest. This appealing feature makes it very popular for various application such as showing the convergence of a Markov chain (and hence convergence of the Markov chain Monte Carlo). If dTV(F,G)=0.01d_{TV}(F,G) = 0.01, we know that for any region, the probability mass difference between the two distribution FF and GG can differ by at most 0.010.01.

Definition (Hellinger distance)

For two distributions FF and GG, their Hellinger distance is
dH(F,G)=12(f(x)g(x))2dx=1f(x)g(x)dx.d_{H}(F,G) = \sqrt{\frac{1}{2}\int (\sqrt{f(x)} - \sqrt{g(x)})^2 dx} = \sqrt{1 -\int \sqrt{f(x) g(x)}dx}.

Hellinger distance can be viewed as putting the square root of a PDF on an infinite dimensional sphere and using the Euclidean distance in that sphere. It is related to the concept of Quadratic Mean Differentiation (QMD).

Remark (Hellinger distance and spherical geometry)

When p,qp,q are PMFs, their Hellinger distance is
dH2(p,q)=12x(p(x)q(x))2=1xp(x)q(x).d_H^2(p,q) = \frac{1}{2}\sum_{x} \left(\sqrt{p(x)} - \sqrt{q(x)}\right)^2 = 1 - \sum_{x} \sqrt{p(x)q(x)}.

A simple way to understand Hellinger distance is to view the square root of a PDF or PMF as a vector on a sphere. This is because once we take a square root of a PDF or a PMF, say g(x)=p(x)g(x) = \sqrt{p(x)}, we immediately have g(x)2dx=1\int g(x)^2dx = 1 or xg(x)2=1\sum_x g(x)^2 = 1. In particular, for the case of a PMF p(x)p(x) that taking values on x=1,2,,kx=1,2,\cdots, k, if we consider the vector vRkv\in \mathbb{R}^{k} such that vj=p(j)v_j = \sqrt{p(j)},then v2=1=xp(x)\|v\|^2 = 1 = \sum_x p(x). So the square root of a probability vector vv is a vector on the sphere. In this regard, the Hellinger distance is essentially the Euclidean distance between two vectors on a unit sphere.

Comparing metrics

Here is how all these metrics are related in R\mathbb{R} (or Rd\mathbb{R}^d).

Theorem

We have the following inequalities:

  1. 12dBL(F,G)dProk(F,G)3dBL(F,G)\frac{1}{2} d_{BL}(F,G) \leq d_{Prok}(F,G) \leq 3\sqrt{d_{BL}(F,G)}.
  2. dProk(F,G)dTV(F,G)d_{Prok}(F,G) \leq d_{TV}(F,G).
  3. dLevy(F,G)dKS(F,G)dTV(F,G)d_{Levy}(F,G) \leq d_{KS}(F,G) \leq d_{TV}(F,G).
  4. dLevy(F,G)dProk(F,G)dTV(F,G)d_{Levy}(F,G) \leq d_{Prok}(F,G) \leq d_{TV}(F,G).
  5. dProk(F,G)dWpp/(p+1)(F,G)d_{Prok}(F,G)\leq d^{p/(p+1)}_{W_p}(F,G)
  6. dH2(F,G)dTV(F,G)dH(F,G)1dH2(F,G)/2d^2_{H}(F,G) \leq d_{TV}(F,G) \leq d_{H}(F,G)\sqrt{1-d^2_{H}(F,G)/2}.

You may notice that the first inequality implies that dBLd_{BL} converges to 00 if and only if dProkd_{Prok} converges. The fourth inequality shows that dLevyd_{Levy} converges to 00 when dProkd_{Prok} converges. Since all three of them induce the same weak topology (converge in distribution), you may be wondering if convergence in dLevyd_{Levy} implies convergence in dProkd_{Prok}. Unfortunately, this is NOT the case. Here is a counterexample that dLevyd_{Levy} goes to 00 while dProkd_{Prok} does not.

Example (Convergence in Lévy distance but not Prokhorov)

Consider two sequences of univariate distributions FnF_n and GnG_n such that FnF_n places equal probability 1n\frac{1}{n} on integers 1,2,,n1,2,\cdots, n while GnG_n places the same probability on the shifted position 1.5,2.5,3.5,,n+0.51.5, 2.5,3.5,\cdots, n+0.5.

Since dLevydKSd_{Levy}\leq d_{KS}, we can easily bound
dLevy(Fn,Gn)dKS(Fn,Gn)1nd_{Levy}(F_n, G_n) \leq d_{KS}(F_n, G_n) \leq \frac{1}{n}
due to the fact that each jump has a height 1n\frac{1}{n}.
Therefore, dLevy(Fn,Gn)0.d_{Levy}(F_n, G_n) \rightarrow 0.

However, dProk(Fn,Gn)d_{Prok}(F_n ,G_n) does not converge to zero!
Consider the set B={1,2,,n}B = \{1,2,\cdots, n\}.
Clearly, Fn(B)=1F_n(B)=1 while Gn(B)=0G_n(B) = 0.
When we consider BϵB\oplus \epsilon, we immediately have
Gn(Bϵ)={1,if ϵ>0.50,if ϵ0.5.G_n (B\oplus \epsilon) = \begin{cases} 1, & \text{if } \epsilon>0.5\\ 0, & \text{if } \epsilon\leq 0.5. \end{cases}
Therefore, dProk(Fn,Gn)=0.5d_{Prok}(F_n ,G_n) = 0.5 that does not converge to zero.

The above example seems to offer a conflicting example to the Portmanteau theorem but this is not true. The critical part of the above example is that we are considering two sequences. If GnG_n is a fixed probability distribution GG, then we have
dLevy(Fn,G)0dProk(Fn,G)0.d_{Levy}(F_n,G)\rightarrow 0 \Longleftrightarrow d_{Prok}(F_n,G) \rightarrow 0.
Formally, the above equation means that dLevyd_{Levy} and dProkd_{Prok} are topologically equivalent. The topological equivalence only requires open sets, which is defined via a fixed convergent target.

For dBLd_{BL} and dProkd_{Prok}, since we know that the convergence of one implies the convergence of another even for two sequences of distributions, they are uniformly equivalent. Note: the formal definition of uniformly equivalent is that there exists functions ψ(t)0,ϕ(t)0\psi(t)\rightarrow 0 ,\phi(t)\rightarrow 0 when t0t\rightarrow0 such that ϕ(d1)d2ψ(d1)\phi(d_1)\leq d_2 \leq \psi(d_1). For dBLd_{BL} and dProkd_{Prok}, ϕ(t)=12t\phi(t) = \frac{1}{2}t and ψ(t)=t\psi(t) = \sqrt{t}. Clearly, uniform equivalence implies topological equivalence.

When to use which distance?

With so many distances available to quantify the distance between distributions, selecting the right one depends entirely on the downstream statistical task. If the goal is simply to establish asymptotic normality to construct a basic confidence interval or hypothesis test, any distance that metrizes the weak topology is sufficient.

However, when we need finite-sample bounds, exact coverage rates, or control over moments, the choice of metric becomes critical. Here is general guidance on when to deploy which metric from my personal experience: