What is A/B testing, and how can it be misleading?
Instruction: Explain what A/B testing is and discuss potential pitfalls in its interpretation.
Updated
Example answer
A/B testing randomly assigns eligible units to a control and a treatment to estimate the effect of a change. I would define the assignment unit, primary outcome, analysis population and decision rule before starting.
A p-value describes how unusual the observed result, or a more extreme result, would be under the specified null model and assumptions. It is not the probability the null is true or proof that chance played no role. Statistical significance also does not establish business value.
Worked example
Suppose a fixed-duration test independently assigns 10,000 users to each arm. Each user contributes one conversion outcome: control has 1,000 conversions and treatment has 1,100.
- Rates: 10% and 11%; difference: 1 percentage point, or 10% relative lift.
- Approximate unpooled standard error: sqrt(0.10 × 0.90 / 10,000 + 0.11 × 0.89 / 10,000) = 0.004335.
- Approximate 95% normal confidence interval for the difference: 0.01 ± 1.96 × 0.004335, or 0.15 to 1.85 percentage points.
The interval is an uncertainty summary from a repeated-sampling procedure, not a guarantee for this individual result. If a launch needs at least a 0.5-point improvement to cover costs, this result does not establish that threshold: the interval includes smaller gains. I would also check support burden, latency and other prespecified guardrails before recommending a launch.
How it can mislead
Wrong assignment or analysis units, sample-ratio mismatch, broken instrumentation, spillovers, selective segments and testing many outcomes can invalidate the conclusion. Repeatedly stopping when an ordinary fixed-horizon p-value crosses a threshold inflates false positives. Plan sample size for a meaningful detectable effect and power; use a prespecified duration or valid sequential method and an appropriate multiple-testing procedure. Shared calendar events do not automatically confound a concurrent randomized test, but unequal exposure and changes in who is sampled can matter.