Skip to content

Track T19

Experiments & A/B Tests

Design, power, peeking and decisions.

Unit 1Plan the test

· 6 lessons
  1. 1Your first A/B testFollow one simulated redesign test from hypothesis to decision, and see why the plan comes before the data.Introductory · 12 min
  2. 2Why randomization worksWatch chance balance the things you measured and the things you did not, and see what it can't protect you from.Introductory · 9 min
  3. 3One primary metric, several guardrailsDecide what counts as winning and what must not get worse, and analyze ratio metrics at the unit you randomized.Applied · 10 min
  4. 4How many users do you need?Turn a baseline rate, an effect you care about and a power target into a sample size and a duration.Applied · 11 min
  5. 5The smallest effect you can seeWhen traffic is fixed, solve for the minimum detectable effect, and decide whether the test is worth running.Applied · 9 min
  6. 6Tests that must not hurtPlan non-inferiority, equivalence and minimum-effect tests, and choose a margin you can defend.Applied · 11 min

Unit 2Run the test

· 5 lessons
  1. 7Sample ratio mismatchSpot a broken experiment from the counts alone, and learn why you check the split before you read any lift.Applied · 9 min
  2. 8Why peeking breaks the testWatch false positives pile up when you check a test as it runs, and see what can be done instead.Applied · 8 min
  3. 9Planned looks and alpha spendingCompare Pocock, O'Brien–Fleming and Wang–Tsiatis boundaries, and see what each one costs in sample size.Advanced · 12 min
  4. 10Decide after every observationFollow Wald's likelihood ratio walk between two boundaries, then see MaxSPRT for monitoring events.Advanced · 12 min
  5. 11Peek as often as you likeUse always-valid p-values for continuous monitoring, and weigh what they cost compared with planned looks.Advanced · 9 min

Unit 3Analyze and decide

· 3 lessons
  1. 12Shrink the noise with CUPEDUse pre-experiment behavior to explain away noise, and get the same power from fewer users.Advanced · 10 min
  2. 13Many arms and many metricsKeep false positives in check across several arms, and treat segment findings as leads rather than results.Applied · 9 min
  3. 14From a result to a decisionSee how the same data lead to different actions under significance, expected loss, ROPE and probability-to-beat rules.Advanced · 12 min