courses › Business Stats & Decisions

A/B Tests

level 41 course

Compare two versions fairly, read the result honestly, and ask if it's worth it.

Pen and paper is fine · no calculator needed why?

Learn first (about 3 minutes)

Opens at level 41.

Sign in to start

Builds on: Base Rates & Conditional Rates (not open yet) · Expected Value (not open yet)

the lesson

The idea, the techniques and a tip for each skill, right here. The Learn page adds worked examples for every skill and untimed practice.

Read the lesson · about 3 minutes

The idea

An A/B test shows two versions to comparable groups and compares their rates. Say the difference two ways. Percentage points subtract the rates: 4% to 5% is 1 percentage point. Relative lift divides that by the first rate: 1 ÷ 4 = 25%.

A difference in a test can be luck. A 95% interval shows the range of effects the data allow. If it includes zero, "no effect" hasn't been ruled out. And "significant" means the result would be unlikely with no real effect, not that the effect is big or worth its cost.

Techniques

Percentage points, then lift

Comparing two conversion rates.

  1. Turn each count into a rate: conversions ÷ recipients.
  2. Percentage points: B's rate minus A's rate.
  3. Relative lift: that difference divided by A's rate.
worked example

Example: A gets 30 purchases from 500 recipients; B gets 45 from 500. What is B's relative lift over A?

  1. A = 30 ÷ 500 = 6%, B = 45 ÷ 500 = 9%.
  2. Difference: 3 percentage points.
  3. Lift: 3 ÷ 6 = 0.5 = 50%.

Answer: 50%

Find both ends

Reading an estimate with a 95% interval.

  1. Work out the low and high ends of the interval.
  2. Both ends above zero: the data point to a real lift. Then check it is worth the cost.
  3. Zero inside: unclear. It proves neither a win nor no effect.
worked example

Example: An estimated lift is 3 percentage points, give or take 4. What is the low end of the interval, in percentage points? (Use a minus sign if negative.)

  1. 3 − 4 = −1, 3 + 4 = 7, so zero is inside.

Answer: −1

Significant, then worth it

Deciding whether a significant result is worth keeping.

  1. Significant means unlikely if there were no real effect.
  2. Net result: what it adds minus what it costs to run.
  3. A real effect can still lose money.
worked example

Example: A significant change adds $400 a month of contribution (revenue minus variable costs) and costs $550 a month to run. What is its net monthly result? (Use a minus sign if negative.)

  1. $400 − $550 = −$150 a month.
  2. Likely real, but it loses money.

Answer: −$150

Tips by skill

  • TipDifference in points: Turn both counts into percents, then subtract A from B. The answer is in percentage points.
  • TipRelative lift: Find both rates, subtract, then divide the difference by A's rate.
  • TipRead the interval: Is zero inside the interval? Inside: nothing is proven either way. Entirely above zero: the data point to a real lift.
  • TipSignificant, but worth it?: Significant means unlikely if there were no real effect, not big or worth it. Subtract the running cost from what it adds.
  • TipDesign a fair test: Pick the plan that splits comparable people at random, at the same time, with the plan fixed before you look.

Watch out for

  • Giving the relative lift when asked for percentage points, or the reverse. 30% to 36% is 6 percentage points but a 20% lift.
  • Treating an interval that includes zero as proof of no effect, or a positive estimate as proof of a win.
  • Assuming a significant result is worth doing. Subtract what it costs to run.
  • Comparing different audiences or weeks and crediting every difference to the change.

skills · practice stats

From rounds of this course only: box, review and test-out answers are left out. Once a skill has 40 tries, it compares your first 20 tries with your last 20.

rest ladder

Win 3 of your last 4 rounds and the course rests. A win is 90% right, within 2× the round's par. Pass the review when it comes back and the next rest is longer.

  1. 1 day
  2. 3 days
  3. 7 days
  4. 14 days
  5. 30 days
  6. 60 days
  7. mastered · every 90 days

your rounds

No rounds yet.