A/B test

On this page
  1. Definition
  2. How to compute
  3. Pitfalls

Definition

An A/B test is a controlled experiment: users are randomly split into control and treatment, the control sees the current product and the treatment sees the change. The difference in the metric between arms estimates the effect of that change.

How to compute

Compare the metric’s mean or proportion across arms and test significance: a t-test for means, a z-test for proportions, bootstrap for non-Gaussian distributions. Read the effect together with a confidence interval, not from a p-value alone. Fix the metric, the MDE and the sample size before launch.

Pitfalls

Peeking at the data and stopping on the first significant result inflates the Type I error rate. Several metrics without a multiple-comparison correction produce false positives. A changed split, events logged differently per arm, or bots break randomisation — that is what the SRM check catches.

Related terms

Mentioned in

Connections map

Interactive subgraph: 11 nodes and 32 links around this page. Each node is keyboard-focusable; press Enter or Space to open its page. A full list of nodes and their links follows the graphic.

  • A/A test : Sample Ratio Mismatch (SRM) (Explicit link), p-value (Explicit link), A/B test (Explicit link), Statistical power (Explicit link), ab-testing (Thematic link)
  • A/B test : p-value (Explicit link), Statistical power (Explicit link), A/A test (Explicit link), Sample Ratio Mismatch (SRM) (Explicit link), Minimum detectable effect (MDE) (Explicit link), Confidence interval (Explicit link), Correlation and causation (Explicit link), Guardrail metric (Explicit link), Sample size (Explicit link), ab-testing (Thematic link)
  • Confidence interval : p-value (Explicit link), Minimum detectable effect (MDE) (Explicit link), A/B test (Explicit link), ab-testing (Thematic link)
  • Correlation and causation : A/B test (Explicit link), ab-testing (Thematic link)
  • Guardrail metric : A/B test (Explicit link), Sample Ratio Mismatch (SRM) (Explicit link), ab-testing (Thematic link)
  • Minimum detectable effect (MDE) : A/B test (Explicit link), Confidence interval (Explicit link), Statistical power (Explicit link), p-value (Explicit link), Sample Ratio Mismatch (SRM) (Explicit link), Sample size (Explicit link), ab-testing (Thematic link)
  • p-value : A/A test (Explicit link), A/B test (Explicit link), Confidence interval (Explicit link), Minimum detectable effect (MDE) (Explicit link), Statistical power (Explicit link), Sample Ratio Mismatch (SRM) (Explicit link), ab-testing (Thematic link)
  • Sample size : Statistical power (Explicit link), Minimum detectable effect (MDE) (Explicit link), A/B test (Explicit link), ab-testing (Thematic link)
  • Sample Ratio Mismatch (SRM) : A/A test (Explicit link), A/B test (Explicit link), Guardrail metric (Explicit link), Minimum detectable effect (MDE) (Explicit link), p-value (Explicit link), ab-testing (Thematic link)
  • Statistical power : A/B test (Explicit link), Minimum detectable effect (MDE) (Explicit link), p-value (Explicit link), Sample size (Explicit link), A/A test (Explicit link), ab-testing (Thematic link)
  • ab-testing : A/A test (Thematic link), A/B test (Thematic link), Confidence interval (Thematic link), Correlation and causation (Thematic link), Guardrail metric (Thematic link), Minimum detectable effect (MDE) (Thematic link), p-value (Thematic link), Sample size (Thematic link), Sample Ratio Mismatch (SRM) (Thematic link), Statistical power (Thematic link)

Terms, articles and projects connected to this concept. Hover a node to see its name; click to open.

← All terms