| ISSUE 351/456 · COMPUTER SCIENCE |
~4 MIN |
FOUNDATION / EXPERIMENT DESIGN · READING DATE 2027-09-17 · SEPTEMBER 2027 — EVIDENCE, CLIMATE AND ENERGY
Why a tiny improvement needs a bigger experiment
START HERE
A website change might shorten a task by ten seconds or by only one second. Statistical power is a decision rule’s chance of flagging a specified real difference under stated data-collection assumptions. Smaller changes are harder to distinguish from ordinary variation, so their tests generally need more observations that do not depend on one another.
|
/ WHY NOW
“How many users do we need?” has no useful single answer without a target. An experiment able to notice a dramatic improvement can still miss the modest change your team actually hopes to make.
|
/ THE IDEA
A statistical test is a rule for deciding whether observed results depart enough from a specified no-change model to reject it. First specify an effect size worth detecting, expressed in meaningful units such as seconds. Then describe outcome variability and tolerated error risks: declaring change when there is none, or missing the particular real change used in planning. Here we compare one group’s average with a fixed reference, assuming independent observations with a normal, bell-shaped pattern and known standard deviation, a measure of spread. A two-sided test can flag either an increase or decrease. A 5% false-positive rule and 80% power give the approximate sample requirement below. Required count grows with the square of spread divided by effect size; this is planning, not a guarantee for each experiment.
THE FORMAL IDEA
n ≈ (1.96 + 0.84)²(σ/δ)² = 7.84(σ/δ)²
| n is the independent observation count, rounded upward; σ is the assumed standard deviation in seconds; δ is the real mean shift to detect, also in seconds. | | 1.96 sets the stated two-sided false-positive cutoff; 0.84 corresponds to the stated power target in this normal approximation. The ratio σ/δ has no units. |
|
RUN THE TINY EXAMPLE
Change one thing. Predict what happens.
Suppose σ = 10 seconds and the target shift δ = 5 seconds. n ≈ 7.84 × (10/5)² = 7.84 × 4 = 31.36: round up to 32. Change the target shift to 2.5 seconds, retaining spread and risk targets. n ≈ 7.84 × (10/2.5)² = 7.84 × 16 = 125.44: round up to 126.
|
Halving the change you want to distinguish requires roughly four times as much data. Rounding explains why the whole-number counts are not exactly in a four-to-one ratio. Less variation would help too: carefully measuring comparable tasks can improve power without pretending a larger effect exists.
/ SO WHAT?
Set this target before looking at the experiment’s outcome. Afterward, report the estimated effect and uncertainty rather than labelling a non-detection “no difference.” A wide interval may still contain both worthwhile improvement and harmful slowdown. Decide whether more evidence is useful based on that range and the consequences of the decision, not on the hope that a few more observations will cross an arbitrary line.
ONE CAVEAT |
| A two-group A/B comparison has a different sample-size calculation, and unknown variance, clustered users, unequal groups and repeated peeking change the design. The example is deliberately a one-sample case against a fixed reference, not an A/B calculator. |
KEEP THIS
At fixed variability and error targets, detecting half the effect generally requires about four times as many independent observations.
|
NEXT: How melting ice can invite more melting
|