4/25
Part 1 of 5 · Less varianceLearn and do

Last week's sessions predict this week's

Here are eight users, the same eight as in the worked example. xx is each user's sessions in the week before the test, and yy their sessions in the test's first week.

import numpy as np

# sessions, the week before
x = np.array([2.0, 4, 6, 8, 4, 6, 8, 10])
# sessions, the test week
y = np.array([2.0, 4, 5, 7, 6, 8, 7, 9])
print(np.corrcoef(x, y)[0, 1].round(3))
Predict

How strongly do the eight users' x and y move together?

Pick one to see what it prints.
Pick an answer above to see the rest
Predict

The line expects 6 sessions from both users at x = 6. The treatment user did 8 and the control user 5. What does CUPED keep for each?

Pick an answer above to see the rest