Kendall's tau

Analytika TeamLast reviewed 5 min read

Kendall’s tau (Kendall, 1938) is the other main rank correlation besides Spearman’s ρ. Instead of correlating ranks, it compares every pair of observations and asks whether they’re ordered the same way on both variables.

How it works

Take any two cases. The pair is:

  • Concordant if the one that’s higher on X is also higher on Y.
  • Discordant if the one that’s higher on X is lower on Y.
τ = (concordant − discordant) / number of pairs

So τ = .50 means that, for a randomly chosen pair, agreement in order is 50 percentage points more likely than disagreement. Tau-b corrects the denominator for tied values.

Examples

  • Fuel economy and horsepower (32 cars, R’s mtcars): τb = −.74, z = −5.87, p < .001. More powerful cars consistently have lower fuel economy. Spearman’s ρ on the same data is −.89. The two measure the same relationship on different scales.
  • Height and weight of 15 women (R’s women): τb = 1.00, exact p < .001. Every pair is concordant, a perfectly monotonic relationship.

Both results match R’s cor.test(method = "kendall"). Analytika uses the exact p-value for small samples without ties, and the normal approximation when ties are present.

Kendall or Spearman?

  • Both suit ordinal data, skewed data and monotonic relationships.
  • Kendall’s τ is often preferred for small samples and data with many ties (such as rating scales), and its probability reading is more intuitive.
  • Spearman’s ρ is more familiar and closer in size to Pearson’s r.
  • Pick one in advance, and report which.

Reporting

Fuel economy and horsepower were strongly negatively associated, Kendall’s τb = −.74, p < .001, N = 32.

See also correlation and how to report a correlation.

References

  • Kendall, M. G. (1938). A new measure of rank correlation. Biometrika, 30(1–2), 81–93.

More in Correlation

Try it with the free tools

Run this on your own data

Upload a dataset and ask your question in plain English. Analytika checks the assumptions, picks the test, runs it, and writes the results up in APA format.

Try it free