Total variation distance of probability measures

From testwiki
Revision as of 14:44, 7 February 2025 by 82.54.244.157 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description Template:Distinguish

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 statistical distance between probability distributions, and is sometimes called the statistical distance, statistical difference or variational distance.

Definition

Consider a measurable space (Ω,) and probability measures P and Q defined on (Ω,). The total variation distance between P and Q is defined as[1]

δ(P,Q)=supA|P(A)Q(A)|.

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)12DKL(PQ).

One also has the following inequality, due to Bretagnolle and Huber[2] (see also [3]), which has the advantage of providing a non-vacuous bound even when DKL(PQ)>2:

δ(P,Q)1eDKL(PQ).

The total variation distance is half of the L1 distance between the probability functions: on discrete domains, this is the distance between the probability mass functions[4]

δ(P,Q)=12x|P(x)Q(x)|,

and when the distributions have standard probability density functions Template:Mvar and Template:Mvar,[5]

δ(P,Q)=12|p(x)q(x)|dx

(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.[6]

The total variation distance is related to the Hellinger distance H(P,Q) as follows:[7]

H2(P,Q)δ(P,Q)2H(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)=𝟏xy, that is,

12PQ1=δ(P,Q)=inf{(XY):Law(X)=P,Law(Y)=Q}=infπEπ[𝟏xy],

where the expectation is taken with respect to the probability measure π on the space where (x,y) lives, and the infimum is taken over all such π with marginals P and Q, respectively.[8]

See also

References

Template:Reflist


Template:Probability-stub

  1. Template:Cite web
  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. Template:ISBN, 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. Template:Cite book
  6. Template:Cite book
  7. Template:Cite web
  8. Template:Cite book