BRAGA

03 Tools03-02

A/B sample size

How many visitors each arm needs before a lift of a given size can be seen, and whether that fits in eight weeks at the traffic available.

Two-proportion z-testPower 80 or 90
03-02 · A/B testing · sample sizeTwo-sided · α = 0.05 · equal arms
Preset

Inputs

Power

Limit: normal approximation for two proportions. Does not cover sequential peeking or more than two arms.

Testable. 39,473 visitors per arm reach a 10% lift in 40 days – run 6 full weeks.

Per arm
39,473
visitors
Total
78,946
two arms
Duration
40 d
6 full weeks · within the 8-week ceiling
Absolute MDE
0.40 pp
4.0% → 4.40%
Fig. 03-02 · Sample per arm against liftlog scale · lift 2–50%
1001k10k100k1M10M10%20%30%40%50%8-week ceiling at this traffic
Rule
n = (z₁₋α/₂ + z₁₋β)² · [p₁(1−p₁) + p₂(1−p₂)] / (p₂ − p₁)²
n = (1.960 + 0.842)² · [0.0400·0.9600 + 0.0440·0.9560] / 0.0040² = 39,473

Keyboard shortcuts

Single keys, ignored while typing in a field or with Cmd, Ctrl or Alt held.

0
Home
1 2 3 4
Work, Writing, Tools, About
j / k
Next / previous section on this page
n / p
Next / previous project or essay
u
Up one level
l
Deutsch
t
Light or dark theme
?
This list
Esc
Close