Relate โ€บ Correlation

Kendall's ๐‰

Kendall's ฯ„ measures rank correlation by counting concordant and discordant pairs โ€” more robust than Spearman when ties are common or n is very small.

What is Kendall's ๐‰?

Kendall's ฯ„ counts the number of *concordant* pairs (xแตข < xโฑผ โ‡” yแตข < yโฑผ) minus the number of *discordant* pairs, normalised by all possible pairs. The result is a directly interpretable probability: ฯ„ = 0.4 means a random pair is 40 percentage points more likely to be concordant than discordant.

Different conventions handle ties differently: ฯ„-a (no tie adjustment), ฯ„-b (handles ties; the default and our pick), ฯ„-c (for kร—k contingency tables). All run from โˆ’1 to +1.

Vs Spearman: ฯ„ is more robust with many ties or very small samples (n < 30) and has a slightly more interpretable definition. Spearman is mildly more powerful with continuous data and no ties. For most practical purposes they tell the same story; pick ฯ„ when you want the probability-of-concordance interpretation or when ties matter.

When should I use Kendall's ๐‰?

  • Small samples (n < 30) where Spearman's CI is wide and unreliable.
  • Many tied ranks (ordinal data with few categories).
  • When you want a direct "probability of concordance" framing.

What data does it need?

Two numeric or ordinal columns.

What does it report?

ฯ„, T statistic, p, Fisher-z-style CI.

What does it assume?

  • Independent paired observations.
  • Outcomes at least ordinal.

Formula

ฯ„ = (C โˆ’ D) / (ยฝ ยท n ยท (n โˆ’ 1)), C = concordant pairs, D = discordant pairs

How do I interpret the result?

|ฯ„| is typically smaller than |ฯ| or |r| on the same data โ€” about 0.7 times. A ฯ„ of 0.3 corresponds roughly to a Spearman ฯ of 0.4โ€“0.45.

Sign and significance match Spearman's; the magnitude is on a different scale, so always report which ฯ„ variant you used.

See also

References

  • Kendall (1938). A new measure of rank correlation. Biometrika 30(1/2).