Misplaced Pages

Total variation distance of probability measures

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Concept in probability theory Not to be confused with Total variation.
Total variation distance is half the absolute area between the two curves: Half the shaded area above.

In probability theory, the total variation distance is a distance measure for probability distributions. It is an example of a statistical distance metric, and is sometimes called the statistical distance, statistical difference or variational distance.

Definition

Consider a measurable space ( Ω , F ) {\displaystyle (\Omega ,{\mathcal {F}})} and probability measures P {\displaystyle P} and Q {\displaystyle Q} defined on ( Ω , F ) {\displaystyle (\Omega ,{\mathcal {F}})} . The total variation distance between P {\displaystyle P} and Q {\displaystyle Q} is defined as

δ ( P , Q ) = sup A F | P ( A ) Q ( A ) | . {\displaystyle \delta (P,Q)=\sup _{A\in {\mathcal {F}}}\left|P(A)-Q(A)\right|.}

This is the largest absolute difference between the probabilities that the two probability distributions assign to the same event.

Properties

The total variation distance is an f-divergence and an integral probability metric.

Relation to other distances

The total variation distance is related to the Kullback–Leibler divergence by Pinsker’s inequality:

δ ( P , Q ) 1 2 D K L ( P Q ) . {\displaystyle \delta (P,Q)\leq {\sqrt {{\frac {1}{2}}D_{\mathrm {KL} }(P\parallel Q)}}.}

One also has the following inequality, due to Bretagnolle and Huber (see also ), which has the advantage of providing a non-vacuous bound even when D K L ( P Q ) > 2 : {\displaystyle \textstyle D_{\mathrm {KL} }(P\parallel Q)>2\colon }

δ ( P , Q ) 1 e D K L ( P Q ) . {\displaystyle \delta (P,Q)\leq {\sqrt {1-e^{-D_{\mathrm {KL} }(P\parallel Q)}}}.}

The total variation distance is half of the L distance between the probability functions: on discrete domains, this is the distance between the probability mass functions

δ ( P , Q ) = 1 2 x | P ( x ) Q ( x ) | , {\displaystyle \delta (P,Q)={\frac {1}{2}}\sum _{x}|P(x)-Q(x)|,}

and when the distributions have standard probability density functions p and q,

δ ( P , Q ) = 1 2 | p ( x ) q ( x ) | d x {\displaystyle \delta (P,Q)={\frac {1}{2}}\int |p(x)-q(x)|\,\mathrm {d} x}

(or the analogous distance between Radon-Nikodym derivatives with any common dominating measure). This result can be shown by noticing that the supremum in the definition is achieved exactly at the set where one distribution dominates the other.

The total variation distance is related to the Hellinger distance H ( P , Q ) {\displaystyle H(P,Q)} as follows:

H 2 ( P , Q ) δ ( P , Q ) 2 H ( P , Q ) . {\displaystyle H^{2}(P,Q)\leq \delta (P,Q)\leq {\sqrt {2}}H(P,Q).}

These inequalities follow immediately from the inequalities between the 1-norm and the 2-norm.

Connection to transportation theory

The total variation distance (or half the norm) arises as the optimal transportation cost, when the cost function is c ( x , y ) = 1 x y {\displaystyle c(x,y)={\mathbf {1} }_{x\neq y}} , that is,

1 2 P Q 1 = δ ( P , Q ) = inf { P ( X Y ) : Law ( X ) = P , Law ( Y ) = Q } = inf π E π [ 1 x y ] , {\displaystyle {\frac {1}{2}}\|P-Q\|_{1}=\delta (P,Q)=\inf {\big \{}\mathbb {P} (X\neq Y):{\text{Law}}(X)=P,{\text{Law}}(Y)=Q{\big \}}=\inf _{\pi }\operatorname {E} _{\pi },}

where the expectation is taken with respect to the probability measure π {\displaystyle \pi } on the space where ( x , y ) {\displaystyle (x,y)} lives, and the infimum is taken over all such π {\displaystyle \pi } with marginals P {\displaystyle P} and Q {\displaystyle Q} , respectively.

See also

References

  1. Chatterjee, Sourav. "Distances between probability measures" (PDF). UC Berkeley. Archived from the original (PDF) on July 8, 2008. Retrieved 21 June 2013.
  2. Bretagnolle, J.; Huber, C, Estimation des densités: risque minimax, Séminaire de Probabilités, XII (Univ. Strasbourg, Strasbourg, 1976/1977), pp. 342–363, Lecture Notes in Math., 649, Springer, Berlin, 1978, Lemma 2.1 (French).
  3. Tsybakov, Alexandre B., Introduction to nonparametric estimation, Revised and extended from the 2004 French original. Translated by Vladimir Zaiats. Springer Series in Statistics. Springer, New York, 2009. xii+214 pp. ISBN 978-0-387-79051-0, Equation 2.25.
  4. David A. Levin, Yuval Peres, Elizabeth L. Wilmer, Markov Chains and Mixing Times, 2nd. rev. ed. (AMS, 2017), Proposition 4.2, p. 48.
  5. Tsybakov, Aleksandr B. (2009). Introduction to nonparametric estimation (rev. and extended version of the French Book ed.). New York, NY: Springer. Lemma 2.1. ISBN 978-0-387-79051-0.
  6. Devroye, Luc; Györfi, Laszlo; Lugosi, Gabor (1996-04-04). A Probabilistic Theory of Pattern Recognition (Corrected ed.). New York: Springer. ISBN 978-0-387-94618-4.
  7. Harsha, Prahladh (September 23, 2011). "Lecture notes on communication complexity" (PDF).
  8. Villani, Cédric (2009). Optimal Transport, Old and New. Grundlehren der mathematischen Wissenschaften. Vol. 338. Springer-Verlag Berlin Heidelberg. p. 10. doi:10.1007/978-3-540-71050-9. ISBN 978-3-540-71049-3.


Stub icon

This probability-related article is a stub. You can help Misplaced Pages by expanding it.

Categories: