Handle Peeking in a Lightning Deals Page Experiment
Last updated: November 29, 2026
Quick Overview
A product manager checks the dashboard of a Lightning Deals layout experiment every morning and wants to stop as soon as the p-value drops below 0.05. Explain the problem and propose a valid monitoring approach.
Amazon
November 29, 20260
0
0 solved
A product manager checks the dashboard of a Lightning Deals layout experiment every morning and wants to stop as soon as the p-value drops below 0.05. Explain the problem and propose a valid monitoring approach.
Asked in Amazon Data Scientist technical screens because Amazon's internal experimentation culture is fast and stakeholders often watch results daily. The interviewer checks that you understand type I error inflation from repeated looks and can offer a practical fix.
What the Interviewer Expects
- Explain why repeated significance checks inflate false positives
- Estimate roughly how large the inflation is
- Propose a fixed horizon, group sequential, or always-valid method
- Address stopping early for harm as a separate rule
- Communicate the policy to a non-technical stakeholder
Key Topics to Cover
How to Approach This
- Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
- Run experiments long enough to account for novelty effects and weekly seasonality.
- Use funnel analysis to identify where users drop off for maximum optimization impact.
- Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
- Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
- How would an O'Brien-Fleming boundary look for 5 looks?
- Is it ever fine to stop early?
- How does day-of-week seasonality interact with early stopping?
- What does a Bayesian approach change here?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Analytics QuestionsSample Answer
Clarify
The test has a pre-computed horizon of 14 days. The PM would stop on the first day in favor of either arm and declare a winner....
Approach
Each look is another chance for noise to cross the threshold. The test statistic follows a random walk under the null, and the probability that it crosses at some point among looks grows...