Why must the CUPED covariate be measured pre-treatment and unaffected by treatment, and what breaks if it is not?

Quick Overview

Explain why a CUPED covariate has to come from before treatment assignment and what goes wrong when the treatment can move it. Tests understanding of the CUPED estimator, the bias a contaminated covariate adds to an A/B test effect, and practical rules for choosing the pre-period window.

Why must the CUPED covariate be measured pre-treatment and unaffected by treatment, and what breaks if it is not?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

Why must the covariate used in CUPED be measured pre-treatment and be unaffected by the treatment, and what breaks if this assumption is violated? ```hint Write out the estimator Write the CUPED-adjusted difference in means and look at the term that involves the covariate. What is its expected value under randomization, and what happens to it when the treatment can move the covariate? ``` ### What a Strong Answer Covers - The CUPED adjustment and why the covariate term has zero expectation under randomization - Why measuring the covariate before assignment is what guarantees that - The direction and size of the bias when the treatment moves the covariate - Why the variance reduction can make a biased estimate look more certain - Practical rules for choosing the covariate window and checking it ### Follow-up Questions - A covariate such as country at signup is recorded after assignment but cannot be changed by the treatment. Can you use it? - How do you handle users who have no pre-period history? - How would you detect after the fact that a CUPED covariate was contaminated by the treatment? - How does the length of the pre-period window affect the variance reduction?

Overview: Explain why a CUPED covariate has to come from before treatment assignment and what goes wrong when the treatment can move it. Tests understanding of the CUPED estimator, the bias a contaminated covariate adds to an A/B test effect, and practical rules for choosing the pre-period window.

General logo
General
Nov 24, 2026
mediumData ScientistOtherAnalytics & Experimentation
0
0

Why must the covariate used in CUPED be measured pre-treatment and be unaffected by the treatment, and what breaks if this assumption is violated?

What a Strong Answer Covers Guidance

  • The CUPED adjustment and why the covariate term has zero expectation under randomization
  • Why measuring the covariate before assignment is what guarantees that
  • The direction and size of the bias when the treatment moves the covariate
  • Why the variance reduction can make a biased estimate look more certain
  • Practical rules for choosing the covariate window and checking it

Follow-up Questions Guidance

  • A covariate such as country at signup is recorded after assignment but cannot be changed by the treatment. Can you use it?
  • How do you handle users who have no pre-period history?
  • How would you detect after the fact that a CUPED covariate was contaminated by the treatment?
  • How does the length of the pre-period window affect the variance reduction?