Checked 2026-11-09. Link and original summary only. Dataset/content redistribution has not been cleared.
02 / Evaluation workbench
Give the rate some context.
A 95% Wilson interval for independent binary trials. Keep sampling uncertainty visible, even when all your cases pass.
Your binary results
Count successes.
The starting 80 / 100 is a synthetic worked example. Replace it with your own independent trial counts.
Whole counts only; 0 ≤ k ≤ n and n > 0.
95% Wilson interval
Observed accuracy · 80 of 100
Interval width: 15.55 percentage points
Numeric interval values
| Counts | Accuracy | Interval | Width (points) |
|---|---|---|---|
| Your counts 80 / 100 | 80.00% | 71.12%–86.66% | 15.55 |
Synthetic illustration / no model results
Same rate. Different sample size.
This illustration rounds successes to a whole count at each sample size. It does not predict future results or add evidence to your evaluation.
Numeric interval values
| Counts | Accuracy | Interval | Width (points) |
|---|---|---|---|
| n = 20 16 / 20 | 80.00% | 58.40%–91.93% | 33.54 |
| n = 100 80 / 100 | 80.00% | 71.12%–86.66% | 15.55 |
| n = 500 400 / 500 | 80.00% | 76.27%–83.27% | 7.00 |
| n = 2000 1600 / 2000 | 80.00% | 78.19%–81.69% | 3.50 |
Inspect the formula
For p = k / n, z = 1.959963984540054, and d = 1 + z² / n:
center = (p + z² / (2n)) / d halfWidth = z × √(p(1−p)/n + z²/(4n²)) / d interval = [max(0, center−halfWidth), min(1, center+halfWidth)]
Calculation uses unrounded values. Display precision increases for narrow intervals; very small nonzero values use scientific notation. Near-perfect rates are labeled with a bound instead of rounding to an exact 100%. Endpoints are exactly 0 at k = 0 and 1 at k = n.