CUPED: more precision from data you already have
If you already know something about a user before the experiment starts — their spend last month, their sessions last week — you can use it to remove variance from the outcome that has nothing to do with the treatment. Same traffic, tighter interval.
The mechanic
CUPED was introduced by Alex Deng, Ya Xu, Ron Kohavi and Toby Walker in “Improving the Sensitivity of Online Controlled Experiments by Utilizing Pre-Experiment Data” (WSDM 2013).
CUPED adjusts each outcome by subtracting a multiple of the covariate’s deviation from its mean: Y_adjusted = Y − θ(X − mean(X)), with θ chosen as Cov(Y, X) / Var(X). Because the covariate is balanced across arms in expectation, the adjustment does not change the expected difference between them — it just removes shared variation from both sides.
The share of variance removed is the squared correlation between covariate and outcome. A correlation of 0.7 removes 0.49 of the variance, about half, which is roughly equivalent to doubling your sample.
The condition that matters
The covariate must be strictly pretreatment. Not "usually before", not "mostly unaffected" — measured before assignment and incapable of being influenced by the treatment.
Adjusting for something the treatment affects does not reduce variance. It biases the effect estimate, silently, in a direction you cannot sign without knowing the mechanism.
The classic trap is a variable that sounds like a user characteristic but is really an outcome. Payment method selected during checkout is not a customer attribute; it is downstream of the experience being tested. Same for session depth, pages viewed, or anything measured after the visitor met the treatment.
Why labeling comes first
This is why a serious pipeline labels every column as pretreatment, treatment, mediator, outcome or ambiguous before anything is modeled — and refuses to let an ambiguous one be used as prior context. The label is not documentation; it is the thing that decides whether an adjustment is variance reduction or bias.
Wind Tunnel refuses to approve a field mapping carrying a post-treatment role, and blocks the forecast if one reached the covariate set anyway.
Simulate your next test
Wind Tunnel is free today, by invitation. Start with a file export; live connections are set up with you. See what is included