Glossary

CUPED

CUPED (Controlled-experiment Using Pre-Experiment Data) uses each visitor's behaviour before a test to cut noise, so A/B test results get precise sooner.

CUPED stands for Controlled-experiment Using Pre-Experiment Data. It adjusts each visitor's outcome by what they did before the test started: much of the noise in revenue comes from who the visitors are, and pre-test data explains part of it.

Removing that noise narrows the intervals without biasing the result, so a test can reach a decision with fewer visitors. It helps most when many visitors have history, such as returning customers.

For exampleExample

A store whose visitors are mostly returning customers turns on CUPED for a revenue test; the 95% interval on revenue per visitor narrows noticeably for the same traffic.

What is CUPED in A/B testing?

CUPED is a way to make an A/B test more sensitive without more traffic. It subtracts the part of each visitor's result that their pre-test behaviour predicts, so the comparison between variants is less noisy and the estimated difference stays unbiased.

It was introduced by Alex Deng, Ya Xu, Ron Kohavi and Toby Walker at Microsoft, in "Improving the Sensitivity of Online Controlled Experiments by Utilizing Pre-Experiment Data" (WSDM 2013).

How does CUPED work?

For each visitor it computes Y − θ(X − mean of X): Y is the metric during the test, X the same metric before it, and θ the slope from regressing Y on X. X was measured before assignment, so the adjustment can't favour either variant.

The variance falls by a factor of 1 − ρ², where ρ is the correlation between X and Y. A correlation of 0.5 cuts the variance by a quarter, so the test needs roughly a quarter fewer visitors for the same precision.

When doesn't CUPED help?

When few visitors have pre-test data, as on a store whose traffic is mostly new visitors, or when past behaviour barely predicts the metric. It reduces noise only: it can't fix a test with a broken split or tracking.

Where it comes up

All terms