Kendall Tau Calculator

Measure how well two lists agree in rank order with Kendall's tau-b, which corrects for ties. Paste paired X and Y values to get the correlation and the counts of concordant, discordant and tied pairs.

1 Paste your text and pick the options

2 Your answer

Your answer shows here as you type.

How to use the Kendall Tau Calculator

  1. Paste the X values, separated by commas or spaces.
  2. Paste the Y values in the same order, with the same number of values.
  3. Read tau-b, which runs from -1 to 1, and the pair counts below it.

Frequently asked questions

What does Kendall's tau measure?

It measures the rank agreement between two lists. For each pair of observations, it checks whether both lists order the pair the same way (concordant) or in opposite ways (discordant). The value runs from -1, a perfect reversal, through 0, no association, to 1, perfect agreement.

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

Tau-a divides by the total number of pairs and ignores ties. Tau-b subtracts tied pairs from the denominator, so it can still reach 1 or -1 when the data contain ties. This calculator uses tau-b.

How is Kendall's tau calculated?

Tau-b equals (C - D) divided by the square root of (n0 - n1) times (n0 - n2). Here C is the number of concordant pairs, D the number of discordant pairs, n0 the total number of pairs, and n1 and n2 the numbers of pairs tied in X and in Y.

How does Kendall's tau differ from Spearman's rho?

Both measure rank correlation. Kendall's tau counts pairs that agree or disagree in order, while Spearman's rho uses the squared differences between ranks. For the same data, Kendall's tau is usually smaller in size than Spearman's rho.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.