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
48 practiced
How would you estimate the causal effect of a feature on retention when there is substantial noncompliance (users randomized to treatment may not receive it) and attrition over time? Discuss intention-to-treat (ITT), complier-average causal effect (CACE) via instrumental variables, inverse-probability-of-censoring weighting (IPCW) for attrition, and survival-model adjustments.
MediumTechnical
39 practiced
Explain alpha-spending for group-sequential testing. For a trial with up to 4 interim looks, describe how you compute stopping boundaries under Pocock and O'Brien-Fleming styles and how those choices affect early-stopping probability and overall power.
HardTechnical
65 practiced
SUTVA is violated in your social network experiment (partial interference). Propose an estimator and identification strategy for average direct and spillover effects when interference is confined within clusters. Include assumptions, how to map exposures, weighting/HT estimators, and variance estimation that accounts for clustering.
HardTechnical
50 practiced
You must estimate direct and spillover effects on a large-scale social graph with highly skewed degree distribution. Propose a randomization and estimation strategy—options include graph cluster randomization, independent-set sampling, or edge-based assignment—and describe how to compute required sample size or number of clusters given target MDEs and desired power.
HardTechnical
49 practiced
Online experiments arrive continuously. Propose a procedure to control the false discovery rate in a streaming setting (for example, using alpha-investing, LORD, or SAFFRON). Explain the mechanics of maintaining and updating 'alpha-wealth' or thresholds over time, provide pseudocode for the update rule, and discuss parameter choices to balance discovery rate versus risk.

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.