3/12
Part 2 of 7 · ControlsLearn and do

Add the confounder, and the coefficient compares like with like

Why add controls, as the Netflix statistics round asked (1 report)? Here's the answer in one run: put tenure in the model next to discount.

b2 = ols([discount, tenure], spend)
print(f"spend = {b2[0]:.1f} + {b2[1]:.2f} x discount + {b2[2]:.2f} x tenure")
Predict

With tenure in the model, what's the discount coefficient?

Pick one to see what it prints.
Predict

Tenure fixed the coefficient. Does that prove $1.51 is what a discount does?

Pick an answer above to see the rest