Chapter 6 · 6 levels
Boss: the promo test write-up
Analyse a real A/B test end to end: check the split, measure conversion and lift, put a confidence interval and a p-value on it, resist segment fishing, and write the verdict.
StartMarketing ran a test. For the last two months of 2025, half of the visitors to Harbor & Pine’s site saw a banner promising free shipping, and half did not. Now Jordan Reyes, Head of Marketing, wants to know whether the banner works, and the answer will decide whether it goes on the site for good.
This chapter is the job from start to finish, the way a senior analyst does it. First you check that the split itself is healthy, because a broken split makes every later number meaningless. Then you measure conversion in each arm and the lift, put a confidence interval and a p-value on the difference, and look at what happens when someone starts slicing the results by device until something looks exciting.
The boss is a second test, run in the spring, that you analyse alone and finish with a verdict and a sentence on what the test could and could not have detected. That last part is what separates a write-up people can act on from a table of numbers.
Every code level gives you test: the sessions inside the test window, with an arm column
("A" = no banner, "B" = banner). Sessions with an even session_id saw the banner.
Levels
- Check the split before the result
from Jordan Reyes, Head of Marketing
ab test, sample ratio mismatch, chi square, data quality
- Conversion per arm and the lift
from Jordan Reyes, Head of Marketing
ab test, conversion rate, lift, relative change
- Is the lift real?
from Jordan Reyes, Head of Marketing
confidence interval, p value, z test, two proportion test
- The tablet result
from Jordan Reyes, Head of Marketing
multiple comparisons, segment analysis, peeking, false positive
- Write the conclusion
from Jordan Reyes, Head of Marketing
conclusions, reporting, ab testing, data storytelling
- Boss: write up the spring test
from Jordan Reyes, Head of Marketing
ab test, confidence interval, p value, minimum detectable effect, write up