A test ran at 10% treatment on Friday and was ramped to 50% for the weekend. Treatment converts better within each period but worse when the data are pooled (table). What explains this, and what should you report?
| Period | Split (C / T) | Control users | Control conv. | Treatment users | Treatment conv. |
|---|---|---|---|---|---|
| Friday (ramp) | 90% / 10% | 9,000 | 10.0% | 1,000 | 11.0% |
| Sat–Sun | 50% / 50% | 5,000 | 4.0% | 5,000 | 4.4% |
| Pooled | – | 14,000 | 7.9% | 6,000 | 5.5% |
Show the answer and explanation
Correct answer: D, Simpson's paradox: treatment is over-represented in the low-converting weekend, so pooling confounds arm with period; compare within periods or use only the stable 50/50 period.
Explanation A/B Testing
Simpson's paradox occurs when a comparison reverses after aggregation because a third variable is related both to group membership and to the outcome. Here the third variable is the period:
- Friday converts at about 10%, the weekend at about 4%.
- Because of the ramp, 64% of control users (9,000 of 14,000) come from high-converting Friday, while 83% of treatment users (5,000 of 6,000) come from the low-converting weekend.
- Pooled control = 1,100 / 14,000 ≈ 7.9%, pooled treatment = 330 / 6,000 = 5.5%, even though treatment wins by about 10% relative in each period.
Correct analyses:
- Stratify by period (or by allocation phase) and combine the per-period effects with weights, e.g. a Mantel–Haenszel style estimate or a regression with period fixed effects.
- Or simply analyse the stable 50/50 period only, which is a common practical recommendation after a ramp.
Why the others fail: pooled data is not better when the mix differs between arms; more data with confounding is still biased. This is not an SRM, because each period matches its own planned split exactly; an SRM check must use the planned ratio per phase. The weekend drop lowers both arms by the same proportion (−60%), so it is not a reason to keep only Friday, which is a single day and only 1,000 treatment users.
Interview tip: ramp-ups, changing allocations and mid-test traffic shifts are a very common source of Simpson's paradox in real A/B tests; say you analyse each allocation phase separately.