Module 9 · A/B Testing: Proving What Works · Lesson 31 of 51
Pitfalls, trust checks and the decision
Peeking, multiple comparisons, sample ratio mismatch, novelty effects, network effects and segment fishing, then writing a clear decision memo.
In this lesson · about 40 minutes
- Run a sample-ratio-mismatch check before trusting results
- Explain the peeking and multiple-comparisons problems and their fixes
- Write a short, honest decision memo
The pitfalls
| Pitfall | What goes wrong | Fix |
|---|---|---|
| Peeking | Checking daily and stopping at the first p < 0.05 pushes false positives far above 5%. | Fix the sample size in advance; or use sequential methods built for peeking. |
| Multiple comparisons | Test 20 metrics or segments and about one will be "significant" by luck. | One primary metric; Bonferroni (α ÷ number of tests) or false-discovery-rate corrections. |
| Sample ratio mismatch (SRM) | A 50/50 test arrives as 52/48: something broke (bots, a redirect bug), and results can't be trusted. | Chi-square test on group sizes before anything else. |
| Novelty and learning effects | Users click the shiny new thing for a week, then stop (or need time to learn it). | Run long enough; look at the trend over days. |
| Segment fishing | "It didn't work overall, but it won for Android users on Tuesdays." | Treat post-hoc segments as ideas for a new test, not results. |
| Interference | Groups affect each other (a shared queue, a two-sided marketplace). | Randomise by branch, region or time instead of by user. |
The decision memo
Five lines: what we tested, result with interval, guardrails, trust checks (SRM, duration), recommendation. Plain words, numbers rounded sensibly, no jargon a manager would need to look up.
Trust checks: SRM and the daily trend
Exercise
Catch a broken split
A different test reports sizes = {"A": 5210, "B": 4790} for a planned 50/50 split. Use stats.chisquare to set p_srm (rounded to 6 decimals), and trust to False if p_srm < 0.01, otherwise True.
Decision scenario
The product manager's request
You analysed the checkout-button test.
Overall, B lifted conversion from 8.8% to 11.7% (p < 0.001, SRM check passed, 14 days). Average order value was unchanged. The product manager asks you to "also show it worked for every device, age group and branch, so the slide looks really strong". Two of nine segments show no significant lift.
What do you recommend?
0 of 3 options explored. Try the others to see how each would play out.
Write the decision memo for the checkout-button test, in five lines.
Consider these questions and write down your thoughts. What you write stays on this device.
Flashcards
Module 9 flashcards
0 of 9 known
Say the answer out loud, flip the card, then be honest: cards you miss come back at the end.
Practice exam
Module 9 checkpoint
10 questions, 12 minutes.
- 10 questions · 12 minutes
- No feedback until you submit. Flag questions to come back to them.
- Aim for 85% or better before you move on. The real exam's 750 out of 900 is roughly 80–83%.
Exercises solved: 0 of 1
Written by Noviq Academy in its own words. Kettle & Crumb and all its data are made up for teaching; any resemblance to a real business is a coincidence. Python runs in your browser with Pyodide, so results can differ slightly from your own computer. Power BI, Tableau and other product names belong to their owners. Read-aloud uses your device's built-in voices.