Choose your reading route
eduKateSG · Why Mathematics? · Kendall’s W, Rank Concordance and Shared Judgement
Start with the question, audit the worked example, or jump to the assumptions and practice. Every chapter stays open for uninterrupted reading.
Understand the question
Define the quantity and follow the mechanism.Route 2 · Chapters 5–7
Reproduce the example
Audit the numbers one step at a time.Route 3 · Chapters 8–18
Check assumptions
See where design and calibration matter.Route 4 · Chapters 19–20
Explore applications
Connect the method to a concrete investigation.Route 5 · Chapters 21–26
Study and verify
Practise, inspect failure cases and read further.
Full chapter index · Practice and checking · Mathematics Learning Hub
Why is mathematics important when several people rank the same things? Because apparent agreement needs a definition. Kendall’s coefficient of concordance, W, summarises how consistently several judges order a common set of objects. It combines within-judge ranks and examines how strongly the objects’ rank totals separate, without assuming that judges use equal numerical gaps in their original ratings.
Imagine three reviewers ranking four hypothetical designs. They may share a clear preference for one design while disagreeing about the middle two. W turns that pattern into a descriptive coefficient, but the number does not establish that the reviewers are correct, representative or free from a shared bias. Agreement is one property of a judgement system, not its entire quality.
This guide builds W from a checked rank matrix, explains ties, derives a small exact random-ranking reference and contrasts concordance with accuracy and absolute agreement. The examples are synthetic. They support learning in statistics, algebra and critical reading rather than ranking real pupils or recommending a real product.
Did You Know? Under a simple model of independent uniform complete rankings, the expected W is one divided by the number of judges, not zero. A finite panel can show apparent concordance by chance, so a coefficient’s scale and a hypothesis test’s reference must not be confused.
Full chapter index
Chapters 1–4 · Understand the question
Chapters 5–7 · Reproduce the example
Chapters 8–18 · Check assumptions
- Random rankings do not have mean zero W
- Build a small exact reference
- Compare with the Friedman approximation
- Ties reduce the available distinctions
- A tied example with a hand check
- Constant ratings can make W undefined
- Rank agreement is not absolute-score agreement
- Consensus is not correctness
- Independence and judge selection matter
- Object selection changes the comparison
- Missing rankings need a design-aware plan
Chapters 19–20 · Explore applications
Chapters 21–26 · Study and verify
CHAPTER 1 OF 26 · Understand the question
1. Define judges and objects before the matrix
There are J judges and K objects. Every judge ranks the same K objects. The object identities must line up across judges, so the column labelled design A refers to the same design in every judge’s row in this article’s layout.
A judge can be a person, instrument or repeatable ranking procedure, but the practical interpretation changes with that choice. Three algorithms trained on the same data are not automatically independent sources of judgement, and three repeated ratings from one person are not three different people.
The data layout is a convention, not a definition of W. Some software expects objects in rows and judges in columns. State the layout and transpose when necessary. Feeding an array with the dimensions reversed changes the mathematical comparison.
The method requires a common object set in its straightforward complete-case form. Ratings of unrelated objects by different judges do not create a shared-ranking panel simply because they can be arranged into a rectangle.
For a complete untied ranking, each judge assigns the numbers one through K once. Decide whether one means lowest or highest priority and use that convention for all judges. Reversing every judge’s scale together does not change their mutual concordance.
If judges begin with numerical scores, convert each judge’s scores into within-judge ranks according to the declared rule. A judge who uses a narrow score range and another who uses a broad range can still produce identical rank orders.
That invariance discards absolute score differences. Scores [1,2,3,4] and [10,20,30,100] have the same ordering, despite very different spacing. W concerns their common order, not the numerical magnitude of preference gaps.
Keep the original ratings if those gaps matter. A decision about interchangeable scoring, calibrated measurements or monetary valuations may require information that rank conversion intentionally removes. The appropriate statistic follows the practical question rather than replacing it.
Let R_k be the sum of ranks assigned to object k across all J judges. If the judges tend to place an object high, its total will be high under an increasing-rank convention. Consistently low-ranked objects have low totals.
For untied complete rankings, every judge’s ranks sum to K(K+1)/2. Therefore the mean object total is R̄=J(K+1)/2. This identity provides a bookkeeping check independently of the detailed pattern of rankings.
Calculate S=Σ(R_k−R̄)². When the object totals separate strongly, S is large. When totals balance at the mean, S is small or zero. The deviations sum to zero, so squaring prevents positive and negative departures from cancelling.
This construction explains why agreement appears through spread in rank totals. If judges repeatedly identify the same high and low objects, their totals reinforce one another. If rankings oppose or balance, the totals become less separated.
CHAPTER 4 OF 26 · Understand the question
4. Normalise by the maximum untied separation
For untied complete rankings, W=12S/[J²(K³−K)]. The denominator represents the maximum possible squared separation when all judges use the same ordering. The coefficient lies between zero and one in this setting.
W=1 corresponds to identical complete rankings. W=0 means all objects have equal rank totals, not necessarily that every pair of judges is independent or that no structured disagreement exists. Opposing rankings can produce perfectly balanced totals.
The coefficient is descriptive. A value such as 0.7 is not automatically a seventy-percent probability of correctness or a seventy-percent fraction of judges who agree. It is the observed rank-total separation relative to the stated maximum.
Report J, K and the tie policy alongside W. A universal verbal label such as acceptable or excellent can conceal how panel size, object selection and measurement scale affect interpretation. The context supplies a standard of consequence that the formula itself does not contain.
CHAPTER 5 OF 26 · Reproduce the example
5. Worked example: three judges and four objects
Use judge rankings [1,2,3,4], [1,3,2,4] and [2,1,3,4]. Rows are judges and columns are objects A, B, C, D. Each row is a complete untied ranking of the same four objects.
The object totals are [4,6,8,12]. Their mean is 3×5/2=7.5. The deviations are [−3.5,−1.5,0.5,4.5], whose squared values sum to 12.25+2.25+0.25+20.25=35.
Thus W=12×35/[3²(4³−4)]=420/540=7/9≈0.77777778. The panel has substantial rank-order alignment in this synthetic table, particularly in placing D highest, while disagreement remains elsewhere.
The calculation was independently reproduced from rank totals. The associated usual Friedman chi-square transformation is Q=J(K−1)W=7. Its asymptotic reference and a separate exact random-ranking calculation are discussed below rather than being treated as interchangeable conclusions.
| Judge | A | B | C | D |
|---|---|---|---|---|
| 1 | 1 | 2 | 3 | 4 |
| 2 | 1 | 3 | 2 | 4 |
| 3 | 2 | 1 | 3 | 4 |
| Rank totals | 4 | 6 | 8 | 12 |
If all three judges use [1,2,3,4], the totals are [3,6,9,12]. Their deviations from 7.5 are [−4.5,−1.5,1.5,4.5]. Squaring and adding gives S=45.
Using the same denominator as before yields W=12×45/540=1. Our worked example’s S=35 is therefore seven-ninths of the maximal separation. This direct reconstruction makes the normalisation visible instead of leaving it as a mysterious constant.
The maximum depends on complete rankings of the same objects. If ties occur, fewer distinctions are available and the untied maximum is no longer the right denominator for a tie-corrected coefficient.
A student can test the formula by constructing identical increasing rankings, then identical decreasing rankings. Both should give W=1 because they represent perfect agreement among judges. The common direction of preference does not matter; consistency across judges does.
CHAPTER 7 OF 26 · Reproduce the example
7. A zero result can contain strong structure
Take two judges ranking three objects as [1,2,3] and [3,2,1]. Their object totals are [4,4,4], so S=0 and W=0. These judges are not unrelated in their opinions: they disagree in a perfectly ordered way.
This example shows why zero concordance must not be translated into statistical independence. The coefficient summarises reinforcement of a common ordering, while a systematic reversal produces cancellation in the totals.
It also shows why examining the full rank matrix matters. A single scalar cannot distinguish random-looking disagreement from two coherent opposing schools of judgement. Those situations may require different practical responses.
For a panel decision, identify whether disagreement concerns one object, a subset or an overall reversal. W can describe the degree of common ranking, but the matrix explains where discussion or further evidence is needed.
Under independent uniform complete rankings of K objects by J judges, the expected squared separation is J K(K²−1)/12. Substituting this into the untied formula gives E(W)=1/J.
For three judges the mean under that reference is one-third. For ten judges it is one-tenth. The finite-panel baseline changes because the maximum scales with J² while the independent-ranking variation scales with J.
This is not a claim that every real disagreement model has that expectation. Uniform independent rankings are one explicit null construction. Shared preferences, constrained rankings and dependent judges require another interpretation.
The result helps separate effect description from calibration. W has a zero-to-one scale, but the observed value’s unusualness depends on the reference experiment and panel dimensions. A coefficient alone does not supply its own probability statement.
For four objects, an untied complete ranking has 4!=24 possible permutations. Under the model that each of three judges independently chooses uniformly among them, there are 24³=13,824 equally weighted ranking matrices.
Calculate S or W for every matrix and count those at least as concordant as the observed W=7/9. Complete enumeration gives 744 such matrices. The upper-tail probability is 744/13,824=31/576≈0.05381944.
One can fix the first judge’s ranking without changing this probability because relabelling objects creates equivalent configurations. The smaller reference then has 24²=576 combinations, with 31 reaching the observed tail. This provides a useful symmetry check on the full enumeration.
At a prespecified five-percent threshold, this particular exact random-ranking reference does not reject. The coefficient remains 7/9. Descriptive concordance and an inferential threshold decision are different statements, and neither should be silently substituted for the other.
The usual chi-square transformation is Q=J(K−1)W. With J=3, K=4 and W=7/9, Q=7. Comparing it with chi-square on K−1=3 degrees of freedom gives an approximate p-value of 0.07189777.
That differs from the exact random-ranking probability 0.05381944. A small finite reference is not a smooth limiting distribution. Neither calculation should be relabelled as the other just because both use the same observed rank totals.
Maintained DescTools documentation connects its concordance test with Friedman’s test and cautions that the usual test is a large-sample procedure. Software options and tie corrections should be recorded explicitly when reproducing an inferential result.
Our exact calculation refers to independent uniform complete rankings, not every possible model of no useful agreement. If the design constrains which permutations are possible, enumerate or simulate the appropriate reference instead. Mathematical exactness depends on specifying the experiment correctly.
If a judge rates two objects equally, assign them their average occupied ranks. For scores producing a tied first and second place among three objects, the ranks are [1.5,1.5,3]. The rank sum remains six.
For judge j, let T_j=Σ(t³−t), summing over that judge’s tie-group sizes t. The conventional tie-corrected denominator is J²(K³−K)−JΣT_j. The numerator remains 12S.
The correction recognises that tied rankings cannot separate objects as strongly as complete untied rankings. It does not invent an order within the tie. Arbitrarily breaking ties would change the measurement rather than merely improve the calculation.
Record whether the coefficient was corrected. Some maintained interfaces do not enable tie correction by default. Passing a numerical matrix successfully is not proof that the selected setting matches an intended tied-ranking interpretation.
Use two judges and three objects, with ranks [1.5,1.5,3] and [1,2,3]. The object totals are [2.5,3.5,6], with mean four. Their squared deviations sum to 2.25+0.25+4=6.5.
There is one tie group of size two for the first judge, contributing 2³−2=6. The second judge has no ties. The corrected denominator is 2²(3³−3)−2×6=96−12=84.
The coefficient is 12×6.5/84=78/84=13/14≈0.92857143. Using the untied denominator instead would give 78/96=0.8125. These are different normalisations of the same observed rank totals.
The higher corrected value is not additional evidence collected from the world. It reflects a changed reference maximum appropriate to the declared tie convention. A high number still does not show that either judge is accurate or that the small panel represents a wider population.
If every judge ties every object, no ranking distinctions remain. S is zero and the fully tie-corrected denominator is also zero. The result is undefined rather than perfect agreement about an informative ordering.
A panel can agree that all objects deserve the same raw score, but that is not the same task as agreeing on a ranking that distinguishes objects. The practical claim should say which form of agreement is intended.
If only some judges are constant, inspect how the chosen implementation handles their missing ranking information. Excluding them changes the panel; treating them as informative complete rankings changes the mathematical content. The rule should be justified and recorded.
Build boundary tests for a calculator: all identical untied rankings, one reversed judge, a single tied block and complete ties. Predict the output or warning before running it. Undefined cases are part of understanding the measure, not nuisances to hide.
CHAPTER 14 OF 26 · Check assumptions
14. Rank agreement is not absolute-score agreement
Two judges can rank objects identically while assigning scores on very different numerical scales. One might use 1,2,3,4 and another 50,60,70,100. Their W can be one after ranking, although their scores are not interchangeable.
If decisions depend on exact thresholds or measurement units, examine absolute differences and calibration. A ranking coefficient cannot certify that two instruments return equivalent values or that two markers award the same number of marks.
This distinction matters in educational assessment. Consistent ordering of scripts does not guarantee consistent grading levels. A moderation process may need both rank alignment and direct evidence about score standards.
Choose a measure because it matches the intended use: common prioritisation, reproducible score values, calibration or correctness. Several measures may be useful together, but each should retain its own interpretation rather than becoming another generic reliability score.
All judges can share an error, misconception or biased criterion. Perfect agreement then shows consistent use of that criterion, not truth. W cannot compare the panel’s judgement with reality unless reality is separately measured and analysed.
For a design review, agreement may make a decision easier to communicate, while independent usability evidence may contradict the ranking. The appropriate response is to inspect both kinds of information rather than treating consensus as a substitute for testing.
For school work, several assessors may agree on a ranking but overlook a substantive error. A verified solution or rubric criterion supplies an external standard that concordance alone lacks.
Teach the question “agreement with whom, about what, and against which standard?” It keeps a useful statistical summary from being converted into a claim of authority. Mathematical literacy includes recognising when a number describes social alignment rather than validated accuracy.
The simple random-ranking reference assumes independent judges. Discussion before ranking, shared training or common data sources can create dependence. Whether that is desirable in the practical process is separate from whether the reference model describes it.
A panel selected from one team may not represent all potential users or experts. High W within that panel cannot establish universal consensus. Describe who the judges are and how they were recruited.
Repeated rankings by the same judge can investigate stability over time, but they are not automatically independent additional judges. Memory, fatigue and changing context can affect the result. Preserve the repeated-measure structure.
For inference or resampling, identify what is being generalised: judges, objects or both. Different sampling targets imply different uncertainty questions. A single coefficient calculated from one complete matrix does not settle those targets on its own.
A panel may agree strongly when objects are very different and less strongly when they are nearly indistinguishable. W describes the chosen set, not an inherent permanent property of the judges independent of what they rank.
Adding an obvious best and obvious worst object can strengthen rank-total separation while leaving disagreement among the difficult middle objects unresolved. A headline coefficient may therefore conceal the part of the decision that needs attention.
Report the object selection rule and inspect local disagreements. If the practical question concerns choosing among closely competing designs, including many irrelevant extremes may create an overly reassuring aggregate description.
A student project can demonstrate this by starting with three similar objects and adding one clear outlier. Recalculate W and explain what changed in the rank totals. The lesson is about the population of objects, not a trick for improving a score.
The straightforward formula assumes every judge ranks the same objects. If one rating is missing, deleting only that cell does not leave a complete rectangular ranking design. Rank totals and available comparisons may become unequal.
Complete-case analysis can be transparent but changes the set of objects or judges. If missingness relates to difficulty or disagreement, the retained matrix may look more concordant than the intended panel.
Do not enter zero as a missing rank. Zero creates an artificial extreme and changes ordering. Keep missingness separate from observed ratings and record why the information is absent.
For an incomplete ranking design, use a method explicitly intended for that structure or seek a justified completion plan. An elegant formula for a complete matrix is not automatically repaired by silently filling empty cells.
CHAPTER 19 OF 26 · Explore applications
19. Connect W with pairwise rank correlations
For complete untied rankings of the same objects, W relates to the average pairwise Spearman rank correlation ρ̄ through ρ̄=(JW−1)/(J−1), when there are at least two judges.
For the worked example, J=3 and W=7/9 give ρ̄=2/3. Direct pairwise correlations are 0.8,0.8 and 0.4, whose average is indeed two-thirds. This supplies another independent numerical check.
The relationship requires the stated untied common-object setting. Do not apply it unchanged to arbitrary tie corrections or incomplete panels. Matching formulas to assumptions is more important than remembering the conversion.
The pairwise view also reveals uneven agreement: two judges may align closely while another differs. W is an overall summary, whereas a correlation matrix helps locate that structure. Neither replaces inspection of the original rankings.
Create four hypothetical designs and ask synthetic judges to rank them under one explicit criterion, such as ease of locating a control. Keep that criterion fixed so disagreements do not simply reflect different questions.
Calculate within-judge ranks, object totals, S and W. Then inspect which objects produce disagreement. A high aggregate coefficient should not prevent a discussion of a contested design with an important accessibility issue.
Repeat with a different declared criterion and explain why the ranking can change. Cost, ease of use and visual preference are not interchangeable objectives. Combining them requires a decision model beyond a concordance coefficient.
The project connects mathematics with product design through transparent evidence handling. It does not promise that a panel statistic automatically selects the best product or replaces observation of real users.
Use synthetic scripts and a clear rubric to compare rank ordering by several hypothetical assessors. Calculate W, then separately compare their raw marks. This makes the distinction between ordering consistency and score-level agreement concrete.
Introduce a shared scoring error and show that W can remain high. An external worked standard is needed to diagnose the error. Consensus alone cannot validate the rubric’s content or the assessors’ interpretation.
Keep real pupils’ privacy and dignity central if any actual assessment exercise is undertaken. Synthetic examples usually provide enough structure for learning without publishing identifiable script rankings or labels about ability.
For parents, the useful takeaway is that one score cannot describe every aspect of assessment quality. Reliability, validity, feedback and a learner’s independent understanding are connected but different questions. Mathematics helps distinguish them.
Begin with ranking familiar neutral objects under one criterion. Add ranks by object and check that every complete judge row has the same sum. This establishes the fixed total before introducing normalisation.
Next calculate deviations from the mean total and square them. Compare identical rankings with opposing rankings to see reinforcement and cancellation. The coefficient then follows as a ratio to a visible maximum.
Study ties through average ranks and a small corrected denominator. Ask what information was removed by a tie and why random tie-breaking would invent distinctions. This links data representation with mathematical honesty.
Finally explore the exact random-ranking reference. Count permutations, enumerate a small case and distinguish a descriptive W from a calibrated p-value. The route builds understanding through connected questions rather than an isolated formula.
Question 1: Three judges rank four objects. What is the mean rank total? It is 3×(4+1)/2=7.5. The total of all object totals is thirty.
Question 2: What is S for totals [4,6,8,12]? The deviations from 7.5 square to 12.25,2.25,0.25 and 20.25, giving thirty-five.
Question 3: Does reversing every judge’s ranking reduce W? No. All rankings remain equally concordant. Reversing only one judge can change their mutual alignment.
Question 4: Can W=0 reflect structured disagreement? Yes. Two completely reversed three-object rankings have equal object totals and W=0 despite a perfect negative relationship between judges.
Question 5: Is a high W proof that the ranking is correct? No. It describes agreement. Correctness requires an external standard or evidence about the intended practical outcome.
Retain the original ratings, rank conversion, object identities and judge identities at an appropriate privacy level. State the matrix orientation and direction of ranks. Record ties and the correction setting.
Report J, K, W and the practical criterion. If inference is included, name the exact reference or asymptotic approximation and its assumptions. Our small exact calculation is conditional on independent uniform complete rankings, not a universal model of panel behaviour.
Inspect object-level and judge-level disagreement alongside the overall coefficient. Separate rank consensus from raw-score agreement and external correctness. Explain any missing-data decisions and how the panel or object set was selected.
A future reader should be able to reconstruct both the number and the question. That is the standard that makes an agreement analysis useful beyond a spreadsheet: its meaning survives when someone else reviews the evidence.
Is W the same as Kendall’s tau?
No. W summarises concordance across several rankings of a common object set. Tau is a pairwise rank-association family with different definitions and tie conventions. Similar names do not make their outputs interchangeable.
Are tied ratings allowed?
Average ranks and a declared tie correction can be used, but the available distinctions and inferential calibration must be respected. Fully tied data can make the corrected comparison undefined.
Does W have a universal acceptable cutoff?
No. The consequence of disagreement, object difficulty, panel selection and purpose matter. A context-specific standard is more informative than applying the same verbal label everywhere.
Why did two p-values differ in the example?
One came from a finite independent-uniform-ranking reference and the other from a chi-square approximation. Small finite distributions need not match their asymptotic approximations exactly.
What should students remember?
Agreement, accuracy and interchangeability are separate properties. Define the judges, objects and criterion, then interpret W as a rank-concordance summary with an explicitly chosen reference if testing is required.
The maintained DescTools KendallW documentation explains its matrix convention, tie-correction option and connection with Friedman’s test. The worked coefficient, pairwise-correlation check and all 13,824 random-ranking matrices were independently calculated for this article.
For a matched ordered alternative, read Page’s trend test. For a different paired categorical comparison, see Bowker symmetry. Continue through the Mathematics Learning Hub to connect rankings with probability and evidence.
