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
42 practiced
Design an ethical review checklist for experiments that might materially impact privacy, pricing, or fairness. Include required approvals, data minimization principles, logging/audit requirements, and how to evaluate potential disparate impacts across protected groups.
MediumTechnical
39 practiced
Describe a robust event instrumentation scheme to support A/B testing: what core events and attributes you would require (exposure event, assignment id, variant name, user_id, timestamps, client/server), how to ensure idempotence and deduplication across devices, and how to design the schema to support later joins and metric computation.
MediumTechnical
37 practiced
Design an experiment to test a pricing change: state hypotheses, choose a primary metric (or metrics), list guardrails, propose an allocation and sample-size considerations, and discuss ethical or customer-experience considerations and regulatory constraints you might need to consider.
HardTechnical
45 practiced
Discuss advantages and disadvantages of adopting a Bayesian framework for A/B testing in a fast-paced growth environment. Include how you would specify priors for conversion rates, interpret posterior probabilities (e.g., probability treatment > control), handle multiple looks, and present Bayesian results to non-technical stakeholders.
EasyTechnical
42 practiced
Implement a Python function that computes a two-proportion z-test p-value and absolute lift. Function signature: compute_z_test(convert_a, n_a, convert_b, n_b, alternative='two-sided'). Return z-statistic, p-value, and percent-lift (b over a). Assume inputs are integers and use standard normal approximation.

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.