Kendall Tau Rank Correlation

Statistics
Introduced by
Maurice G. Kendall
Year
1938
Type
Rank-based association measure

What does it do?

Kendall Tau is a nonparametric rank correlation coefficient introduced by Maurice G. Kendall in 1938 to measure the strength and direction of a monotone association between two ordinal or continuous variables.

It is often chosen for small samples and for data with many tied ranks. Its value ranges from −1 to +1.

The intuition behind the method

Imagine listing every possible pair of observations in your dataset and asking: do the two variables tend to move in the same direction across these pairs, or in opposite directions? Kendall Tau counts the concordant pairs, where both variables increase together, and the discordant pairs, where one increases while the other decreases, and expresses the balance between them as a proportion ranging from −1 (perfect inverse ranking) to +1 (perfect agreement). The closer to zero, the weaker the monotone relationship. A value near zero does not by itself rule out an association, as discussed under pitfalls.

History

Maurice G. Kendall introduced the tau statistic in his 1938 paper 'A new measure of rank correlation', published in Biometrika. The statistic is built on counting concordant and discordant pairs of observations.

When to use it

Choose Kendall Tau when you want to assess a monotone association between two variables measured at least on an ordinal scale and you cannot assume normality. It is a reasonable choice for small samples and for data with many tied values, where Pearson correlation's normal-theory assumptions are hard to justify. Do not use it when the relationship is expected to be non-monotone, because it will understate or miss such patterns; inspect a scatter plot first. If the data are continuous, approximately normal, and the relationship is expected to be linear, Pearson correlation is more powerful. Spearman correlation is another rank-based option. The two coefficients can differ in magnitude, so the choice should rest on the structure of the data and on checked results rather than on a fixed rule. Kendall Tau assumes that each observation is an independent paired measurement of the two variables and that both variables are at least ordinal. Repeated or clustered measurements, where several pairs come from the same unit, violate the independence assumption and call for a different analysis.

Limitations and considerations

  • Less statistically powerful than Pearson correlation when the data are normal and the relationship is linear, because Pearson uses the magnitudes of the values rather than only their ranks.
  • Counting concordant and discordant pairs involves comparing every pair of observations in the basic procedure, so it is more computationally demanding than Spearman's rank-difference formula for very large datasets.
  • Captures only monotone association; non-monotone relationships such as U-shaped patterns may be underestimated or missed.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Uses only the ranks of the observations, so it is unaffected by the measurement scale of the variables and is less sensitive to outliers than Pearson correlation.
  • The tie-corrected form (tau-b) allows tied values in either variable without discarding observations.
  • Exact permutation p-values are available for small samples, so inference does not rely solely on the asymptotic normal approximation.
  • For the uncorrected form (tau-a), the coefficient equals the probability that a randomly chosen pair of observations is concordant minus the probability that it is discordant. With tie correction, this exact probability reading no longer holds.

Applications

  • Comparing two rankings of the same set of items, for example the order in which two judges rank a set of candidates.
  • Assessing the association between two ordinal survey scales, such as satisfaction and loyalty ratings.
  • Evaluating the monotone relationship between a continuous biomarker and a clinical severity score.
  • Checking whether two ranked lists, such as search results or ranked gene lists, agree in order.
  • Exploratory correlation analysis in small clinical or behavioural studies where normality cannot be assumed.

How it works

How it works

1

The null hypothesis states that the population Kendall Tau is zero, meaning no monotone association exists between the two variables. The alternative hypothesis states that tau differs from zero, indicating a positive or negative monotone relationship.

Formula
H_0:\ \tau = 0 \quad H_1:\ \tau \neq 0
2

Every pair of observations is classified as concordant (C) when the two variables order the pair in the same direction, or discordant (D) when they order it in opposite directions. The statistic is the net concordance (C minus D) scaled by a denominator built from the pairs not tied on each variable, where the T_X and T_Y terms in the formula are the tie counts for X and Y. For large samples the statistic is referred to an asymptotic standard normal distribution. For small samples, exact permutation p-values are preferable where the software provides them, because the normal approximation can be inaccurate.

Formula
\tau = \dfrac{C - D}{\sqrt{(C+D+T_X)(C+D+T_Y)}}
3

If the two-tailed p-value is below 0.05, the null hypothesis of no association is rejected, following the decision rule given in the method's mechanics. The tau coefficient is itself the effect size, so report its sign and magnitude together with the sample size and p-value. A statistically significant tau can be small in magnitude, particularly in large samples, so the coefficient should be judged on its own value and not by significance alone.

Formula
\text{reject } H_0 \text{ if } p < 0.05;\quad \text{interpret } |\tau| \text{ as effect size}

Common pitfalls

  • Applying Kendall Tau to a non-monotone relationship. Inspect a scatter plot before interpreting a near-zero coefficient as no association.
  • Reading a tau of zero as proof of independence. Two variables can be dependent yet have a Kendall tau of zero when local concordance and global discordance cancel out, so a zero value does not establish that no association exists.
  • Reporting the uncorrected tau-a when ties are present. The tie-corrected tau-b is the form designed for tied data, so state which variant was used.
  • Treating the p-value as the only result. Report tau, the sample size, and the p-value together.
  • Relying on the asymptotic normal p-value in small samples. The approximation can be inaccurate when n is small, particularly with many ties; use exact permutation p-values where the software provides them.

Frequently asked questions

What is the difference between tau-a and tau-b?

Tau-a divides by the total number of pairs and does not adjust for ties. Tau-b adjusts the denominator for ties in each variable separately, so the coefficient stays within −1 to +1 when ties are present. Tau-b is the appropriate form when the data contain tied values.

How does Kendall Tau compare to Spearman's rho?

Both are nonparametric rank correlations, but they summarise the ordering of pairs differently, and their values can differ for the same data. Kendall Tau is often chosen for small samples or data with many ties, while Spearman's rho is a common choice for larger samples. Neither is uniformly more stable, so compare them on your data and base the choice on the structure of the data.

What sample size do I need?

No single cutoff applies to every analysis. For small samples the asymptotic normal approximation can be inaccurate, so use exact permutation p-values where your software provides them. The adequacy of the approximation also depends on the number of ties. Report the sample size with the result.

What if my p-value is significant but tau is very small?

In large samples even a trivially small tau will produce a significant p-value. Always report the tau coefficient alongside the p-value so readers can judge practical significance. A tau of 0.05 may be statistically significant yet practically meaningless.

Related methods

Sources

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

    Open DOI reference
  2. Econometrics of Risk, p. 162