Skip to content

Kendall tau distance

The Kendall tau distance or Kendall tau rank distance is a metric (distance function) that counts the number of pairwise disagreements between two ranking lists.

Version
v1 · 2026-09-28 · History
Domain-specific #
10238
Domain group
Formal Sciences
Origin domain
Experimental Design & Statistics
Subdomains
Rank Distance Metrics, Rank Correlation → Experimental Design & Statistics

Core Idea

Kendall tau distance is treated here as the recurring rank-distance metrics identity summarized by this source-grounded definition: The Kendall tau distance or Kendall tau rank distance is a metric (distance function) that counts the number of pairwise disagreements between two ranking lists. The Kendall tau distance or Kendall tau rank distance is a metric (distance function) that counts the number of pairwise disagreements between two ranking lists. The larger the distance, the more dissimilar the two lists are.

Scope of Application

  • Kendall tau distance may also be defined as. If Kendall tau distance function is performed as K(L1,L2) instead of K(\tau1,\tau2) (where \tau1 and \tau2 are the rankings of L1 and L2 elements respectively), then triangular.

  • Comparison to Kendall tau rank correlation coefficient. The Kendall tau distance ( Kd ) must not be confused with the Kendall tau rank correlation coefficient ( Kc ) used in statistics.

  • Documented setting. The Kendall tau distance or Kendall tau rank distance is a metric (distance function) that counts the number of pairwise disagreements between two ranking lists.

  • Definition. The Kendall tau ranking distance between two lists \tau1 and \tau2 is.

  • Definition. Kd(\tau1, \tau2) = |{(i,j): i \tau2(j) ] \vee [ \tau1(i) > \tau1(j) \wedge \tau2(i).

Clarity

A clear use of Kendall tau distance names the carrier, the operative relation, and the conditions under which the source treats the identity as present. The minimal definition is The Kendall tau distance or Kendall tau rank distance is a metric (distance function) that counts the number of pairwise disagreements between two ranking lists.

Manages Complexity

Kendall tau distance compresses multiple rank-distance metrics details into a stable diagnostic relation. The source shows both the central mechanism—they are related by Kc = 1 - 4 Kd /(n(n-1)) , Kd = (1 - Kc) (n(n-1))/4.—and the practical consequence—a simple algorithm based on merge sort requires time O(n \log n). This compression makes cases comparable while leaving parameters, conventions, exceptions, and evidential quality explicit.

Abstract Reasoning

  1. Type the carrier. Identify the rank-distance metrics entities to which the claim applies.
  2. State the relation. Use the source-grounded identity: The Kendall tau distance or Kendall tau rank distance is a metric (distance function) that counts the number of pairwise disagreements between two ranking lists.
  3. Check operation and conditions. Or simpler by Kc = 1 - 2 Kn , Kn = (1-Kc)/2 where Kn is the normalised distance 2 Kd / (n(n-1)) see above).
  4. Demand recognition evidence.

Knowledge Transfer

Within the home domain. Knowledge about Kendall tau distance transfers literally when a new case preserves the same carrier type, relation, and recognition test. If Kendall tau distance function is performed as K(L1,L2) instead of K(\tau1,\tau2) (where \tau1 and \tau2 are the rankings of L1 and L2 elements respectively), then triangular inequality is not guaranteed. The Kendall tau distance ( Kd ) must not be confused with the Kendall tau rank correlation coefficient ( Kc ) used in statistics. Beyond the home domain. No canonical parent is asserted for Kendall tau distance.

Relationships to Other Abstractions

Local relationship map for Kendall tau 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.Kendall tau distanceDOMAINPrime abstraction: Distance — is a kind ofDistancePRIME

Current abstraction Kendall tau distance Domain-specific

Parents (1) — more general patterns this builds on

  • Kendall tau distance is a kind of Distance Prime

    Kendall tau distance is a distance function counting pairwise ordering disagreements.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Kendall tau distance sits in a moderately populated region (58th percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.

Family — Combinatorial Optimization & Discrete Structures (31 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-10-08