Kendall's Tau Rank Correlation

Statistics
Introduced by
Maurice G. Kendall
Year
1938
Type
Nonparametric rank correlation
Family
Classical statistics

What does it do?

Kendall's tau is a nonparametric rank correlation coefficient that measures the monotone association between two variables.

It is computed from the agreement in ordering across all pairs of observations, so it uses only ranks and does not require normality or linearity. It is suited to ordinal data and to continuous data that contain outliers.

The intuition behind the method

Imagine ranking every person in your sample on two dimensions, such as stress level and sleep hours. For every pair of individuals, ask whether the person ranked higher on stress is also ranked higher on sleep. If the two orderings almost always agree, tau is near +1; if they almost always disagree, tau is near -1; if agreement is no better than chance, tau is near 0. Unlike Pearson's r, tau counts concordant and discordant pairs rather than measuring covariance, so extreme scores have no direct influence on it. A strictly monotone relationship with no noise gives tau of +1 or -1, even when it is non-linear. A noisy monotone relationship gives a smaller absolute tau that reflects the amount of discordance.

History

Maurice G. Kendall introduced the measure in a 1938 paper in Biometrika titled 'A new measure of rank correlation', which is confirmed in the bibliographic databases used for this entry. He also presented the method in the 1948 book Rank Correlation Methods, but that reference could not be matched in those databases, so its details are not verified here. The source for the tie-adjusted variants tau-b and tau-c is not given on this page, and their origin is not described here.

When to use it

Use Kendall's tau to measure the monotone association between two ordinal variables, or between two continuous variables when normality does not hold or outliers are present. It is often chosen over Spearman's rho in small samples because its normal approximation is generally regarded as more accurate there. Avoid it when the question is about a linear relationship, or when both variables are interval or ratio scaled and approximately bivariate normal, since Pearson's r is then the more powerful choice. Tau values are numerically smaller than the equivalent Spearman rho, so the two should not be compared or substituted directly. Key assumptions: the observations are independent; the association of interest is monotone; ties are handled with tau-b or tau-c; and the standard p-value does not apply directly to repeated-measures or clustered data.

Limitations and considerations

  • Tau values are systematically lower in magnitude than Pearson's r or Spearman's rho for the same dataset, making cross-method comparisons misleading.
  • Less statistically powerful than Pearson's r when data truly are bivariate normal.
  • Computationally intensive for very large datasets because all n(n-1)/2 pairs must be evaluated.
  • Does not capture non-monotone (e.g. U-shaped) relationships.

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

Strengths

  • Distribution-free: requires no normality assumption for either variable.
  • Robust to outliers because only the rank ordering — not the raw values — matters.
  • Handles ordinal data naturally, including Likert-scale responses.
  • Has a clear probabilistic interpretation: the difference in probabilities of concordance and discordance.
  • Better small-sample properties than Spearman's rho due to a more accurate normal approximation.
  • Tau-b and tau-c variants accommodate tied observations in a principled way.

Applications

  • Measuring agreement between two raters who rank the same items ordinally, such as judges ordering essays or grant applications.
  • Assessing the association between Likert-scale survey items in social science research.
  • Evaluating a monotone relationship between a clinical biomarker and an ordinal disease severity score.
  • Comparing the rankings produced by two algorithms or recommendation systems for the same set of items.
  • Analysing trends in ranked time-series data, where the Mann-Kendall trend test applies the same concordance logic.
  • Reporting the strength of a monotone association alongside its significance test in nonparametric studies.

How it works

How it works

1

All possible pairs of observations are enumerated, giving n(n-1)/2 pairs. For each pair, the ordering on variable X and the ordering on variable Y are compared.

Formula
\text{For all } \binom{n}{2} \text{ pairs } (i,j),\ i < j
2

A pair is concordant when both observations rank in the same direction on X and Y (higher on both, or lower on both). A pair is discordant when the two rankings conflict. Pairs tied on X are counted in T_x and pairs tied on Y in T_y.

Formula
P = \#\{\text{concordant pairs}\},\quad Q = \#\{\text{discordant pairs}\}
3

Tau-b is the difference between the concordant and discordant pair counts, divided by a denominator that is the geometric mean of the number of pairs untied on Y and the number untied on X. Because tied pairs are removed from the denominator, the coefficient remains on the -1 to +1 scale when ties are present. Tau-c applies a further correction for rectangular tables with unequal numbers of categories in the two variables.

Formula
\tau_b = \dfrac{P - Q}{\sqrt{(P+Q+T_x)(P+Q+T_y)}}
4

The z statistic given in the formula is a normal approximation to the null distribution of the concordance count, used to test whether the population tau equals zero. The expression shown assumes no tied values. When ties are present, it should not be applied as written; use the tie-corrected variance for tau-b or an exact or permutation p-value instead. The normal approximation is least reliable in small samples. There, the exact (permutation) distribution of the statistic should be used for the p-value, and the z test is intended for larger samples.

Formula
z = \dfrac{3\tau\sqrt{n(n-1)}}{\sqrt{2(2n+5)}}
5

If p < 0.05, the null hypothesis that the population tau equals zero is rejected. A failure to reject does not show that the variables are independent, because dependent variables can have a Kendall's tau of zero. An example is the copula S1/2, where complete dependence is cancelled by local concordance and global discordance. The tau coefficient itself, which lies between -1 and +1, gives the direction and strength of the monotone association and can be reported as an effect size. The page does not provide benchmark thresholds for judging how large a given tau is.

Formula
\text{reject } H_0: \tau = 0 \text{ if } p < 0.05

Common pitfalls

  • Comparing Kendall's tau numerically with Spearman's rho as if they were on the same scale — they are not.
  • Treating a significant tau as evidence of a linear relationship; it measures monotone, not linear, association.
  • Ignoring tied values and using an uncorrected coefficient when ties are present in the data, rather than tau-b or tau-c.
  • Interpreting the magnitude using Pearson's r benchmarks without adjustment for the consistently lower scale of tau.

Frequently asked questions

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

Tau-b adjusts for ties on both variables and is generally recommended for square tables, where both variables have the same number of categories. Tau-c (also called Stuart's tau-c) corrects for the number of rows and columns and is generally recommended for rectangular tables, where the two variables have different numbers of possible values.

When should I use Kendall's tau instead of Spearman's rho?

Both are nonparametric rank correlations. Kendall's tau is often preferred in small samples because its normal approximation is more accurate there, and its interpretation as a difference in probabilities of concordance and discordance is direct. Spearman's rho is sometimes reported to have slightly higher power in medium to large samples, but the relative power depends on the data. The two coefficients are not numerically interchangeable, because Spearman's rho is typically larger in absolute value than Kendall's tau for the same data.

Can Kendall's tau be used as an effect size?

Yes. Tau-b is bounded between -1 and +1 and its magnitude describes the strength of the monotone association, so it can be reported as an effect size. This page does not give fixed benchmarks for small, medium, or large values, so interpretation should be made in the context of the study.

What is the Mann-Kendall trend test?

The Mann-Kendall test applies the logic of Kendall's tau to a single time series. It treats time as one ranking and the measured variable as the other, testing whether there is a monotone upward or downward trend. It is often applied to environmental and climate records.

Does Kendall's tau require independent observations?

The observations themselves should be independent. Pairs formed from the same observation are not independent of one another, so the standard significance test does not apply directly to repeated-measures or clustered data without appropriate modification.

Related methods

Sources

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

    Open DOI reference
  2. Kendall, M. G. (1948). Rank Correlation Methods. Charles Griffin & Company.

    Open publication reference