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
48 practiced

Plan an experiment that will run across a period with strong weekly seasonality, where weekday and weekend behavior differ a lot, and possibly a holiday. How would you choose the test duration, the traffic allocation, and the analysis window to avoid seasonality confounding the result? If you later observe that the treatment effect looks positive on weekdays but negative on weekends, how would you investigate whether that pattern is real, an artifact of traffic composition, or noise?

HardTechnical
38 practiced

Derive the optimal control-variate coefficient theta = Cov(X, Y) / Var(X) used in CUPED, where X is a pre-experiment covariate and Y is the experiment outcome. Given the correlation rho between X and Y, show how much variance reduction CUPED achieves and how the required sample size for a fixed minimum detectable effect scales with rho. What happens to this derivation, and to CUPED's validity, if X is itself affected by the treatment?

HardTechnical
45 practiced

You are evaluating a price increase (for example, raising a marketplace take rate or introducing a new fee) in a two-sided marketplace with network effects between buyers and sellers. Design an experiment that accounts for spillovers between the two sides: specify the randomization scheme, including whether to randomize by buyer, seller, or a shared cluster, how you would detect and quantify cross-side externalities, and what analysis approach you would use to estimate the long-run revenue impact under these network effects.

HardTechnical
51 practiced

You suspect an observed uplift in your A/B test is driven by a novelty effect that will fade over time rather than a persistent treatment effect. Design an experiment and analysis strategy to distinguish the two: specify the time windows you would compare, how you would model the decay, and the decision rule you would use before concluding the effect is real and durable.

MediumTechnical
45 practiced

Define the novelty effect and the primacy effect in the context of a multi-week online experiment: what causes each, and in which direction does each bias an early readout? Describe the visualizations, models, or statistical checks you would use to tell a genuine, persistent treatment effect apart from a temporary novelty spike or a fading resistance-to-change effect, and explain how you might adjust the experiment's duration or analysis to account for it.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.