Lably
Skip to content

Divergence (statistics)

  • 6 min read
  • 5 chapters

Related on Lably

Through Probability distribution, Euclidean distance and Dimensional analysis

The simplest divergence is squared Euclidean distance (SED), and divergences can be viewed as generalizations of SED. The other most important divergence is relative entropy (also called Kullback–Leibler divergence), which is central to information theory. There are numerous other specific divergences and classes of divergences, notably f-divergences and Bregman divergences (see § Examples).

Definition

Given a differentiable manifold M of dimension n, a divergence on M is a C2-function D:M×M→[0,∞) satisfying:

  1. D(p,q)≥0 for all p,q∈M (non-negativity),
  2. D(p,q)=0 if and only if p=q (positivity),
  3. At every point p∈M, D(p,p+dp) is a positive-definite quadratic form for infinitesimal displacements dp from p.

In applications to statistics, the manifold M is typically the space of parameters of a parametric family of probability distributions.

Condition 3 means that D defines an inner product on the tangent space TpM for every p∈M. Since D is C2 on M, this defines a Riemannian metric g on M.

Locally at p∈M, we may construct a local coordinate chart with coordinates x, then the divergence is D(x(p),x(p)+dx)=12dxTgp(x)dx+O(|dx|3)where gp(x) is a matrix of size n×n. It is the Riemannian metric at point p expressed in coordinates x.

Dimensional analysis of condition 3 shows that divergence has the dimension of squared distance.

The dual divergence D∗ is defined as

D∗(p,q)=D(q,p).

When we wish to contrast D against D∗, we refer to D as primal divergence.

Given any divergence D, its symmetrized version is obtained by averaging it with its dual divergence:

DS(p,q)=12(D(p,q)+D(q,p)).

Difference from other similar concepts

Unlike metrics, divergences are not required to be symmetric, and the asymmetry is important in applications. Accordingly, one often refers asymmetrically to the divergence "of q from p" or "from p to q", rather than "between p and q". Secondly, divergences generalize squared distance, not linear distance, and thus do not satisfy the triangle inequality, but some divergences (such as the Bregman divergence) do satisfy generalizations of the Pythagorean theorem.

In general statistics and probability, "divergence" generally refers to any kind of function D(p,q), where p,q are probability distributions or other objects under consideration, such that conditions 1, 2 are satisfied. Condition 3 is required for "divergence" as used in information geometry.

As an example, the total variation distance, a commonly used statistical divergence, does not satisfy condition 3.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Statistics and probability