A/B test significance calculator
test_ab_significanceIs an A/B test result statistically significant? From visitors and conversions per group: two-proportion z-test (pooled), one or two-sided p-value, Wald confidence interval for the difference, relative lift, Pearson chi-square with and without Yates correction (R prop.test), Fisher exact p for the same 2x2 table, and a sample ratio mismatch (SRM) check against the planned split.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | No | Significance level, default 0.05. | |
| alternative | No | greater = variant converts better than control. | two-sided |
| expected_split | No | Planned share of traffic in control, for the SRM check. Default 0.5. | |
| control_visitors | Yes | ||
| variant_visitors | Yes | ||
| control_conversions | Yes | ||
| variant_conversions | Yes |