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.

HardTechnical
36 practiced
Hard: Implement a regression-based analysis (in Python/pandas or pseudocode) that estimates treatment effect with interaction terms for segments (e.g., country, device), includes robust standard errors clustered by user, and produces a table of segment-level treatment effects with CIs. Describe assumptions and limitations.
EasyTechnical
39 practiced
Explain bias and confounding with examples relevant to content A/B tests (seasonality, marketing campaigns, segmented traffic). Describe methods to mitigate confounding such as blocking, stratification, time-window controls, and pre-post adjustments.
HardTechnical
39 practiced
Design and validate an uplift modeling approach for targeting treatment to users most likely to benefit. Outline data collection (treatment labels, features), model architecture choices, evaluation metrics (Qini, uplift curves), offline validation strategy, and how you'd safely roll this into production experiments.
HardTechnical
46 practiced
Case study/dataset: You have the following aggregate results from an A/B test run for 30 days: Control: users=200k, conversions=20k. Treatment: users=200k, conversions=21k. Provide a step-by-step analysis plan to determine if the treatment is truly beneficial and production-ready. Include sanity checks, significance test, uplift CI, power retrospective, metric segmentation, and pre-trend checks.
HardTechnical
42 practiced
You observe a small but statistically significant uplift in the A/B test for conversion rate driven entirely by a tiny subset of heavy users. Describe how you'd investigate whether the effect is real, robust, or an artifact, and how to present actionable conclusions to stakeholders.

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.