Kendall's W


Kendall's W is a non-parametric statistic. It is a normalization of the statistic of the Friedman test, and can be used for assessing agreement among raters. Kendall's W ranges from 0 to 1.
Suppose, for instance, that a number of people have been asked to rank a list of political concerns, from most important to 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 at a time, Kendall's W makes no assumptions regarding the nature of the probability distribution and can handle any number of distinct outcomes.

Definition

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
and the mean value of these total ranks is
The sum of squared deviations, S, is defined as
and then Kendall's W is defined as
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 also show W is linearly related to the mean value of the Spearman's rank correlation coefficients between all possible pairs of rankings between judges

Incomplete Blocks

When the judges evaluate only some subset of the n objects, and when the correspondent block design is a -design. In other words, when
  1. each judge ranks the same number p of objects for some,
  2. every object is ranked exactly the same total number r of times,
  3. and each pair of objects is presented together to some judge a total of exactly λ times,, a constant for all pairs.
Then Kendall's W is defined as
If and 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
where ti is the number of tied ranks in the ith group of tied ranks, and gj is the number of groups of ties in the set of ranks 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
where Ri is the sum of the ranks for object i, and is the sum of the values of Tj over all m sets of ranks.

Significance Tests

In the case of complete ranks, a commonly used significance test for W against a null hypothesis of no agreement is given by Kendall and Gibbons
Where the test statistic takes a chi-squared distribution with degrees of freedom.
In the case of incomplete rankings, this becomes
Where again, there are degrees of freedom.
Legendre 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. Marozzi extended this by also considering the F test, as proposed in the original publication introducing the W statistic by Kendall & Babington Smith :
Where the test statistic follows an F distribution with and degrees of freedom. Marozzi found the F test performs approximately as well as the permutation test method, and may be preferred to when is small, as it is computationally simpler.