Amazon · Statistics & Data Analysis
Analyze an A/B test over last 7 days
TrueInterview
October 7, 2026 · 1 min read
Suppose today is 2025-09-01. Over the previous 7 days (2025-08-26 through 2025-09-01), you ran a 50/50 A/B test on a checkout flow. The daily exposure and purchase counts are shown below:
| Date | A_exposed | A_purchases | B_exposed | B_purchases |
|---|---|---|---|---|
| 2025-08-26 | 28000 | 1350 | 27800 | 1420 |
| 2025-08-27 | 28500 | 1380 | 28100 | 1460 |
| 2025-08-28 | 28200 | 1390 | 27900 | 1450 |
| 2025-08-29 | 28400 | 1420 | 28000 | 1520 |
| 2025-08-30 | 28300 | 1370 | 27700 | 1480 |
| 2025-08-31 | 28100 | 1410 | 27900 | 1510 |
| 2025-09-01 | 30500 | 2580 | 30000 | 2560 |
Tasks:
- Calculate the overall conversion rates for A and B, the absolute and relative lift, and the p-value from a two-proportion z-test along with a 95% confidence interval for the lift.
- Test for sample ratio mismatch (SRM) both daily and overall. If you find any, suggest likely root causes and how to mitigate them.
- Examine day-to-day heterogeneity; is pooling the data appropriate? Justify your answer using a fixed-effects versus random-effects framework.
- List at least three pitfalls that apply to this window (for example, seasonality or a holiday effect on 2025-09-01, novelty effects, user overlap, peeking). Propose guardrails you would put in place before launch.
- If your minimal detectable effect (MDE) was a +5% relative lift over baseline, estimate the achieved power and decide whether you would roll out, iterate, or extend the test. State any assumptions.
Overview: This question assesses skill in A/B test analysis and experiment design, including conversion-rate calculation, statistical inference (two-proportion tests and confidence intervals), sample-ratio checks, heterogeneity assessment (fixed versus random effects), and power/MDE reasoning.
This question is drawn from an Amazon Data Scientist interview experience.
Loading comments…