Contents/ Part XXVII · Capstone Projects: Statistical Testing/ Chapter 172

Do Two Judges See the Same Thing?

Capstone 13. A blind panel, a dozen products, three judges and a scoring sheet. The question is not who scored highest but whether two experts put the products in the same order, and whether a dozen items is enough to tell.

⏱️ ~17 min read
πŸ§ͺ Kendall's tau-b
πŸ“Š Chapter 172

The previous capstone had 182 respondents. This one has twelve products, because that is what a tasting panel can get through before the palate stops cooperating. Small samples are not a lesser kind of data; they are a different problem, and this chapter is as much about what twelve items can support as about the coefficient itself.

The brief
Setting
Three trained judges independently scored the same twelve products on a 1-to-10 quality scale, blind to brand.
The question
Do the judges put the products in the same order?
Why it matters
The panel's verdict is about to decide which products the company carries. If the judges are not ordering products the same way, the verdict is an artifact of who happened to sit on the panel.
What we do
Measure Kendall's tau for each pair of judges, add Kendall's W for the panel as a whole, test against a permutation null because twelve products rule out large-sample approximations, and examine a tau of 0.32 that means nothing.
τ
Kendall's tau measures agreement by counting pairs. Take any two products and ask whether both judges put them in the same order. Tau is the excess of concordant over discordant pairs as a proportion of the pairs that can be compared. The -b variant corrects for ties.
⭐
The finding, up front

Judges A and B agree substantially on the order of the twelve products (τb = 0.74, p = 0.002). Judge C does not: τb = 0.32 against A, which sounds moderate and means nothing, because with twelve products chance alone produces a tau that large about one time in five.

1

The Panel, and the Right Question to Ask of It

Three trained judges scored the same products independently on a 1-to-10 quality scale, blind to the brand. Before the panel's verdict goes anywhere near a product decision, someone should ask whether the judges are measuring the same thing at all.

Note carefully what that question is not. It is not whether the judges gave similar scores. One judge may be systematically harsher than another, marking everything two points lower, and still rank every product identically. For a decision about which products to carry, that is agreement enough. The question is about order.

Data types, and why they close off the usual options

Each judge's score is ordinal: ordered, but with no guarantee that the step from 7 to 8 means the same as the step from 3 to 4. The unit of analysis is the product, and there are twelve. Ordinal measurement rules out the product-moment correlation on the same grounds as Capstone 12; a sample of twelve rules out leaning on any large-sample approximation. Both point to a rank method, and specifically to one that behaves well when n is small.

2

What the Judges Saw

The raw sheet held 16 rows. One was a duplicate submission, two were products a judge never tasted, and one carried an impossible score of 12 on a 10-point form. Twelve products survive with a complete set of three scores.

Scores are not the interesting object; ranks are. Converting each judge's scores to ranks and joining the same product across judges turns agreement into flat lines and disagreement into crossings.

A bump chart with three columns, one per judge, and twelve lines, one per product. Lines run roughly flat between Judge A and Judge B, indicating agreement. Between Judge B and Judge C several lines cross the full height of the chart. Iced Citrus runs from near the bottom under judges A and B to near the top under Judge C.
Each line is one product tracked across the three judges, with rank 1 at the top. Between A and B the lines run mostly flat. Move to Judge C and the picture scrambles. Iced Citrus is the clearest case: near the bottom for A and B, near the top for C. That is what disagreement looks like before any coefficient is computed.
3

What Tau Actually Counts

Most coefficients have to be explained by analogy. Tau can be explained by doing it. Take any two products and ask a single question of each judge: which one is better? If both judges answer the same way, the pair is concordant. If they answer differently, it is discordant. If either judge gave the two products the same score, the pair is tied and carries no information about agreement.

CONCORDANT DISCORDANT TIED Judge A Judge B Fig Kiln Fig Kiln Both rank Fig above Kiln. counts +1 Judge A Judge B Iced Dark Dark Iced They swap the order. counts −1 Judge A Judge B Amber Lav. Amber Lav. same score Judge A cannot separate them. set aside
Tau in one picture. Every pair of products falls into one of these three boxes. Add up the plus ones and minus ones, divide by the number of pairs that could be compared, and you have Kendall's tau. No other correlation coefficient has a definition this literal.

Twelve products make 66 pairs. Here is how they fell.

Pairs of products, Judge A against Judge BCountContributes
Concordant · both judges agree which is better46+1 each
Discordant · the judges disagree4−1 each
Tied by Judge A only8nothing
Tied by Judge B only6nothing
Tied by both judges2nothing
Total pairs66

Divide the excess of agreements over disagreements by all 66 pairs and you get tau-a = (46 − 4) / 66 = 0.636. That version penalizes the coefficient for the 16 tied pairs, treating them as though they were partial disagreements, which they are not. Tau-b removes tied pairs from the denominator separately for each judge, which raises the value to 0.737. On a 10-point scale over twelve products, ties are guaranteed, so tau-b is the version to report.

4

The Result

A vs B · τb
0.737
p = 0.002
A vs C · τb
0.317
p = 0.18, not significant
B vs C · τb
0.181
p = 0.44, not significant
Products
12
66 comparable pairs

Judges A and B agree well, and the agreement is far too strong to be chance. Judge C agrees with neither at a level this panel can detect. It is worth noting one more number: Spearman's rho for the same A-and-B data is 0.817, well above tau-b's 0.737.

Do not read rho and tau as two estimates of one quantity

They are built differently and live on different scales. Tau counts pair agreements; rho correlates rank numbers. For the same data tau typically lands well below rho, and neither confirms nor contradicts the other. A report should say which coefficient it is quoting and stay with it, because "the correlation was 0.82" and "the correlation was 0.74" describe the identical panel.

5

A Tau of 0.32 That Means Nothing

Judge C's 0.317 against Judge A reads like moderate agreement. In a sample of twelve it is indistinguishable from random ordering, and the cleanest way to show that is to make the null hypothesis literal: shuffle one judge's scores at random, compute tau, and repeat twenty thousand times. That is a picture of what agreement looks like when there is none.

A histogram of Kendall's tau values from twenty thousand random shuffles, centered on zero and spreading from about minus 0.7 to plus 0.7. A shaded band marks the middle 95 percent, reaching to about plus or minus 0.47. A red line at 0.32 for A versus C falls inside the band. A green line at 0.74 for A versus B falls far outside it.
Twenty thousand shuffles of the same twelve products. The shaded band holds the middle 95 percent of chance results, reaching to roughly plus or minus 0.47. Judge C's 0.32 sits comfortably inside it. Judge B's 0.74 sits far outside.
Kendall's tau-b, and what twelve products can resolve −1.0 0 +1.0 shaded: what chance alone produces 95% of the time B vs C 0.18 A vs C 0.32 both fall inside the band, so both are unreadable A vs B 0.74
The same result on a ruler. With twelve products the band of pure chance stretches most of the way to 0.5. Anything inside it is unreadable, however respectable the number looks quoted on its own. Small samples do not make effects disappear; they make moderate ones impossible to distinguish from noise.

Put concretely: chance produces a tau of 0.32 or larger in 19 percent of shuffles, and a tau of 0.74 or larger in 0.1 percent. That is the difference between the two verdicts, and it has nothing to do with how far apart the two coefficients look.

6

The Whole Panel at Once: Kendall's W

Tau compares two rankings. With a panel of three or more, the natural summary is Kendall's coefficient of concordance, W, which runs from 0 (no shared ordering at all) to 1 (every judge in perfect agreement).

Kendall's W
0.662
moderate concordance
Chi-square
21.85
df = 11
p-value
0.026
reject independent ordering

The panel as a whole shows moderate concordance, enough to reject the idea that all three judges are ordering products independently. But notice what a single panel-level number hides: the pairwise taus showed two judges in close agreement and a third who is not. Report W alone and the panel looks more unified than it is. Report both, and the reader sees the actual structure.

7

The Verdict, and the Question Statistics Cannot Answer

Judges A and B substantially agree on the order of the twelve products. Judge C does not agree with either at a level this panel can distinguish from random ordering. For the product decision that means the A-and-B consensus is usable, and Judge C's sheet should not simply be averaged in as though it carried equal signal.

The right next step is not statistical. Before discarding anyone, find out why Judge C differs. A judge trained on a different product category, or one who tasted in a different order, or one reading "quality" as commercial appeal rather than craft, produces exactly this pattern for a reason worth knowing. The coefficient tells you there is something to investigate. It does not tell you who is right.

8

Rank Agreement in Data Science & AI

The question "do two raters order these the same way?" turns up constantly once you know to look for it, and it is often the question standing between a model and its evaluation.

Where it appearsThe two rankings being compared
Inter-rater reliabilityTwo human annotators labeling the same items on an ordered scale.
Search and recommender evaluationThe system's ranking against human relevance judgments.
LLM-as-judge validationA model's graded scores against a human rater's, on the same responses.
Preference data for RLHFPairwise preferences between model outputs, which is tau's native format.
Feature importance stabilityThe ranking of features from one training run against another.
Practice note

Preference learning is built on exactly the comparison tau counts: a rater is shown two outputs and picks one. A dataset of such judgments is a list of concordant and discordant pairs, so tau is the natural measure of how well a reward model reproduces human ordering. The small-sample warning in this chapter transfers directly. An evaluation set of a dozen prompts cannot distinguish a model that mostly agrees with human raters from one that agrees by luck, no matter how confidently the resulting number is reported.

9

Estimate, and the Small Sample Speaks Again

The permutation test settled whether the agreement could be chance. It did not put a range on how much the judges agree, and with twelve products that range is the most honest thing this analysis can produce.

QuantityEstimate95% CI (bootstrap)Width
A vs B, τb+0.737+0.427 to +0.9550.53
A vs C, τb+0.317−0.280 to +0.8201.10
Kendall's W (panel)0.6620.310 to 0.9030.59
The intervals are enormous, and that is the finding

Judge A and B's agreement is somewhere between roughly 0.43 and 0.96. That still rules out "no agreement", which is why the test was significant, but it is a long way from pinning down how closely the two judges track each other. Judge C's interval is wider still and comfortably includes zero.

This is the shuffle test's lesson restated as estimation rather than as a decision. Twelve products can establish that two judges agree; they cannot establish by how much. A panel report quoting "τ = 0.74" without that interval invites a reader to compare it against some other panel's 0.68 and draw a conclusion neither sample could support.

🐍

The full project, step by step

The companion notebook cleans the panel sheet with a printed audit trail, draws the rank picture, then counts all 66 pairs by hand before calling a library so that tau's definition is visible rather than asserted. It computes tau-b for each pairing, runs the twenty-thousand-shuffle null distribution that puts a small sample in its place, and closes with Kendall's W across all three judges. Every number in this chapter comes from its output.

πŸ““ View Notebook (code & outputs) β–Ά Open in Colab ⬇ View / Download on GitHub
Read the reports & get the data

The dataset (capstone-judges-product-rankings.xlsx) holds the panel sheet with all three judges' scores, with a duplicate submission, two untasted products, and an out-of-range score left in so you can practice the cleaning. Two written reports accompany it: a plain-language brief for a product lead, and a technical report covering the tie correction, the permutation test, and the concordance coefficient.

πŸŽ“ Key Takeaways

  • βœ“Tau counts pairs: of 66 pairs of products, the judges agreed on 46 and disagreed on 4, and the remaining 16 involved a tie and carry no information.
  • βœ“Tau-b is the version to report when ties are inevitable, because tau-a treats tied pairs as though they were partial disagreements (0.636 against 0.737 here).
  • βœ“Rho and tau are not interchangeable: the same panel gives ρ = 0.82 and τb = 0.74. Say which one you are quoting.
  • βœ“Twelve items is a wide net for chance: the shuffle test puts the middle 95 percent of null results at roughly ±0.47, so Judge C's 0.32 is unreadable.
  • βœ“Kendall's W summarizes a whole panel (0.66 here), but report the pairwise taus alongside it or a split panel will look unified.
10

Quiz: Test Yourself

Eight questions on this capstone, from what tau counts to what a sample of twelve can support. Answer them, hit Check Answers, and keep refining until you score 100%. Your progress is saved.