Skip to content

Hellinger Distance

A metric between probability laws given, in the normalized convention, by one over square root two times the L2 distance between their square-root densities.

Version
v1 · 2026-10-03 · History
Domain-specific #
13298
Aliases
Normalized Hellinger Distance

Core Idea

Hellinger distance compares two probability laws through their square-root densities. If \(p\) and \(q\) are densities relative to any measure dominating both laws, the normalized convention is \(H(P,Q)=\left[\tfrac12\int(\sqrt p-\sqrt q)^2d\lambda\right]^{1/2}\). The value does not depend on which valid common reference measure is used. It is a 0–1 metric, zero for equal laws and one for mutually singular laws.[1][2]

How would you explain it like I'm…

How-Different-Are-Bags Meter

Imagine two bags of candy. Each bag has its own mix of chances for which candy you might grab. Hellinger Distance is a number that tells you how different those two chance-mixes are. It is 0 if the bags give exactly the same chances, and 1 if they could never give you the same candy.

Square-Root Chance Distance

Hellinger Distance tells you how far apart two sets of chances are, like the chances of each result for two different dice. Before comparing, you take the square root of each chance. Then you measure how far apart those square-rooted lists are, almost like measuring a gap with a ruler. The score runs from 0, meaning the two sets of chances are identical, to 1, meaning they never put any chance on the same results.

Root-Density Distribution Distance

Hellinger Distance measures how far apart two probability distributions P and Q are. Instead of subtracting their densities directly, it subtracts their square roots, squares the gap, adds everything up, halves it, and takes the square root. Because the square-rooted densities behave like arrows of length 1, this is really an ordinary geometric distance between those arrows, scaled down. It is a true metric that runs from 0 (same distribution) to 1 (distributions with no overlap at all). Be careful: some books leave out the factor of one half, so their numbers are √2 times bigger. Any reported value has to say which version it uses.

 

Given probability measures P and Q, choose any measure λ that dominates both and write the densities p = dP/dλ and q = dQ/dλ. In the normalized convention, H(P,Q) = [½ ∫(√p − √q)² dλ]^{1/2}. The value does not depend on which dominating λ you pick, so it is a property of the two laws themselves. The root densities √p and √q are unit vectors in L²(λ), which makes H a scaled Hilbert-space distance. It is therefore a genuine metric, equal to 0 for identical laws and 1 for mutually singular ones. An equivalent formula uses the Bhattacharyya-type affinity: H² = 1 − ∫√(pq) dλ. This is just another way to compute H, not an extra ingredient. Some fields define the distance as ‖√p − √q‖₂ without the 1/√2. That quantity equals √2·H, so any thresholds or numerical values must state their convention.

Scope of Application

Bunea and McKeague compare alternative counting-process laws in hazard-regression theory using this normalized formula. In ecology, Legendre and Gallagher compare site species profiles after taking square roots of relative abundances, then use ordinary Euclidean distances in ordination. Their unscaled root-Euclidean “Hellinger distance” is \(\sqrt2\) times the normalized value here; raw abundance rows and zero-total rows do not automatically supply probability laws.[1][3][4]

Clarity

The compared objects are laws, not density formulas tied to one reference measure or unnormalized count vectors. The equivalent affinity relation is \(H^2=1-\int\sqrt{pq}\,d\lambda\), but live Bhattacharyya Distance uses negative log affinity and total variation uses an event-probability supremum. Similar inputs do not make these metrics identical.[1][2]

Manages Complexity

Square-root densities are unit vectors in \(L^2\); their scaled Euclidean separation supplies symmetry and the triangle inequality. The normalization factor makes numerical reports comparable only when stated. In ecology, row normalization focuses on composition while intentionally discarding total abundance.[2][3]

Abstract Reasoning

Expanding the squared norm yields \(H^2=1-\int\sqrt{pq}\) and hence \(0\leq H\leq1\). Because \(H\) is scaled \(L^2\) distance, it is a metric; \(H^2\) need not satisfy the triangle inequality. A different dominating measure must give the same law-level result, but the chosen reference must include all mass from both laws.[1][2]

Knowledge Transfer

The root-density metric transfers literally between statistical path laws and normalized ecological species profiles. A survival-analysis proof and an ecological ordination conclusion do not transfer automatically. The general axiomatic skeleton belongs to live Metric; the probability-law square-root construction makes Hellinger Distance its proposed domain-specific child.[1][3]

Relationships to Other Abstractions

Local relationship map for Hellinger DistanceParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Hellinger DistanceDOMAINPrime abstraction: Metric — is a kind ofMetricPRIME

Current abstraction Hellinger Distance Domain-specific

Parents (1) — outgoing typed relations

  • Hellinger Distance is a kind of Metric Prime

    The scaled L2 distance of root probability densities is a metric on probability laws.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Hellinger Distance sits in a sparse region of the domain-specific corpus (73rd percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Foundations of Probability & Inference (29 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Florentina Bunea and Ian W. McKeague, “Covariate selection for semiparametric hazard function regression models”, Journal of Multivariate Analysis 92 (2005), 186–204, §6 PDF p. 13 / printed p. 198. registry ↩a ↩b ↩c ↩d ↩e

[2] Carnegie Mellon University, 36-705 Lecture Notes 27, PDF pp. 0–2, unnormalized root-density distance and affinity formula. registry ↩a ↩b ↩c ↩d

[3] Pierre Legendre and Eugene D. Gallagher, “Ecologically meaningful transformations for ordination of species data”, Oecologia 129 (2001), 271–280, printed p. 275, eqs. (12)–(13). registry ↩a ↩b ↩c

[4] Pierre Legendre, “Program for transformation of frequency data”, author notes updated March 22, 2001, 3-species/3-site example. registry ↩