Explain Why Peeking at Experiment Results Inflates False Positives
Last updated: November 29, 2026
Quick Overview
A customer checks their A/B test report in an analytics tool every day and stops as soon as p < 0.05. Explain quantitatively why this inflates the false positive rate and what the reporting product should do about it.
Mixpanel
November 29, 20260
0
0 solved
A customer checks their A/B test report in an analytics tool every day and stops as soon as p < 0.05. Explain quantitatively why this inflates the false positive rate and what the reporting product should do about it.
Mixpanel offers an Experiments report, and customers routinely look at it daily. A data scientist there must explain the peeking problem to product teams and recommend statistically sound defaults, which is what this question checks.
What the Interviewer Expects
- Explain repeated testing under the null as multiple chances to cross the threshold
- Give an intuition or estimate of how large the inflation gets
- Propose fixed-horizon, sequential (alpha spending or mSPRT) or Bayesian alternatives
- Discuss product UX consequences of each choice
- Mention power and minimum detectable effect planning
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- How would you design a sequential test so the report can show a valid result every day?
- What changes if the metric is a heavy-tailed one like revenue per user?
- How would you explain this to a PM who says 'but the result was significant'?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Setup: two arms, a conversion metric, a z-test at computed on cumulative data each day for up to 30 days, stopping at the first p < 0.05. Question: under a true null (no effect), how o...
Approach
Under the null, the cumulative z-statistic over time behaves like a scaled random walk (Brownian motion in the limit). A fixed-horizon test checks it once; peeking checks it at many correlated looks. ...