= Wasserstein distance
{c}
{title2=$W_\rho(\mu,\nu)$}
{wiki}
The first <Wasserstein distance> measures the least expected separation achievable when two <random variables> are <coupling of probability distributions>[coupled] with specified marginal <probability measure>[probability measures]. For a <metric space> $(E,\rho)$ and measures $\mu,\nu$ with finite first <moments>,
$$
W_\rho(\mu,\nu)=\inf_{\pi\in\Pi(\mu,\nu)}\int\rho(x,y)\,d\pi(x,y)=\inf\{\mathbb E\rho(X,Y):(X,Y)\text{ couples }\mu,\nu\}.
$$
A transport plan $\pi$ says how much <probability mass> moves from each starting location to each destination; the distance pays the corresponding <metric> cost. For <Dirac measure>[point masses] on the real line, $W_1(\delta_a,\delta_b)=|a-b|$, because there is only one <coupling of probability distributions>[coupling]. In contrast, their <Total variation distance> is one whenever $a\ne b$. <Wasserstein distance> therefore records that nearby displacements are small even when the two laws give mass to disjoint sets.
Every <coupling of probability distributions>[coupling] gives an upper bound by its expected separation. Conversely, the <Kantorovich–Rubinstein theorem> gives lower bounds from differences of expectations of <Lipschitz continuity>[Lipschitz] <functions>. The <p-Wasserstein distance> generalizes the construction by using the $p$th <statistical power>[power] of the <metric>[ground metric] and then taking a $p$th root.
Back to article page