12/25
Part 3 of 5 · UnbiasedLearn and do

Center x, so the mean stays where it was

Two details decide whether the numbers on a dashboard still mean anything. The first is centering.

Each arm's mean of the adjusted metric, on the eight users
centered 5.25 and 6.75: lift +28.6%
uncentered 0.75 and 2.25: lift +200%
01234567
controltreatment

X−XˉX - \bar{X} averages to zero, so subtracting θ(X−Xˉ)\theta(X - \bar{X}) leaves the mean of YY exactly where it was. The adjusted metric stays in the original units at the original level: sessions per user still read as sessions per user.

Skip the centering and every value drops by an extra θXˉ\theta\bar{X} compared with the centered version. On the eight users that's 0.75×6=4.50.75 \times 6 = 4.5. Both arms drop by the same amount, so the difference between them survives: 1.5 in the figure.

Everything that uses a level breaks: the arm means on a dashboard, and the relative lift, which divides by the control mean. On the eight users the lift jumps from +28.6% to +200%.

In the editor, write arm_readout(y_adj, t): each arm's level and the lift, on both versions of the eight users.