Menu
numiqo

Kendall's Tau

Author: Dr. Hannah Volk-Jesussek
Updated:

Medical example data

What is Kendall's Tau?

Kendall's tau is a correlation coefficient and therefore measures the relationship between two variables.

In contrast to Pearson correlation, Kendall's rank correlation is a non-parametric test procedure. For Kendall's tau, the data do not need to be normally distributed and the two variables need only be ordinal.

Kendall's Tau non-parametric

The same is true for Spearman rank correlation. Kendall's tau is very similar to Spearman's rank correlation coefficient.

However, Kendall's tau should be preferred over Spearman's correlation when the dataset is small and there are many rank ties.

Calculate Kendall's Tau

We can calculate Kendall's Tau with this formula:

Kendall's Tau Equation

where C is the number of concordant pairs and D is the number of discordant pairs. But what are concordant and discordant pairs?

Kendall's tau example

Suppose two doctors rank 6 patients by physical health. We use the female doctor's ranking as the reference and sort the patients from 1 to 6.

Kendall's Tau ranks

Now we compare the reference ranks with the second doctor's ranks. For example, the patient who is ranked 3 by the female doctor is ranked 4 by the male doctor.

Comparing Kendall's Tau ranks

We want to know whether there is a correlation between the two assessments using Kendall's tau. To calculate it, we use the ranks on the right-hand side, i.e. the ones from the male doctor.

We now look at each rank and note whether the values below it are smaller or larger than it.

Calculate Kendall's Tau

As shown in the figure above, we start with the first rank, corresponding to the value 3. 1 is smaller than 3, so it gets a minus, 4 is larger, so it gets a plus, 2 is smaller, so it gets a minus, 6 is larger, so it gets a plus, and 5 is also larger, so it also gets a plus.

We now do the same for the second rank, corresponding to the value 1. Of course, each subsequent rank has a greater value than 1, so we have a plus everywhere.

Kendall's Tau calculates ranks

For the rank with value 4, 2 is smaller and 6 and 5 are larger. We proceed in the same way for the ranks with value 2 and 6.

We can now calculate the number of concordant and discordant pairs. We get the number of concordant pairs by counting all pluses. In our example, we have a total of 11.

Kendall's Tau concordant pairs

We get the number of discordant pairs by counting all minuses. In our example, we have a total of 4.

Kendall's tau discordant pairs

C is 11 and D is 4, so Kendall's tau is (11 - 4) / (11 + 4), resulting in a value of 0.47.

Kendall's Tau Formula

An alternate formula for Kendall's tau uses S = C-D and n is the number of cases. Here, S is 7 and n is 6.

Kendall's Tau alternative equation

Substituting gives 7/15.

Kendall's tau significance

For Kendall's tau, the null and alternative hypotheses are:

  • Null hypothesis: the correlation coefficient tau = 0 (there is no correlation).
  • Alternative hypothesis: the correlation coefficient tau ≠ 0 (there is a correlation).

Now we want to know if the correlation coefficient is significantly different from zero. You can determine this either by hand or with software like numiqo.

For a hand calculation, we can use the z-distribution as an approximation. However, we should have more than 40 cases. The 6 cases from our example are too few. We get the z-value using this formula:

z-value Kendall's tau

Calculate Kendall's tau with numiqo

A B example data Medical example data

If you want to calculate Kendall's tau online with numiqo, copy your own data into the table in the Kendall's tau calculator and click on correlation.

Kendall's Tau Software

Then select the variables for which you want to calculate Kendall's tau. Now all you have to do is click on Kendall's tau and you're done.

Calculate Kendall's tau online

If you are not sure how to interpret the results, click on Summary in words.

A Kendall's tau correlation was performed to determine whether there is a correlation between variables A and B. There is a medium, positive correlation between variables A and B with r = 0.47. Thus, there is a medium, positive association between A and B in this sample.

The Kendall's tau correlation showed that there was no significant correlation between A and B, r(4) = 0.47, p = .188.


Statistics made easy

  • many illustrative examples
  • ideal for exams and theses
  • statistics made easy on 454 pages
  • 6th revised edition (March 2025)
  • Only 8.99 €
Free sample
numiqo

"Super simple written"

"It could not be simpler"

"So many helpful examples"

Cite numiqo: numiqo Team (2026). numiqo: Online Statistics Calculator. numiqo e.U. Graz, Austria. URL https://numiqo.com

Contact & About Us FAQ Privacy Policy Terms and Conditions Statistics Software Minitab alternative Minitab to Excel (Minitab File Converter) SPSS to Excel (SPSS File Converter) SPSS alternative DATAtab is now numiqo