Calculate Kendall’s coefficient of concordance (W) from a rank matrix of items and raters, with tie correction, chi-square and an approximate p-value.

Rows are items; columns are raters. Enter complete rankings of the same items using exact average ranks for ties.

3โ€“100 item rows, 2โ€“50 rater columns. Separate ranks with spaces, commas or semicolons. No thousands separators or blank cells.

Approximate-test settings
Default 0.05; choose a level strictly between 0 and 1 before interpreting the test.


Related Calculators

Calculator Functions

FunctionWhat it doesWhat it requires
Kendallโ€™s W from a rank matrixFinds W, the tie correction and an approximate p-value from the raw rankingsRequires a rank matrix with one row per item and one column per rater, and a tie-handling choice. The significance level is optional
Approximate significance from known WFinds the chi-square statistic and p-value for a W already in handRequires W, the number of raters, the number of items and the significance level

The matrix takes 3 to 100 items and 2 to 50 raters, with ranks separated by spaces, commas or semicolons. Each column must be a complete ranking from 1 to n, and tied items share the average of the ranks they cover, such as 2.5 for a tie between second and third. The significance level defaults to 0.05.

Kendallโ€™s W Formulas

W = 12S รท
[mยฒ(nยณ โˆ’ n) โˆ’ mT] [1]
WCoefficient of concordance, from 0 to 1
SSum over items of (Ri โˆ’ Rฬ„)ยฒ, where Ri is the item’s rank sum and Rฬ„ is the mean rank sum, m(n + 1) รท 2
mNumber of raters
nNumber of items
TTie correction: the sum of tยณ โˆ’ t over every group of t tied ranks, counted within each rater. T = 0 with no ties

Kendallโ€™s W from a rank matrix

Each item’s ranks are added across the raters, and S measures how far those rank sums spread around their mean. W is that spread divided by the largest it could be, which happens when every rater gives the same order, so W = 1 is perfect concordance [1]. Take four items ranked by three raters, with rows 1 1 2, 2 3 1, 3 2 3 and 4 4 4. The rank sums are 4, 6, 8 and 12, their mean is 7.5 and S = 12.25 + 2.25 + 0.25 + 20.25 = 35. With no ties, W = 12 ร— 35 รท [9 ร— (64 โˆ’ 4)] = 420 รท 540 = 0.7778. The result table lists every item’s rank sum, mean rank and squared deviation.

Approximate significance from known W

ฯ‡ยฒ = m(n โˆ’ 1)W [1]

This statistic, Friedman’s chi-square, is compared with a chi-square distribution on n โˆ’ 1 degrees of freedom [1]. The null hypothesis is that the raters rank independently of one another. For W = 0.5 from 5 raters and 10 items, ฯ‡ยฒ = 5 ร— 9 ร— 0.5 = 22.5 on 9 degrees of freedom, a p-value of 0.0074, which is below 0.05. The matrix function runs the same test on its own W: the four-item example gives ฯ‡ยฒ = 3 ร— 3 ร— 0.7778 = 7 on 3 degrees of freedom and p = 0.0719, not significant at 0.05.

Limits of This Estimate

  • The chi-square p-value is an approximation that holds for moderately large m and n. In simulations it was too conservative whenever there were fewer than 20 raters, meaning it finds significance less often than it should, and a permutation test is recommended in those cases [1]. The calculator does not run a permutation test.
  • Every rater must rank the same complete set of items. Missing ranks, partial rankings and scores that are not ranks are rejected.
  • W measures agreement in rank order only. A high W does not show the raters are right, and a W near 0 can come from raters who disagree in a consistent way, since two exactly opposite rankings give W = 0 [1].
  • No strength labels are applied, because what counts as strong agreement depends on the field.

Sources

  1. Legendre, Coefficient of Concordance, Encyclopedia of Research Design, SAGE, 2010: equations for S, W, the tie correction and the chi-square test, and when that test is weak