InterviewStack.io LogoInterviewStack.io

A/B Test Design & Statistical Rigor Questions

Designing and statistically defending a controlled online experiment: framing a testable hypothesis, defining control and treatment variants, choosing the randomization unit, setting the primary success metric, and computing sample size, power, and minimum detectable effect. Covers the statistical foundations that make a readout trustworthy, including hypothesis testing, p-values, confidence intervals, statistical vs practical significance, and Type I/II error. Emphasizes avoiding the common pitfalls that invalidate a test, such as peeking, multiple-comparison inflation, underpowered designs, and how test duration and stopping rules affect the validity of conclusions.

MediumTechnical
45 practiced
Describe how you would detect novelty effects or time-varying treatment effects in an experiment that runs for multiple weeks. Which visualizations, models, and statistical checks would you run to distinguish a genuine effect from novelty or novelty decay? Explain how you might adjust experiment duration or analysis to handle these dynamics.
MediumSystem Design
41 practiced
Design an experiment to evaluate a personalized recommendation algorithm. The algorithm tailors ranking per user. Discuss randomization choices: should you randomize model assignment per user, randomize per impression, or randomize ranking perturbations? Address stratification, consistency across sessions, SUTVA concerns, logging needs for unbiased ATE/CATE estimation, and offline simulation considerations.
HardTechnical
48 practiced
Propose an organization-wide experimentation governance model for a growing company. Include roles and responsibilities (data scientists, product, engineers, QA), pre-registration standards, experiment cataloging, metric-definition registry, peer review process, reproducibility requirements, and mechanisms for sharing learnings and failed experiments.
EasyTechnical
47 practiced
Compare and contrast three bucket assignment strategies: hashing-based deterministic bucketing, stateful server-side assignment, and client-side cookie assignment. Discuss pros and cons for cross-device consistency, ability to reassign users later, handling of experiment overlap, and impact on analysis validity.
EasyBehavioral
42 practiced
Behavioral: Tell me about a time when you advocated for stricter experimental rigor (e.g., pre-registration, holdouts, correction for multiple tests) on a team that preferred rapid iteration. What was the situation, what actions did you take, and what were the outcomes?

Unlock Full Question Bank

Get access to hundreds of A/B Test Design & Statistical Rigor interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.