ArticleslgStudy

mathematics

Kendall rank correlation coefficient

Kendall rank correlation coefficient is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Kendall rank correlation coefficient rather than just read about it. In short: In statistics, the Kendall rank correlation coefficient, commonly referred to as Kendall's τ coefficient (after the Greek letter τ, tau), is a statistic used to measure the ordinal association between two measured quantities. A τ test is a non-parametric hypothesis test for statistical dependence based on the τ coefficient.

Kendall rank correlation coefficient — main illustration
Kendall rank correlation coefficient — illustration

Key takeaways

  • Kendall rank correlation coefficient belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Kendall rank correlation coefficient to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Kendall rank correlation coefficient from memory before moving on to harder problems.

Reference excerpt

In statistics, the Kendall rank correlation coefficient, commonly referred to as Kendall's τ coefficient (after the Greek letter τ, tau), is a statistic used to measure the ordinal association between two measured quantities. A τ test is a non-parametric hypothesis test for statistical dependence based on the τ coefficient. It is a measure of rank correlation: the similarity of the orderings of the data when ranked by each of the quantities. It is named after Maurice Kendall, who developed it in 1938, though Gustav Fechner had proposed a similar measure in the context of time series in 1897. Intuitively, the Kendall correlation between two variables will be high when observations have a similar or identical rank (i.e. relative position label of the observations within the variable: 1st, 2nd, 3rd, etc.) between the two variables, and low when observations have a dissimilar or fully reversed rank between the two variables. Both Kendall's τ and Spearman's ρ can be formulated as special cases of a more general correlation coefficient. Its notions of concordance and discordance also appear in other areas of statistics, like the Rand index in cluster analysis.

Definition

Let (x1,y1),...,(xn,yn) be a set of observations of the joint random variables X and Y, such that all the values of (xi) and (yi) are unique. (See the section Accounting for ties for ways of handling non-unique values.) Any pair of observations (xi,yi) and (xj,yj), where i<j, are said to be concordant if the sort order of (xi,xj) and (yi,yj) agrees: that is, if either both xi>xj and yi>yj holds or both xi<xj and yi<yj; otherwise they are said to be discordant. In the absence of ties, the Kendall τ coefficient is defined as:

τ=(number of concordant pairs)−(number of discordant pairs)(number of pairs)=1−2(number of discordant pairs)(n2). for i<j<n where (n2)=n(n−1)2 is the binomial coefficient for the number of ways to choose two items from n items. The number of discordant pairs is equal to the inversion number that permutes the y-sequence into the same order as the x-sequence.

Properties The denominator is the total number of pair combinations, so the coefficient must be in the range −1 ≤ τ ≤ 1.

If the agreement between the two rankings is perfect (i.e., the two rankings are the same) the coefficient has value 1. If the disagreement between the two rankings is perfect (i.e., one ranking is the reverse of the other) the coefficient has value −1. If X and Y are independent random variables and not constant, then the expectation of the coefficient is zero. An explicit expression for Kendall's rank coefficient is τ=2n(n−1)∑i<jsgn⁡(xi−xj)sgn⁡(yi−yj).

Hypothesis test The Kendall rank coefficient is often used as a test statistic in a statistical hypothesis test to establish whether two variables may be regarded as statistically dependent. This test is non-parametric, as it does not rely on any assumptions on the distributions of X or Y or the distribution of (X,Y). Under the null hypothesis of independence of X and Y, the sampling distribution of τ has an expected value of zero. The precise distribution cannot be characterized in terms of common distributions, but may be calculated exactly for small samples; for larger samples, it is common to use an approximation to the normal distribution, with mean zero and variance 2(2n+5)/9n(n−1). Theorem. If the samples are independent, then the variance of τA is given by Var[τA]=2(2n+5)/9n(n−1).

Case of standard normal distributions If (x1,y1),(x2,y2),...,(xn,yn) are independent and identically distributed samples from the same jointly normal distribution with a known Pearson correlation coefficient r, then the expectation of Kendall rank correlation has a closed-form formula.

The name is credited to Richard Greiner (1909) by P. A. P. Moran.

Accounting for ties A pair {(xi,yi),(xj,yj)} is said to be tied if and only if xi=xj or yi=yj; a tied pair is neither concordant nor discordant. When tied pairs arise in the data, the coefficient may be modified in a number of ways to keep it in the range [−1, 1]:

Tau-a The Tau statistic defined by Kendall in 1938 was retrospectively renamed Tau-a. It represents the strength of positive or negative association of two quantitative or ordinal variables without any adjustment for ties. It is defined as:

τA=nc−ndn0 where nc, nd and n0 are defined as in the next section. When ties are present, nc+nd<n0, and the coefficient can never be equal to +1 or −1. Even a perfect equality of the two variables (X=Y) leads to a Tau-a < 1.

Tau-b The Tau-b statistic, unlike Tau-a, makes adjustments for ties. This Tau-b was first described by Kendall in 1945 under the name Tau-w as an extension of the original Tau statistic supporting ties. Values of Tau-b range from −1 (100% negative association, or perfect disagreement) to +1 (100% positive association, or perfect agreement). In case of the absence of association, Tau-b is equal to zero. The Kendall Tau-b coefficient is defined as :

τB=nc−nd(n0−n1)(n0−n2) where

n0=n(n−1)/2n1=∑iti(ti−1)/2n2=∑juj(uj−1)/2nc=Number of concordant pairs, i.e. pairs with 0<i<j<n where xi<xj and yi<yj or xi>xj and yi>yjnd=Number of discordant pairs, i.e. pairs where 0<i<j<n where xi<xj and yi>yj or xi>xj and yi<yjti=Number of tied values in the ith group of ties for the empirical distribution of Xuj=Number of tied values in the jth group of ties for the empirical distribution of Y A simple algorithm developed in BASIC computes Tau-b coefficient using an alternative formula. Be aware that some statistical packages, e.g. SPSS, use alternative formulas for computational efficiency, with double the 'usual' number of concordant and discordant pairs.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Kendall rank correlation coefficient

Start with the simplest possible case. Write down what Kendall rank correlation coefficient claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Kendall rank correlation coefficient before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Kendall rank correlation coefficient ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Kendall rank correlation coefficient

In research
Kendall rank correlation coefficient appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Kendall rank correlation coefficient in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Kendall rank correlation coefficient is common in secondary-school and first-year university syllabi. It links to neighbouring topics Covariance and correlation, Independence (probability theory), Nonparametric statistics, so understanding it makes those chapters shorter.
In everyday life
Look for Kendall rank correlation coefficient outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Kendall rank correlation coefficient” →

How to study Kendall rank correlation coefficient in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Kendall rank correlation coefficient means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Kendall rank correlation coefficient out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Kendall rank correlation coefficient in simple terms?

In statistics, the Kendall rank correlation coefficient, commonly referred to as Kendall's τ coefficient (after the Greek letter τ, tau), is a statistic used to measure the ordinal association between two measured quantities. A τ test is a non-parametric hypothesis test for statistical dependence b…

Why does Kendall rank correlation coefficient matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Kendall rank correlation coefficient?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Kendall rank correlation coefficient.

Tags

  • Covariance and correlation
  • Independence (probability theory)
  • Nonparametric statistics
  • Statistical tests

Keep exploring