EXPERIMENTATION / METHOD GUIDE
A/B test significance:
z-test, Newcombe CI and bounds.
Short answer: for a single fixed-horizon comparison of two conversion rates, compute the pooled two-proportion z-test p-value together with the Newcombe hybrid score (Wilson) confidence interval for the difference. Check expected cell counts before trusting the normal approximation, and plan sample size before looking at data.
Pooled z-test and Newcombe-Wilson interval
Given c1 / n1 conversions in control and c2 / n2 in variant, let p̂1 = c1 / n1, p̂2 = c2 / n2 and pooled rate p̂ = (c1 + c2) / (n1 + n2). Under the null hypothesis of equal rates, the standard error is SE = sqrt(p̂(1 − p̂)(1/n1 + 1/n2)) and z = (p̂2 − p̂1) / SE.
For the confidence interval of p2 − p1, naive Wald intervals perform poorly near 0% or 100% conversion rates. ScoreCompute uses Newcombe's method 10, which combines the Wilson score limits [l1, u1] and [l2, u2] of each group into an asymmetric interval that stays inside [−1, 1].
A recorded public call
On 23 November 2026 (release 0.18.0), calling evaluate_ab_test with 48/80 (60%) in control versus 56/70 (80%) in variant returned an absolute difference of +20.0 pp, z = 2.650, two-sided p = 0.00805, and a 95% Newcombe interval of [0.0524, 0.3339]. In the same call, planning for a 5% baseline rate, +10% relative lift (target 5.5%), α = 0.05 and 80% power required 31,234 visitors per group (62,468 total) (inputs and response).
Three mistakes that invalidate A/B conclusions
- Peeking and early stopping: checking the p-value repeatedly as visitors arrive pushes the real false-positive rate well above α. A fixed-horizon z-test assumes sample sizes were fixed in advance.
- Small expected counts: when expected conversions or non-conversions in a group are small, the normal approximation breaks down. The engine sets
small_expected_counts: true, andverify_claim(domain: "ab_test") returnsinconclusiverather than certifying significance. - Unchecked randomisation: statistical formulas take counts as given; sample-ratio mismatch (SRM), tracking bugs or novelty effects must be audited separately.
Limits
- Single fixed-look analysis only: no sequential testing, alpha spending or multiple-variant correction.
- No exact Fisher/Barnard test or continuity correction; p-value and Newcombe interval can disagree right at the boundary.
- Not a ship recommendation: statistical significance does not establish business impact or practical relevance.
Sources
- Newcombe (1998), Interval estimation for the difference between independent proportions (method 10)
- Wilson (1927), Probable inference and score limits
- R manual: power.prop.test sample-size examples
Try the live A/B test 3D demo · Read the engine contract · Verify an A/B test claim with a receipt
First published 25 November 2026 · Last updated 25 November 2026