Glossary · Marketing Analytics
A/B Testing
Also called: split testing · A/B test · online controlled experiment
A controlled experiment that randomly splits users between two versions of a page, message or offer to measure which performs better on a chosen metric.
Definition
An A/B test randomly assigns users to a control version (A) or a variant (B) and compares an outcome such as conversion rate. Because assignment is random, a difference larger than chance can be attributed to the change itself rather than to who happened to see it. Sample size should be fixed in advance from the smallest effect worth detecting and the desired statistical power, and results are usually judged with a two-proportion test or a confidence interval. Checking results repeatedly and stopping as soon as significance appears inflates the false-positive rate.
Formula
TeX source
z = \frac{\hat p_B - \hat p_A}{\sqrt{\hat p\,(1-\hat p)\left(\frac{1}{n_A}+\frac{1}{n_B}\right)}}Worked example
Try it in a tool
- Statistics ToolkitHypothesis tests, confidence intervals, sample-size and power planning, regression-output interpretation and a normal/t/chi-square/F calculator.
- Marketing Analytics ToolkitCustomer lifetime value, break-even and price-cut volume, price elasticity with Lerner pricing, and a conjoint part-worth and share simulator.
Related terms
- Statistical Power: The probability that a test detects a real effect of a given size; equal to one minus the type II error rate.
- P-Value: The probability of seeing a result at least as extreme as the one observed if the null hypothesis were true.
- Conversion Rate: The share of people at one step who complete a desired next action, such as visitors who buy or trial users who subscribe.
- Incrementality: The part of an outcome that would not have happened without a marketing action, measured against a comparable group that was not exposed.
- Type I Error: Rejecting a null hypothesis that is actually true; concluding there is an effect when there is none.