Skip to content

A/B Testing

Overview

A/B testing is a scientific method to verify a hypothesis without guessing: split traffic in half and compare variants.

How It Works

  1. There is a current payment button (Variant A) and an idea to make it red (Variant B).
  2. Traffic is split 50/50: half sees A, half sees B.
  3. Compare conversion rates.

Why Statistics Is Needed

If 10 out of 100 bought on variant A, and 13 out of 100 on variant B, you can't simply say 'the red button is better'. This could be due to randomness (noise).

An analyst uses math analysis: t-test, p-value, confidence intervals to prove: 'A 3% increase in conversion rate with 95% probability is caused by the button color change, not randomness'.

Basic Concepts

  • Hypothesis: 'the red button increases conversion'.
  • Control (A): current version.
  • Variant (B): test version.
  • Significance (p < 0.05): probability that the result is not noise.

See Also