r² is 0.75 on the eight users. What share of the variance does CUPED leave?
Pick one to see what it prints.
On the eight users the squared correlation is 0.75, and the variance left is 0.25=1−0.75. That's no accident. Put θ∗ back into the parabola, with the correlation ρ=σXY/(σXσY), and what's left is
Var(Y−θ∗X)=σY2(1−ρ2)
In words: the line explains a share ρ2 of the variance of Y, and CUPED removes exactly that share.
Nothing about the shape of Y was assumed: no normality, no linear model. It's algebra on two variances and a covariance. In a sample, with θ fitted on that same sample, it holds exactly with the sample's r. That's the practice problem's third test.
How much it buys depends on ρ alone. With CUPED, the σ2 in the sample-size formula becomes σ2(1−ρ2):
ρ
Variance left
Users needed
Interval width
0.3
0.91
91%
95%
0.5
0.75
75%
87%
0.7
0.51
51%
71%
0.9
0.19
19%
44%
The interval shrinks with the square root of the variance. So at ρ=0.7, a test that needs half the users still shows an interval 71% as wide. Bing's cut of about 50% corresponds to ρ≈0.71.
A weak covariate buys little: at ρ=0.3 the variance only falls to 0.91. In the sample it can't go up, because θ=0 is a point on the same U and the fitted θ is its floor.
In the editor, write rho_for(variance_left): the correlation a cut needs, such as Bing's half.
Pick an answer above to see the rest
Instructions
1
Write rho_for(variance_left): the correlation that leaves this share of the variance, the inverse of 1 - rho ** 2.