Kippler.

Flight log / Transmission 031

Bayesian vs. frequentist A/B testing for marketers

Same test, same data, two verdicts. In the hypothetical below, 40 vs. 52 conversions on 1,000 visitors each is "not significant" to one method and "about 90% likely better" to the other, and both are telling the truth.

By Ronny Cheng Updated 9 min read
warp zone: the 30-second version

> Frequentist A/B testing asks how surprising your data would be if the variants were identical, and reports a p-value. Bayesian A/B testing asks how likely each variant is to be better given the data, and reports a probability plus the expected cost of choosing wrong. Neither is magic. Stopping rules and decision thresholds matter more than the label.

Statisticians have been arguing about this for about a century, and they're not close to done. You don't need to pick a side in that fight. You need to know what the number on your testing dashboard actually means, and which reading fits the call you have to make on Thursday.

No calculus below. One worked example, small enough to check on a napkin.

// 01 · the briefing

What's the difference between Bayesian and frequentist testing?

The two schools disagree about what "probability" means.

Hence the different-looking dashboards. A frequentist result is a statement about your data, assuming no difference. A Bayesian result is a statement about the variants themselves.

kipp>

Frequentist stats needs a DeLorean: it reasons about thousands of reruns of a test you'll only run once. Bayesian stats just asks what you believe today. Neither is cheating. They're answering different questions.

// 02 · signal vs. noise

What does a p-value actually tell you?

The American Statistical Association's 2016 statement defines a p-value, informally, as the probability under a specified statistical model that a summary of the data would be equal to or more extreme than what you observed.

In A/B terms: if the two pages truly convert the same, how often would random noise produce a gap at least this big? A p-value of 0.03 means about 3% of the time.

Now the part dashboards skip. The same ASA statement says p-values do not measure the probability that the studied hypothesis is true, and do not measure the size or importance of an effect. So "p = 0.05" is not "95% chance B is better." It's the most common misreading in testing, and most dashboards practically invite it.

Frequentist results usually ship with a confidence interval. A 95% interval comes from a procedure that would capture the true value in 95% of repeated experiments. That's a claim about the method's track record, not a promise about the one interval on your screen.

// 03 · telemetry

What does a Bayesian A/B test tell you?

A Bayesian readout gives you three numbers that sound like the questions marketers actually ask:

  1. Probability to beat control. "There's an 88% chance B converts better than A."
  2. Credible interval. "There's a 95% probability the true lift is between X and Y." This one does mean what it sounds like, given the model and prior.
  3. Expected loss. If you pick B and you're wrong, how much conversion rate do you give up on average?

Expected loss is the underrated one. Chris Stucchio's widely cited 2014 decision rule sets a "threshold of caring": if the expected loss of choosing a variant falls below a difference you wouldn't care about, you choose it. That turns statistics into a business decision with a stated tolerance for error.

The catch is the prior. With a neutral (flat) prior and a decent amount of data, it barely moves the answer. With a strong prior, it can move it a lot. And a prior chosen after you've seen the data is just grading your own homework.

// 04 · versus

Bayesian vs. frequentist A/B testing: side by side

FrequentistBayesian
Question answeredHow surprising is this data if there's no difference?How likely is B better, and by how much?
Main outputp-value, confidence intervalProbability to beat control, credible interval, expected loss
Prior beliefNot usedRequired, explicit
Sample sizeFixed in advance (or a planned sequential design)Flexible, but early stopping still carries risk
Error guaranteeControls false positive rate when run as designedControls expected loss, not false positive rate
Easy to explain?Easy to misexplainCloser to how people talk about risk
Main weaknessBreaks under peeking; "not significant" gets read as "no effect"Prior can be misused; probability numbers look more certain than they are
// 05 · mission log

A worked example with simple numbers

Hypothetical: say a small SaaS team splits traffic to a demo page evenly. After 1,000 visitors each:

VariantVisitorsConversionsRate
A (control)1,000404.0%
B (new headline)1,000525.2%

The observed lift is 30% relative, 1.2 percentage points absolute. Now the two readings.

The frequentist reading

A standard two-proportion z-test (pooled, no continuity correction) gives a two-sided p-value of about 0.20. That's well above the usual 0.05 bar, so the result is "not statistically significant." The 95% confidence interval for the difference runs from about -0.6 to +3.0 percentage points. It includes zero.

Translation: if the pages were identical, a gap at least this big would still show up about 1 time in 5. You can't rule out "no difference."

The Bayesian reading

With a flat prior (Beta(1,1), meaning no opinion going in), the posterior says, rounded:

Translation: B is probably better, the size of the lift is very uncertain, and if B turns out worse, you'd lose very little on average.

So which verdict is right?

Both. Same data, and with a flat prior the intervals are nearly twins. What differs is the question. The frequentist reading protects you from declaring a winner on noise. The Bayesian reading tells you how to bet if you have to decide now.

If B is a headline swap you can reverse in five minutes, a 90% chance of being better with tiny expected loss is a reasonable bet. If B means rebuilding the page template, get more data. For context, a classic fixed-sample design built to detect a 20% relative lift from a 4% baseline (two-sided, 95% confidence, 80% power) needs about 10,300 visitors per variant, roughly ten times this sample. See how long to run an A/B test.

kipp>

"Not significant" means "not proven," not "no effect." "90% likely" means "probably," not "done." Both get oversold in the same meeting.

// 06 · pre-flight checklist

Can you peek at a Bayesian A/B test?

You'll hear that Bayesian tests are immune to peeking. Half true. The posterior is a valid summary of your beliefs whenever you look. But stop the moment it crosses a threshold and you still raise the odds of shipping something that doesn't help.

David Robinson simulated this in 2015: for a change that actually hurt performance, stopping early on a Bayesian rule led to switching to the worse variant in 11.8% of cases, versus 2.5% without early stopping. For comparison, Evan Miller's frequentist simulation, a deliberate worst case that checks significance after every observation up to 150, pushed a nominal 5% false positive rate to 26.1%.

The fix is identical in both camps: write the stopping rule before launch, then obey it. More on the human side of this in landing page testing without lying to yourself.

// 07 · go / no-go

When should marketers use Bayesian or frequentist testing?

SituationLean towardWhy
High-traffic page, costly or hard-to-reverse changeFrequentist, fixed horizonYou can afford the sample, and false positive control matters
Low-traffic B2B page, cheap reversible changeBayesian with expected lossYou'll decide anyway; quantify the risk of the decision
Stakeholders keep misreading p-valuesBayesian reportingProbability to beat control is closer to the question they're asking
You must check results mid-testPlanned sequential frequentist, or Bayesian with a pre-set ruleBoth handle interim looks if planned in advance
Many variants, goal is to earn conversions while testingNeither alone; consider a banditSee multi-armed bandits

The pattern that shows up in most B2B accounts is the second row: modest traffic, decisions that can't wait six months, and changes that are easy to roll back. That's where Bayesian framing earns its keep, as long as nobody treats 90% as a guarantee.

// 08 · payload

How should you report A/B test results to stakeholders?

Whichever method you run, report the same four things, so nobody has to do live statistics translation in the meeting:

  1. The observed difference, absolute and relative. "B converted at 5.2% vs. 4.0%, a 1.2 point (30%) lift."
  2. The uncertainty range. "The true difference is plausibly anywhere from slightly negative to about 3 points."
  3. The decision rule you set before launch. "We said we'd ship at 95% confidence" or "we said we'd ship when expected loss fell below 0.1 points."
  4. The decision and its reversibility. "Shipping B, monitoring weekly, easy to roll back."

Leading with the range instead of a verdict does more for your testing program's credibility than any choice of method. People forgive a test that came back uncertain. They don't forgive a "winner" that quietly evaporates next quarter.

Where this breaks

kipp>

The method matters less than the rule you wrote down before launch. A Bayesian who moves the goalposts and a frequentist who peeks end up in the same place: shipping noise.

kipp> waitlist --join

Something's warming up on the launch pad.

We're building something for people who read posts like this. Early access opens in waves.

Early access, by invitation.

// 09 · comms

FAQ

What is Bayesian A/B testing?

Bayesian A/B testing combines a prior belief about conversion rates with observed data to produce a probability distribution for each variant. It reports results such as the probability that the variant beats control and the expected loss of choosing it.

What is the difference between Bayesian and frequentist A/B testing?

Frequentist testing asks how surprising the data would be if there were no real difference, and reports a p-value. Bayesian testing asks how likely each variant is to be better given the data, and reports a probability. They answer different questions from the same data.

Does a p-value of 0.05 mean there is a 95% chance the variant is better?

No. The American Statistical Association states that p-values do not measure the probability that the studied hypothesis is true. A p-value measures how compatible the data are with a model of no difference.

Can you stop a Bayesian A/B test whenever you want?

Not without cost. Bayesian results stay interpretable when you check often, but stopping early still raises the chance of shipping a change that does not help. In one simulation by David Robinson, optional stopping raised that rate from 2.5% to 11.8%.

Which is better for low-traffic B2B landing pages?

Bayesian methods are often more practical because they express results as probabilities and expected losses you can act on with limited data. They do not create information that is not there, so wide uncertainty remains wide.

Ronny Cheng has spent 15+ years in performance marketing and led growth on 9+ startup exits across 75+ companies. He writes the Flight log for people who read search term reports for fun.

Receipts

  1. American Statistical Association: Statement on statistical significance and p-values (2016)
  2. Chris Stucchio: Easy evaluation of decision rules in Bayesian A/B testing (2014)
  3. Variance Explained: Is Bayesian A/B testing immune to peeking? Not exactly (David Robinson, 2015)
  4. Evan Miller: How not to run an A/B test