Skip to content
Marketing Measurement Science

Analyzing A/B Tests

Estimate a difference and its uncertainty

Enter data for independent arms with complete follow-up. Use all eligible accounts as assigned and a common follow-up window. For cluster assignment, use uncertainty estimates that account for the randomized clusters. The contrast is offer minus control in percentage points. Relative lift divides the contrast by the control rate and is undefined when that rate is zero.

Assigned accounts and observed outcomes
ArmConvertedDid not convertAssigned
Control
Offer

Wilson gives uncertainty for an individual arm rate. Newcombe’s hybrid-score method combines Wilson limits to estimate uncertainty for the difference. The Wald interval can collapse when observed rates are zero or one. Overlap of the arm intervals cannot decide a test of their difference. Coverage is how often a procedure includes the true difference in repeated samples under stated assumptions, and it can vary with the true rates.

The pooled z-test is a separate test of a zero difference. Its two-sided p-value equals the uncorrected Pearson chi-square p-value for the same 2×2 outcome table with one degree of freedom. A sample ratio mismatch (SRM) instead checks assignment counts against planned allocation. Sparse expected cells can make the z approximation unreliable.

A nonsignificant result can still include a meaningful lift

For confidence intervals and critical values, see Regression confidence intervals and the t-distribution. For several arms or outcomes, use Multiple comparisons across arms.