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
Analytics & Experimentation
Data Scientist
Amazon
November 29, 2026
Data Scientist
Technical Screen
Analytics & Experimentation
Medium

0

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
Peeking
Sequential testing
Type I error
Alpha spending
Stopping rules
How to Approach This
  1. Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
  2. Run experiments long enough to account for novelty effects and weekly seasonality.
  3. Use funnel analysis to identify where users drop off for maximum optimization impact.
  4. Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
  5. 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 Questions
Sample Answer
Clarify

The test has a pre-computed horizon of 14 days. The PM would stop on the first day p<0.05p<0.05 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 ±1.96\pm1.96 at some point among kk looks grows...


Submit Your Answer
Markdown supported