Eval statistics: error bars, paired tests, how many items you need

Reading: 25 min, plus 11 in closed details. Child of Topic: evaluation-and-llm-judges. Sources linked inline; data as of October 2026.

Numbers are published, with the source linked, or marked derived (arithmetic shown), real data (computed in this page from released or locally produced per-item results), illustrative, or unconfirmed.

The idea in one screen

An eval score is a mean over a sample of items, so it is an estimate with an error bar; two models are compared on the per-item differences of the same items (paired), counting items that share a source as one cluster, and a decision needs enough items that the change you care about falls outside that interval.

You need nothing beyond a first statistics course. The same tools on a classical classifier (a paired bootstrap on SST-2) are on Evaluation metrics.

New terms on this page
Standard error (SE)
the standard deviation of the score across re-draws of the items; a 95% interval is ±1.96 SE
Cluster
a group of items drawn together (one passage, one template, one conversation) whose scores move together
Paired difference
model B's score minus model A's on the same item; its mean and SE are what a comparison tests
Discordant items
items where exactly one of two pass/fail models is right; the only ones McNemar's test uses
Design effect
how much clustering multiplies the variance, 1 + (m − 1)ρ for clusters of m items with correlation ρ
Power, MDE
the chance a test detects a true change of a given size; the minimum detectable effect is the change detected with 80% power
Type-M error
how much a significant result from an underpowered test exaggerates the true effect
Familywise rate, FDR
chance of at least one false alarm across many tests; expected share of false alarms among those flagged
The page in one table: which tool answers which question
QuestionUseThe number to remember
How precise is one score? (1)Standard error √(p(1 − p)/n), or s/√n for any score; Wilson or Bayes intervals below a few hundred items70% on 200 items: ±6.4 points (95%) derived
Do items share a passage, template or conversation? (3)Clustered standard error, cluster on how items were drawnUp to 3.05 times the naive one on DROP (Miller 2024, Table 4)
Is model B better than model A? (4)Score both on the same items; test the per-item differences (McNemar, paired bootstrap, permutation)Pairing multiplies the variance by about 1 − r, with r the item-score correlation (0.3 to 0.7 between frontier models, Anthropic)
Is decoding random, or is there a judge? (2, 9)Several samples (or judgments) per item, averaged per item; next-token probabilities where possibleK = 4 samples halve the variance in Miller's uniform example; never lower the temperature to get there
Are you gating many slices? (6)Correct the significance level, or gate the aggregate and read slices as diagnostics20 slices at p < 0.05: 64% chance at least one fails by chance derived
How many items does the decision need? (7)Power analysis before the eval, minimum detectable effect afterA 2-point drop at 70%: about 8,200 items per model unpaired, about 2,000 paired at 10% disagreement derived

The parent topic's "Statistics in brief" (Reading tab) is the two-minute version; its worked example, a 2-point drop on a 200-item golden set at 70%, runs through sections 4 and 7. Production gates (golden sets, thresholds, promotion) are Production eval engineering's; wrong gold labels Human evaluation and annotation's.

Same items, same 3-point gap, three intervals: only the analysis changed

RACE-H, 1,311 questions on 400 passages, Qwen3-0.6B minus Qwen2.5-0.5B-Instruct, greedy answers, run for this page real data. The difference is −3.05 points every time; the 95% interval is ±3.77 unpaired (p = 0.11), ±3.03 paired (p = 0.049) and ±3.07 paired and clustered by passage (p = 0.051). Fig. 2 in section 4 builds it step by step.

1. A score is an estimate: standard errors and error bars

At 70% the standard error is 4.6 points on 100 items, 3.2 on 200, 1.4 on 1,000 derived. A "2-point regression" on a 100-item set is well inside the noise, and halving the error bar takes four times the items.

Fig. 1 shows what that error bar is, on this page's own run real data: draw the questions again, score again, and watch how far the score moves. The re-draws are a bootstrap (questions drawn with replacement from the 1,311, seeded, computed in the page), standing in for fresh questions from the same population.

  1. The test set as drawn. 1,311 RACE-H questions on 400 passages, one tile each, green where Qwen2.5-0.5B-Instruct's greedy answer is right: 789 right, a score of 60.2%. That score is one draw of questions from all the questions the exam could have asked.
  2. One re-draw of 100 questions. Pick 100 questions at random (with replacement) and score only those: this re-draw scores 58%, 2.2 points below the set's 60.2%, only because of which questions came up.
  3. 200 re-draws of 100. The scores pile up into a distribution around 60.2%. Its width is the error bar: the band is ±9.6 points, 1.96·√(p(1 − p)/n) at p = 60.2% and n = 100, and the cloud itself spans ±9.82 (1.96 times its standard deviation).
  4. 200 re-draws of 400. Four times the questions, half the width: ±4.8 by the formula, ±4.88 in the cloud.
  5. All 1,311. ±2.65 points (cloud ±2.56): the error bar the full set carries. Every interval on this page answers the same question: how far would the score move on another draw of items?

The formula

The frame is Evan Miller's "Adding Error Bars to Evals" (Anthropic, November 2024): the questions are a random draw from an unseen "super-population", and the Central Limit Theorem gives the standard error of the observed mean s̄ over n items:

SE = √( Var(s) / n )    and for 0/1 scores    SE = √( p(1 − p) / n )
Var(s)
sample variance of the item scores, (1/(n − 1))·Σ(si − s̄)² (Miller Eq. 1)
p
the observed pass rate (Eq. 2); a 95% interval is s̄ ± 1.96·SE (Eq. 3)
Bootstrap or formula, fractional scores, how to print it
  • Bootstrap or formula? For a plain mean the two agree; Miller regards bootstrapping as unnecessary "unless a complicated sampling scheme or estimator is being used" (an F1 over a set, a ratio, a clustered design). OpenAI's evals framework bootstraps; Inspect's stderr() uses the formula.
  • Fractional scores. The Bernoulli formula is only for 0/1 scores. Miller notes that the Llama 3 report applied it to F1-style scores too, which makes those intervals conservative (too wide), and applied it without clustering to reading-comprehension evals, which makes those too narrow.
  • Report it the way other sciences do (Miller's Tables 2 and 3): the number of questions beside each eval, the standard error in parentheses under the score, and for clustered evals the number of clusters.

The error bar shrinks only as 1/√n

95% CLT interval of a 70% score at each set size, p ± 1.96·√(p(1 − p)/n) derived: ±16.4 points at 30 items, ±9.0 at 100, ±6.4 at 200, ±4.0 at 500, ±2.8 at 1,000, ±1.3 at 5,000. Below a few hundred items use the intervals in the next figure instead.

Below a few hundred items: does a 95% interval cover 95% of the time?

A 95% interval promises that, over re-drawn sets of n items, 95% of the intervals contain the true rate. Below a few hundred items the CLT interval breaks that promise: at 30 of 30 it has zero width, near 0 or 1 it leaves [0, 1], and it covers less than 95% (Bowyer, Aitchison and Ivanova, "Don't Use the CLT in LLM Evals With Fewer Than a Few Hundred Datapoints", arXiv:2503.01747, ICML 2025). For pass/fail scores coverage can be computed exactly: sum the binomial probability of every count k whose interval contains the true rate θ.

Your own count: four intervals for k passed out of n

At k = n the CLT interval is [100%, 100%]: it claims certainty from 30 problems. Wilson, Clopper-Pearson and Bayes still leave room below. For unpaired scores, Topic: benchmarks, "Same model, many numbers" has a calculator with benchmark-size presets and Fisher's exact test.

Coverage here assumes independent items with one fixed pass rate each. With clusters or several samples per item, Bowyer et al. find that neither the CLT nor a clustered CLT interval reaches nominal coverage at small n in their clustered simulation, and recommend a Bayesian hierarchical model there (their Section 3.2).

RACE-H reported in Miller's format, and a check of his example tables

Checked: Miller's own example tables. Miller's Tables 1 to 3 are labelled fictional, and two cells do not follow from his formulas derived: "Dreadnought" scores 87.7% on HumanEval in Table 1 but 86.7% in Table 2, and the HumanEval standard errors printed in Table 2 (3.2 and 3.0 points) are larger than the Bernoulli values for 164 questions (2.9 and 2.7). The MATH and MGSM cells match (0.7 and 0.9). None of this touches his argument; recompute any table before reusing it.

Elsewhere: a simulator of re-running a benchmark of any size is in the Topic: benchmarks Reading tab ("What a number leaves out", Sampling); the item counts of the math sets (AIME's 30 problems, one worth 3.3 points) are on Math benchmarks.

The CLT interval under-covers near 0 and 1; Wilson stays near 95%

Predict, then set n to 15 (one AIME paper): how low does the CLT curve fall near a true rate of 5%? Then try 500.

Defaults reproduce Bowyer et al.'s Section 3.1 figure, "95% CLT-based intervals achieve a coverage of only 92.5%" at N = 100 (simulated), as 92.2% computed exactly here, independently.

The four intervals, and their average coverage and width at this n

Wilson inverts the score test and never leaves [0, 1] or collapses; Clopper-Pearson ("exact", from binomial tails) guarantees coverage and is wide; Bayes with a uniform prior takes the 2.5% and 97.5% quantiles of Beta(1 + k, 1 + n − k); CLT (Wald) is p̂ ± z·√(p̂(1 − p̂)/n).

2. Where the variance comes from: items, samples, and the thermostat

Miller's worked case: item difficulty uniform on [0, 1], one sample per item. Drawing K = 4 samples per item and averaging them per item halves the variance of the eval mean; K = 2 cuts it by a third, K = 6 by 5/9, and no K can cut more than 2/3, because the rest is the items themselves. The same split on this page's RACE-H run real data, four scorings of the same questions, is in the figure.

Miller splits each item's score into a mean and a random part, si = xi + εi: xi is what the model would average on item i if asked forever, εi this sample's luck. By the law of total variance:

Var(μ̂) = ( Var(x) + E[σi²] / K ) / n
Var(x)
how much items differ in difficulty for this model: a property of the item population, fixed once the eval is chosen (uniform case: 1/12)
E[σi²]
the average within-item variance: how much one item's score moves between samples; for 0/1 scores the mean of xi(1 − xi) (uniform case: 1/6)
K
samples per item, averaged per item before averaging over items (Miller §3.1); with the uniform values the variance is (1 + 2/K)/3 of the single-sample one

Only the second part can be bought down without new items. Two other routes:

  • Next-token probabilities remove ε altogether when the answer is a single token and there is no chain of thought: score item i by the probability of the right token, pi. In the uniform case that is the full 2/3 reduction. Anthropic's post said it knew of no open-source framework implementing it (November 2024).
  • "Don't touch the thermostat!" Lowering the temperature to 0 also removes ε, but rounds each item to 0 or 1: the variance moves into Var(x) (Miller's uniform x becomes a coin, 1/12 to 1/4) and the mean can shift (his second example: 2/3 to 3/4, with Var(x) 1/27 to 3/16). Change the temperature only to study the model at that temperature.

Noise the item standard error does not see, and that more items never shrink: training seeds (Madaan et al.: "generally ... well below the 95% CI" of the items), checkpoints and serving hardware; decoding seeds move pass@1 by 5 to 15 points on AIME'24 and AMC'23 (Hochlehnert et al.). Prompt, harness and grader change what is measured (Eval harnesses, section 3): a comparison is paired only if both sides used the same setup.

Seeds, checkpoints and hardware: the published numbers
  • Training seed. Madaan et al. trained ten 7B models identical except for the initialisation seed (arXiv:2406.10229, Meta, 2024). Their Table 1 sets the spread across seeds beside the 95% item interval of one model (table below): two models that differ only in a data choice are compared at the seed scale, which needs more than the item interval to see.
  • Checkpoint to checkpoint. Heineman et al. ("Signal and Noise", arXiv:2508.13144, Ai2, 2025) see a 1.7-point range on ARC Challenge across the final 30 checkpoints of one 1B run, define noise as the relative standard deviation of the final checkpoints, and find that a benchmark's signal-to-noise ratio predicts whether small-scale rankings hold at scale (R = 0.791).
  • Decoding seeds and hardware. Hochlehnert et al. ("A Sober Look at Progress in Language Model Reasoning", arXiv:2504.07086) report pass@1 standard deviations of 5 to 15 points across 20 seeds on AIME'24 and AMC'23, and the same model at 7.3% ± 3.8 on one cluster and 11.3% ± 3.6 on another with identical containers.

Madaan et al. Table 1, selected rows (COPA, HumanEval, ARC-C, GSM8k, PIQA, SIQA, Hellaswag, MMLU): seed mean and standard deviation across the ten final 7B models, and their "95% CI", the average of 210 analytic half-widths 1.96·√(S(1 − S)/N) over every checkpoint. The last column recomputes that formula at the final seed mean derived; it differs where early checkpoints scored lower (HumanEval).

More samples per question shrink only the sampling part of the error bar

The K curve is Miller's formula fed with the measured Var(x) and E[σ²]; the dots are what seeded sampling actually gives. On Qwen2.5-0.5B-Instruct, greedy accuracy is 60.2% and the expected accuracy of one sampled answer 55.2% real data: same questions, same model, a 5-point gap that comes only from the temperature.

3. Clustered errors: when items are not independent draws

Many evals draw groups: several questions about one passage (DROP, QuAC, RACE, SQuAD), one question translated into many languages (MGSM), variants of one template (GSM-Symbolic), tasks from a few repositories, turns of one conversation, chunks of one document. Items in a group rise and fall together, so n of them carry less information than n independent items. How much less is a property of the eval and the models, and ranges from nothing to a factor of three (figure).

Miller's clustered standard error (Eq. 4, from the econometrics of Abadie et al.) adds the within-cluster cross terms:

SEclustered² = SECLT² + (1/n²) Σc Σi Σj≠i (si,c − s̄)(sj,c − s̄)
c
a cluster; the triple sum runs over pairs of different items in the same cluster. Equivalently SEclustered = √(Σc (Σi∈c(si,c − s̄))²) / n

It slides between two extremes: items in a cluster uncorrelated, it equals the plain standard error; always agreeing, each cluster counts as one item. For planning, the textbook shortcut is the design effect 1 + (m − 1)ρ for clusters of m items with intra-cluster correlation ρ (variance multiplier; the calculator has it).

  • Cluster on how the items were drawn (passage, template, conversation, source document), not on any grouping you can find; items sampled one by one are not clustered.
  • The opposite mistake: counting repeated runs as items, as MathArena's "±" does (all 123 rows reproduced on Math benchmarks, "Error bars on 30 problems"). Miller: "computing a pooled standard error across all KN answers will be inconsistent". Four runs of 30 problems are 30 items with 4 samples each.
  • Small n and clusters together are hard: Bowyer et al. fit a Beta-Binomial hierarchical model instead (their Section 3.2, with code).
The ratios as a table, and which tools compute clustered errors

Tools. Inspect's stderr(cluster="...") implements Eq. 4 with a finite-cluster factor C/(C − 1) that the paper does not have (std.py, read 4 October 2026); for 400 clusters it widens the standard error by about 0.1%. lm-evaluation-harness reports a closed-form standard error of the mean and bootstraps a few metrics (metrics.py); we found no clustering option there.

How much wider the honest interval is than the naive one

Ratio of the clustered (or problem-level) standard error to the naive one; bars blue for published, purple for derived, green for this page's real data. Published: Miller's Table 4 on Anthropic models (DROP 3.05, MGSM 1.88, RACE-H 1.10). Math benchmarks page derived: MathArena's "±" counts 4 runs of 30 AIME problems as 120 independent answers; clustered by problem it is ±10.75 instead of ±6.92 for o1 (medium) on AIME 2025, and a median 1.7 times the published interval over the four-run rows. This page real data: RACE-H on two small open models, 0.96 and 1.02; MT-Bench turns clustered by question, a median 1.10 times the paired SE across 561 model pairs (0.90 to 1.26).

4. Paired comparisons: why scoring both models on the same items shrinks the interval

On the parent topic's example (70% on 200 items, a 2-point drop, 10% of items discordant) the 95% interval on the difference is ±9.0 points treating the two scores as independent and ±4.4 paired item by item: same labels, half the error bar. Both models drew the same items, so much of each score's error is the same luck, and the per-item difference cancels it.

Fig. 2 runs this on the RACE-H comparison of the hero real data, and re-draws it three ways (200 seeded bootstrap re-draws per analysis, computed in the page); the bands are the formulas below, ±1.96 SE.

  1. Two models, the same questions. Each of the 1,311 questions is a domino: Qwen2.5-0.5B-Instruct (model A) on the left half, Qwen3-0.6B (model B) on the right, green where right. A gets 789 right (60.2%), B 749 (57.1%): B − A = −3.05 points.
  2. Only the disagreements carry the difference. On 563 questions both are right and on 336 both are wrong: those cancel in B − A. What remains are 412 discordant questions, 226 right only for A and 186 only for B, and (186 − 226)/1,311 is the whole −3.05.
  3. Before: each model's questions drawn separately. Treat the two scores as if they came from different items, SE = √(SEA² + SEB²): every question's difficulty counts as noise twice, once per model. The band is ±3.77 (cloud ±3.65) and includes zero (p = 0.11).
  4. After: the questions drawn once for both. Score both models on the same draw and a question that is hard for both moves both scores together and cancels. The item scores correlate at r = 0.35, so the band shrinks to ±3.03 (cloud ±2.97), 0.80 of the unpaired one, and excludes zero (p = 0.049).
  5. Then count the clusters: whole passages drawn. Questions on one passage move together, so the unit of re-drawing is the passage, 400 of them. The band widens a little, to ±3.07 (cloud ±3.19), and just includes zero again (p = 0.051): the interval to report. Same questions, same models; only the analysis changed.

The same three analyses on any MT-Bench pair (judge grades, clustered by question) are in the Interval lab.

The formula (Miller §4.2), with the same names as the figure:

SEpaired² = SEA² + SEB² − 2·r·SEA·SEB    =    Var(sA,i − sB,i) / n
r
the correlation between the two models' item scores: how much they agree on which items are hard; r = 0 gives the unpaired formula, SEA−B = √(SEA² + SEB²)
0/1 scores
Var of the difference is d − Δ², with d the share of items where exactly one model passes: only the discordant items carry information about the difference

With equal variances the paired variance is (1 − r) times the unpaired one, and the items needed shrink by 1/(1 − r). Miller's uniform example with r = 0.5 cuts the variance by a third (1/6 to 1/9); Anthropic reports correlations "between 0.3 and 0.7" between frontier models on popular evals, which is 1.4 to 3.3 times fewer items derived. On this page's real data the factor is 1.55 on RACE-H (r = 0.35) and 2.27 on the MT-Bench pair (r = 0.56); across all 561 MT-Bench model pairs the paired standard error is a median 0.66 of the unpaired one (0.41 to 0.91) real data.

  • Pairing is free: a choice of analysis once both models ran on the same items, no new labels. A score compared with last month's dashboard number, or with a rival's number from a different harness, cannot be paired at all.
  • Pairing and clustering are separate corrections, each wrong in its own direction if left out; report the paired, clustered one (Miller Eq. 8).
  • A paired test applied to a retrieval comparison: BM25 against a dense retriever on 300 SciFact queries, nDCG@10 0.676 against 0.645, a gap that is 68 wins against 70 losses, is on RAG and retrieval evaluation ("Comparing two RAG systems fairly").
Correction to the old Production page: "typical correlations cut required n by 3-10x"
No source was given and Miller does not state it unconfirmed. The factor is 1/(1 − r): 3 to 10 times needs r between 0.67 and 0.9. The only published range we found, Anthropic's 0.3 to 0.7 for frontier models, gives 1.4 to 3.3 times; the measured factors above are 1.55 and 2.27. How much pairing buys has to be measured, not assumed.

5. Which test: McNemar, paired t, bootstrap, permutation

On the RACE-H comparison, 226 questions are right only for model A and 186 only for model B; McNemar's exact test on those 412 discordant questions gives p = 0.055, the paired z test 0.049, the clustered one 0.051, the (wrong) unpaired one 0.11 real data. Three tests sit on either side of the 5% line, which is the argument for fixing the test, the clustering and the threshold before looking. A confidence interval that excludes zero and a two-sided test at 5% are the same decision; the tests differ in what they assume about the per-item differences. In short: pass/fail on the same items, McNemar; any mean, the paired t (z) test with the clustered SE; a metric that is not a mean, the paired bootstrap; tens of items, a permutation test or a Bayesian interval; different items, Fisher's exact test, much weaker. The tests themselves, outside evaluation (why only the discordant examples count in McNemar's, a permutation test from scratch), are derived on Statistics for ML, section 8.

The tests compared: what each assumes and when to use it
TestUse it forNotes
McNemarpass/fail, two models, same itemsOnly discordant items count: with b items only A passes and c only B passes, under "no difference" b is Binomial(b + c, ½). Exact binomial when b + c is small, else χ² = (|b − c| − 1)²/(b + c) (Dietterich 1998; Dror et al. 2018).
Paired t (or z)any score averaged over items, same itemsThe paired standard error as a test; use the clustered SE when items cluster.
Paired bootstrapany metric, including ones that are not means (F1 over the set, a ratio, a pass@k curve)Resample items (or whole clusters) with replacement, recompute the difference, read the 2.5% and 97.5% points (Koehn 2004; Miller Appendix C).
Permutation (sign-flip)small sets, no distributional assumptionUnder "no difference" each item's difference is as likely +d as −d: flip signs (of cluster sums, if clustered) and count totals as large as observed.
Wilcoxon signed-rankordinal or skewed scores (Likert, 1 to 10 grades)evalstats' default for one comparison (Ian Arawjo, updated August 2026); it defaults to Wilson for 0/1 means.
Bayesiantens of itemsBeta-Bernoulli posterior of the difference; holds its coverage where CLT paired intervals do not (Bowyer et al.) and answers "what is the probability B is better".
Fisher's exact / two-sample zscores on different itemsThe unpaired fallback, much weaker (Topic: benchmarks, "Same model, many numbers").
Every test on the two real comparisons

Bootstrap and permutation seeded, 2,000 draws; the Interval lab runs them on any pair and subset real data. On the MT-Bench pair (claude-instant-v1 minus claude-v1, −0.03 grade points) every test agrees there is no detectable difference overall.

6. Many comparisons and many-slice gates

Each test at α = 0.05 fires falsely one time in twenty when nothing changed. A gate that checks m slices independently fails by chance with probability 1 − (1 − α)m: 64% for 20 slices derived, two times in three. The same holds for a leaderboard that compares every pair of models, a prompt search over many variants, or a report that bolds the best of many numbers.

  • Familywise corrections keep the chance of any false alarm at α: Bonferroni (simple, conservative), Holm (step-down, never worse), Šidák and Romano-Wolf (evalstats' defaults at n ≥ 30, Shaffer's procedure below 30).
  • False discovery rate (Benjamini-Hochberg) keeps the expected share of false alarms among the flagged slices at α: the right choice when slices are diagnostics that send a person to look, not automatic blocks.
  • Hierarchical gating: gate the aggregate, read slices as diagnostics, gate a slice only when its own minimum detectable effect is one you care about. The aggregate hides slice regressions: of 1,122 ordered MT-Bench model swaps, 626 pass an aggregate gate at 0.25 points and 67 of those fail a slice (Production eval engineering, Gate designer).
  • Escalate, never re-run until green: re-running a stochastic eval until it passes is a multiple comparison with unknown m; send borderline results to more samples or review, K fixed in advance.
  • Fix the weighting and the confirmation set before the run: on 8 KernelBench tasks with one to three Claude Code sessions each, averaging per task and then over tasks gave a 23-point gap between two prompts, and pooling every session gave 15 points from the same data. Those 8 tasks had been screened for room to move, and on a larger held-out rerun the drop shrank from 25% to 7%, an interval of [−25%, +11%] that includes zero (Does task framing change how Claude Code works?).

The chance of a false alarm grows with every slice you gate

Familywise rate assumes independent slices (correlated slices fire together, so it is an upper bound on the chance of at least one false alarm and a lower bound on nothing). Bonferroni tests each slice at α/m; Šidák at 1 − (1 − α)1/m. The cost: the items each slice needs grow by ((zα/2m + zβ)/(zα/2 + zβ))² at 80% power derived.

7. Power and the minimum detectable effect

Back to the parent topic's gate: detecting a true 2-point drop at 70% with 80% power takes about 8,242 items per model unpaired, but 1,955 paired when the two models disagree on 10% of items. The 200-item gate has about 14% power for that drop paired and 6% unpaired derived; it can see a drop of about 6 points paired and 13 unpaired, not 2. That is acceptable as long as the gate states it.

Miller's §5 gives the general formula for the independent items a paired comparison needs, and inverts it into the smallest effect an eval of fixed size can see:

n = (zα/2 + zβ)² · (ω² + σ²A/KA + σ²B/KB) / δ²
MDE = (zα/2 + zβ) · √( (ω² + σ²A/KA + σ²B/KB) / n )
ω²
variance of the per-item difference of the two models' true scores, Var(xA) + Var(xB) − 2Cov(xA, xB); for 0/1 scores d − Δ², the σ² of the chart
σ²/K
each model's within-item variance over its K samples
zα/2 + zβ
1.96 + 0.84 = 2.80 at α = 0.05 two-sided and 80% power

Miller's worked numbers, all reproduced by the Sample-size calculator: with ω² = 1/9 and no sampling noise, detecting 3 points takes about 969 questions, hence his advice that new evals contain at least 1,000; with σ² = 1/6 per model and 198 questions, going from K = 1 to K = 10 samples per question lowers the MDE from 13.2 to 7.5 points. The rule: write each gate's minimum detectable effect next to its threshold, decide n before the run from the effect that matters, and buy sensitivity with pairing and resampling before buying more labels.

Near the ceiling every point costs more. Bowman and Dahl's example: going from 98% to 98.1% removes the same share of the remaining error as going from 80% to 81%, yet with the unpaired formula above (α = 0.05, 80% power) it needs about 300,000 items per model against about 24,600, 12.2 times as many derived (Bowman and Dahl 2021). Without the power factor (2.80² = 7.85) the same ratio appears as about 38,200 against 3,100: the items at which the standard error of the difference merely equals the gap.

Underpowered experiments also exaggerate. Card et al. ("With Little Power Comes Great Responsibility", EMNLP 2020): 500 items, two models agreeing on 90% of them, a true 2-point gain. McNemar's power is about 0.25, and the runs that do come out significant overstate the gain by about 1.9 times on average (Gelman and Carlin's Type-M error); at 2,000 items, nearly 80% and 1.1. The calculator reproduces both by exact summation, independently: 25.0% and 1.89; 79.1% and 1.13 derived. On GLUE's three smallest test sets the typical claimed improvement was below the minimum detectable effect (block below).

Corrections to the old Production page
"Detecting a 2-point drop near p=0.7 needs roughly n=3500 paired-free": its own rule gives 8,232 (8,242 with exact quantiles); no variant reaches 3,500, and at 3,500 items an unpaired comparison detects about 3.1 points. "In practice a 5-point true regression is detected with high power at n=300": the exact McNemar test gives about 56% power, and 80% needs about 500 items. Arithmetic in the block below.
The corrections worked through, and Card et al.'s GLUE table

The 3,500 figure. The page's own rule of thumb, MDE ≈ 2.8·√(2p(1 − p)/n), gives n = 2.8² × 2 × 0.21 / 0.02² = 8,232 items per configuration derived, and exact quantiles give 8,242 (the parent topic's figure). One-sided (2.49) gives about 6,500, dropping the factor 2 about 4,100.

The n = 300 example. The champion passes 78% of 300 items, the challenger regresses 5 points, and the two disagree on about 15% of items. The expected split of the 45 discordant items is 30 against 15, McNemar's z is 15/√45 = 2.24, and power is Φ(2.24 − 1.96) = 61% by the normal approximation; the exact McNemar test gives . 80% power needs about 2.8² × 0.15 / 0.05² = 470 items (normal approximation), with the exact test derived. The rest of the example holds: the unpaired standard error of the difference is √(2 × 0.78 × 0.22 / 300) = 3.4 points, so a 5-point drop is 1.5 standard errors, and the unpaired design needs about 16 × 0.17 / 0.05² ≈ 1,100 items. Pairing turns a hopeless gate into a borderline one at no labelling cost; it does not make 300 items enough. The "15% disagreement, typical for a same-tier swap" is unsourced unconfirmed: measure it on your own pair (the two RACE-H models here disagree on 31.4% of questions real data).

GLUE task (Card et al. Table 2)Test itemsEst. MDE at 80% powerMean claimed improvement
WNLI1475.261.72
MRPC1,7251.620.63
SST-21,8211.020.57
QNLI5,4630.551.31
SQuAD 2.08,8620.562.23

Points of accuracy, against the leaderboard best of 6 May 2020; MDE from their regression of agreement on accuracy. Their machine-translation estimate: 2,000-sentence test sets have about 75% power for a 1 BLEU point difference.

Pairing moves the 80% line from thousands of items to hundreds

Predict before dragging: if the two models disagree on 20% of items instead of 10%, how many paired items does the 2-point drop need? (Answer under the chart.)

Power of a two-sided test at α = 0.05 to detect a true 2-point drop from 70%, against items per model (log scale); normal approximation, power = Φ(Δ√n/σ − zα/2), with σ² = d − Δ² paired and 2p(1 − p) unpaired derived. Defaults reproduce the parent topic's 1,955 and 8,242 by construction (same formula). At d = 20% the paired line needs about 3,916 items: the variance of the difference is d − Δ², so the items needed scale almost linearly with the disagreement.

8. Repeated sampling and pass@k

With sampled decoding, run each item K times, average per item, then compute the standard error over items: Miller's §3.1, and what Inspect does when a task sets epochs. Whether more samples are worth it depends on the split between item variance and within-item variance: once E[σ²]/K is small next to Var(x), more samples barely help. The split differs by model and benchmark, so measure it. On MathArena's released answers (every model answered every problem 4 times) real data, the figure splits the two per model and contest.

  • pass@k (any of k samples right): estimate it without bias from n ≥ k samples with c correct as 1 − C(n − c, k)/C(n, k) per problem, averaged over problems (Chen et al. 2021, Eq. 1); exactly k samples is unbiased but noisier, 1 − (1 − p̂)k from a pooled p̂ is biased. Its standard error is still over problems: samples do not add problems.
  • pass^k (all k right), the reliability measure of agent benchmarks, is owned by Agentic benchmarks; the same rule applies.
  • Seeds are samples too. Hochlehnert et al.'s 5 to 15 point spread across seeds is this within-item variance seen from outside; they recommend many seeds on small benchmarks, reporting the mean and its spread.
An interval for pass@k
Bowyer et al. note that pass@k has no obvious CLT interval and sketch a hierarchical Bayesian model for it (their Appendix D). A paired bootstrap over problems, recomputing the unbiased estimator in each resample, is the practical default (section 5).

Run-to-run luck against problem difficulty, one model at a time

9. Judge noise is a variance component

On MT-Bench's released expert votes, disagreement between expert judges on the same item is a median 62% of the variance of a single vote across 15 model pairs real data. For a preference eval graded once per item, most of the noise is the grader, not the item. The split per pair (several judges voted on the same question, turn and model pair, so a one-way random-effects split separates them; vote scored 1 for a win of the first model, ½ tie, 0 loss) is in the figure.

A grade adds its own terms: si = xi + εmodel + εjudge + bjudge. The noise εjudge behaves like sampling noise: it sits inside σ² in the power formula, and J independent judgments per item divide it by J, so a second judgment can be worth as much as many more items. The bias bjudge (first position, longer answer) moves every grade the same way and never averages away: a position-biased judge gives a precise wrong answer. Bias is LLM-as-judge's subject (and its Judge bias lab tab).

  • LLM judges are noisy too, even at temperature 0 (serving nondeterminism, parse failures, prompt drift). A grade that fails to parse is missing data, not a score: averaging one failed grade in as −1 is the most likely reason LMSYS's leaderboard prints 7.85 for Claude-Instant-1 where the valid grades average 7.906 (Production eval engineering). Count failures as their own metric; drop the item from both sides.
  • Agreement is not reliability. Self-consistency of a judge (test-retest) can be high while it is systematically wrong. Judge agreement statistics (Cohen's kappa and its relatives) and calibration against people are on LLM-as-judge; agreement between human annotators is on Human evaluation and annotation.

How much of a vote's variance is the judge

10. Ranking uncertainty: a leaderboard is many comparisons

MT-Bench at 80 questions: palm-2-chat-bison-001 is ranked 13th of 34, but resampling the questions puts it anywhere from 7th to 18th; the median model's plausible ranks span 6 places real data. Only the top (gpt-4, rank 1 in every resample) and the far ends are settled; the middle of the table is a tie at this size.

  • Adjacent models whose intervals overlap may still be separable with a paired test on the same items (section 4); a rank range is the conservative reading.
  • Ranking every pair is a multiple comparison (section 6): 34 models make 561 pairs, and at α = 0.05 about 28 of them would look "significant" by chance if no model differed derived.
  • Two checks before reading any order: is the spread across all arms wider than one shared rate would give (a chi-square test of homogeneity), and does the order repeat at a second setting? In Dan Luu's 30 prompt variants for a coding agent, 80 runs each, the 30 xhigh-effort pass rates were as alike as 30 draws of one 77.5% coin (chi-square 22.6 on 29 degrees of freedom, p = 0.80), and an arm's medium-effort score did not predict its xhigh score (correlation −0.03), so the per-variant ranking is noise (How well do agents use test/verification techniques?).
  • Arena leaderboards fit ratings from pairwise votes and publish bootstrap intervals on them; how those intervals and rank spreads are computed (Bradley-Terry, bootstrap, style control) is owned by Human preference and arenas, whose Fig. 4 ("How sure is a rating?") animates the same bootstrap as piles of refitted ratings and the rank spreads they imply.

Close scores, wide ranks: the middle of the table is a tie

LMSYS's released GPT-4 grades (1 to 10) for 34 models, 80 questions of two turns; score = mean of a model's valid grades. Bars: 95% interval of the score; right column: the 2.5% to 97.5% range of the model's rank, both from 2,000 bootstrap resamples of the 80 questions with both turns kept together (seed 0, src/mk_ranks.py) real data. These are per-model ranges, not simultaneous ones: read them as "this model could plausibly be here", not as a ranking of every pair.

11. Reporting standard

A review of 445 LLM benchmark papers by 29 reviewers found that 16.0% "used uncertainty estimates or statistical tests to compare the results" (Bean et al., "Measuring what Matters", arXiv:2511.04703, NeurIPS 2025 Datasets and Benchmarks). Their checklist asks for the sample size with a power justification and uncertainty for every primary score. Merged with Miller's recommendations, a result is reportable when it carries:

  1. the number of items, the number of clusters and what a cluster is;
  2. each score with its standard error in parentheses (clustered where items cluster), Wilson or Bayesian intervals below a few hundred items;
  3. for comparisons: the paired difference, its standard error and interval, and the correlation of item scores (Miller's Table 5);
  4. samples per item K, temperature, seeds, and how pass@k or the mean over samples was computed;
  5. the test used and how many comparisons were made, with the correction;
  6. the judge (model, prompt version, J judgments per item) and its parse-failure count;
  7. the minimum detectable effect, or the power for the effect claimed;
  8. the harness and its version, so the comparison can be paired by someone else.
Which tools compute what (checked 4 October 2026), and who prints error bars
ToolWhat it computes
Inspect (UK AISI)stderr() CLT standard error, with cluster=; bootstrap_stderr(); ci() and ci_wilson() intervals; epochs for K samples per item reduced per item before the metric
lm-evaluation-harnessClosed-form standard error of the mean per task, bootstrap for some metrics (bootstrap_iters), pooled standard errors for groups; no clustering or paired comparison found
evalstats (Ian Arawjo, statsforevals.com)Picks a method from the data: Wilson for 0/1 means, Bonett-Price for paired 0/1 differences, Wilcoxon for one comparison, Šidák or Romano-Wolf for many
bayes_evals (Bowyer et al.)Beta-Bernoulli and hierarchical intervals for small, clustered or paired evals

Lab reports are starting to print error bars: Miller singles out the Llama 3 report as an early one; Anthropic's model cards quote standard errors per trial and per task (see Topic: benchmarks, "Same model, many numbers"); arena leaderboards publish bootstrap intervals on ratings (Human preference and arenas).

A fitted summary carries its model's assumptions: METR's time horizon
A number produced by a model fit carries the fit's assumptions. METR's time horizon assumes a task's difficulty for AI is linear in log human time; re-fitting the same 228 tasks and 26 AIs with splines and item-response theory finds the conversion "nearly flat in a region from 2--30 min", so a jump from 3 to 30 minutes is much easier than one from 30 minutes to 5 hours, and the re-fit scores better under cross-validated proper scoring rules (Nguyen and Fithian, arXiv:2610.12466). Check the diagnostic plots before quoting a doubling time; the depth is on Agentic benchmarks.