Interactive

Experiment lab

Design an experiment before it runs: choose a sample size, check the false-positive rate, and see what peeking costs.

Sample-size calculator

How many users each arm needs to detect a minimum relative lift at a chosen significance and power.

The two-sided two-proportion sample size, balancing the false-positive rate you set against the chance of detecting the lift if it is real. It updates as you type.

A/A simulator

Split users into two arms that both receive the same baseline rate and check how often the test calls a difference that is not there.

With no real effect a correct test rejects at about alpha. The histogram of p-values should be flat, because under the null every p-value is equally likely.

Peeking demo

Run the same A/A test but look at the result after every day, and stop as soon as it is significant.

Repeated testing inflates false positives. The flat line is the rate from a single end-of-test look; the rising line is what happens when you stop at the first significant day.