Kendall's W Explained

Kendall's W (also known as Kendall's coefficient of concordance) is a non-parametric statistic for rank correlation. It is a normalization of the statistic of the Friedman test, and can be used for assessing agreement among raters and in particular inter-rater reliability. Kendall's W ranges from 0 (no agreement) to 1 (complete agreement).

Suppose, for instance, that a number of people have been asked to rank a list of political concerns, from the most important to the least important. Kendall's W can be calculated from these data. If the test statistic W is 1, then all the survey respondents have been unanimous, and each respondent has assigned the same order to the list of concerns. If W is 0, then there is no overall trend of agreement among the respondents, and their responses may be regarded as essentially random. Intermediate values of W indicate a greater or lesser degree of unanimity among the various responses.

While tests using the standard Pearson correlation coefficient assume normally distributed values and compare two sequences of outcomes simultaneously, Kendall's W makes no assumptions regarding the nature of the probability distribution and can handle any number of distinct outcomes.

Steps of Kendall's W

Suppose that object i is given the rank ri,j by judge number j, where there are in total n objects and m judges. Then the total rank given to object i is

Ri=\sum

m
j=1

ri,j,

and the mean value of these total ranks is

\barR=

1
n
n
\sum
i=1

Ri.

The sum of squared deviations, S, is defined as
n
S=\sum
i=1

(Ri-\barR)2,

and then Kendall's W is defined as[1]
W=12S
m2(n3-n)

.

If the test statistic W is 1, then all the judges or survey respondents have been unanimous, and each judge or respondent has assigned the same order to the list of objects or concerns. If W is 0, then there is no overall trend of agreement among the respondents, and their responses may be regarded as essentially random. Intermediate values of W indicate a greater or lesser degree of unanimity among the various judges or respondents.

Kendall and Gibbons (1990) also show W is linearly related to the mean value of the Spearman's rank correlation coefficients between all

m\choose{2}

possible pairs of rankings between judges

\bar{r}s=

mW-1
m-1

Incomplete Blocks

When the judges evaluate only some subset of the n objects, and when the correspondent block design is a (n, m, r, p, λ)-design (note the different notation). In other words, when

  1. each judge ranks the same number p of objects for some

p<n

,
  1. every object is ranked exactly the same total number r of times,
  2. and each pair of objects is presented together to some judge a total of exactly λ times,

λ\ge1

, a constant for all pairs.

Then Kendall's W is defined as [2]

W=
12
n
\sum
i=1
2)
(R
i
-3r2n\left(p+1\right)2
λ2n(n2-1)

.

If

p=n

and

λ=r=m

so that each judge ranks all n objects, the formula above is equivalent to the original one.

Correction for Ties

When tied values occur, they are each given the average of the ranks that would have been given had no ties occurred. For example, the data set has values of 80 tied for 4th, 5th, and 6th place; since the mean of = 5, ranks would be assigned to the raw data values as follows: .

The effect of ties is to reduce the value of W; however, this effect is small unless there are a large number of ties. To correct for ties, assign ranks to tied values as above and compute the correction factors

Tj=\sum

gj
i=1
3-t
(t
i),
where ti is the number of tied ranks in the ith group of tied ranks, (where a group is a set of values having constant (tied) rank,) and gj is the number of groups of ties in the set of ranks (ranging from 1 to n) for judge j. Thus, Tj is the correction factor required for the set of ranks for judge j, i.e. the jth set of ranks. Note that if there are no tied ranks for judge j, Tj equals 0.

With the correction for ties, the formula for W becomes

W=
n
12\sum
2)-3m
(R
i
2n(n+1)2
i=1
2n(n
m
m
j=1
(Tj)

,

where Ri is the sum of the ranks for object i, and
m
\sum
j=1

(Tj)

is the sum of the values of Tj over all m sets of ranks.[3]

Steps of Weighted Kendall's W

In some cases, the importance of the raters (experts) might not be the same as each other. In this case, the Weighted Kendall's W should be used.[4] Suppose that object

i

is given the rank

rij

by judge number

j

, where there are in total

n

objects and

m

judges. Also, the weight of judge

j

is shown by

\varthetaj

(in real-world situation, the importance of each rater can be different). Indeed, the weight of judges is

\varthetaj(j=1,2,...,m)

. Then, the total rank given to object

i

is

Ri=\sum

m
j=1

\varthetajrij

and the mean value of these total ranks is,

\barR=

1
n
n
\sum
i=1

Ri

The sum of squared deviations,

S

, is defined as,
n
S=\sum
i=1

(Ri-\barR)2

and then Weighted Kendall's W is defined as,

Ww=

12S
(n3-n)
The above formula is suitable when we do not have any tie rank.

Correction for Ties

In case of tie rank, we need to consider it in the above formula. To correct for ties, we should compute the correction factors,

Tj=\sum

n
i=1
3-t
(t
ij

)       \forallj

where

tij

represents the number of tie ranks in judge

j

for object

i

.

Tj

shows the total number of ties in judge

j

.With the correction for ties, the formula for Weighted Kendall's W becomes,

Ww=

12S
m
(n\varthetajTj
j=1
If the weights of the raters are equal (the distribution of the weights is uniform), the value of Weighted Kendall's W and Kendall's W are equal.

Significance Tests

In the case of complete ranks, a commonly used significance test for W against a null hypothesis of no agreement (i.e. random rankings) is given by Kendall and Gibbons (1990)[5]

\chi2=m(n-1)W

Where the test statistic takes a chi-squared distribution with

df=n-1

degrees of freedom.

In the case of incomplete rankings (see above), this becomes

\chi2=

λ(n2-1)
k+1

W

Where again, there are

df=n-1

degrees of freedom.

Legendre[6] compared via simulation the power of the chi-square and permutation testing approaches to determining significance for Kendall's W. Results indicated the chi-square method was overly conservative compared to a permutation test when

m<20

. Marozzi[7] extended this by also considering the F test, as proposed in the original publication introducing the W statistic by Kendall & Babington Smith (1939):
F=W(m-1)
1-W

Where the test statistic follows an F distribution with

v1=n-1-(2/m)

and

v2=(m-1)v1

degrees of freedom. Marozzi found the F test performs approximately as well as the permutation test method, and may be preferred to when

m

is small, as it is computationally simpler.

Software

Kendall's W and Weighted Kendall's W are implemented in MATLAB,[8] SPSS, R,[9] and other statistical software packages.

See also

References

Notes and References

  1. Dodge (2003): see "concordance, coefficient of"
  2. Gibbons & Chakraborti (2003)
  3. Siegel & Castellan (1988, p. 266)
  4. Mahmoudi . Amin . Abbasi . Mehdi . Yuan . Jingfeng . Li . Lingzhi . 2022 . Large-scale group decision-making (LSGDM) for performance measurement of healthcare construction projects: Ordinal Priority Approach . Applied Intelligence . 52 . 12 . 13781–13802 . en . 10.1007/s10489-022-04094-y . 36091930 . 9449288 . 1573-7497.
  5. Book: Kendall, Maurice G. (Maurice George), 1907-1983. . Rank correlation methods . 1990 . E. Arnold . Gibbons, Jean Dickinson, 1938- . 0-19-520837-4 . 5th . London . 21195423 . registration.
  6. Legendre (2005)
  7. Marozzi . Marco . 2014 . Testing for concordance between several criteria . Journal of Statistical Computation and Simulation . 84 . 9 . 1843–1850 . 10.1080/00949655.2013.766189. 119577430 .
  8. Web site: Weighted Kendall's W . 2022-10-06 . www.mathworks.com . en.
  9. Web site: Kendall's coefficient of concordance W – generalized for randomly incomplete datasets . The R Project for Statistical Computing.