Σ ProbaLab
Home Probability A/B Test Engine
Experiments

A/B Test Engine

Four things live together on this single page: a sample-size planner, a MDE minimiser, a significance calculator (frequentist + Bayesian) and a sequential peek-safe indicator. Paste one set of numbers and everything updates. Designed for product analysts running weekly experiments who are tired of five-tool pipelines.

Inputs

Sample / arm
—
MDE relative
—
P(T > C) [Bayes]
—
p-value [Frequentist]
—

Posterior of difference (Beta-Binomial)

Sequential peek at this sample

Adjusts the naive z for planned interim looks using a simplified O'Brien-Fleming boundary (provided here for one planned interim peek). For continuous peeking, use an always-valid test like mSPRT.

Adj. α (one peek)
—
Adj. α (5 peeks)
—
Adj. α (20 peeks)
—
Advertisement slot · natural placement

Use cases

PM experiment design

Estimate sample required before launch, then re-check at the interim peek.

E-commerce promo A/B

Quantifies lift over 1 week of data and warns when subtle effects need 4× the sample.

Newsletter tests

P(T > C) is a more intuitive Bayesian readout than p-values when reporting to non-statisticians.

Method note

When not to trust this

FAQ

Why does the Bayesian number look so different from p-value?

P-value assumes the null is true and asks "how surprising is this data?" Bayesian asks "given this data, is T better than C?". The Bayesian number is closer to what stakeholders actually want.

Can I use mSPRT or always-valid?

Not directly here. As a rule of thumb: if you peek 5+ times pre-stopping, you must use an always-valid test.