What are control variates, how do they relate to CUPED, and what makes a good control variate?

Quick Overview

Asks you to explain control variates as a variance reduction method, how CUPED applies the same idea to A/B tests, and what makes a covariate a good control variate. Tests understanding of unbiased adjustment, the optimal coefficient, and the conditions a covariate must meet to avoid biasing the treatment effect.

What are control variates, how do they relate to CUPED, and what makes a good control variate?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

Explain the concept of control variates. How are they related to CUPED, and what are the requirements for a good control variate? ```hint Minimize a variance Write the variance of $Y - c(Z - E[Z])$ as a function of $c$ and find the value of $c$ that makes it smallest. Express the result in terms of the correlation between $Y$ and $Z$. ``` ```hint Map it onto an A/B test In CUPED, ask what plays the role of $Z$, and why its expected difference between the treatment and control groups is zero. ``` ### What a Strong Answer Covers - The control variate estimator and why it stays unbiased for any coefficient. - The variance-minimizing coefficient and how much variance it removes as a function of the correlation. - How CUPED applies the same construction to an A/B test. - The properties that make a covariate a good control variate, including the bias risk when the covariate can be affected by treatment. ### Follow-up Questions - How does CUPED relate to adding the pre-period covariate to a linear regression of the metric on the treatment indicator? - What would you do for users who have no pre-experiment data? - How would you extend the method to several covariates, or to a model-based prediction of the metric? - Estimating the coefficient from the experiment data itself makes it random. Does that bias the effect estimate, and does it matter in practice?

Overview: Asks you to explain control variates as a variance reduction method, how CUPED applies the same idea to A/B tests, and what makes a covariate a good control variate. Tests understanding of unbiased adjustment, the optimal coefficient, and the conditions a covariate must meet to avoid biasing the treatment effect.

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

Explain the concept of control variates. How are they related to CUPED, and what are the requirements for a good control variate?

What a Strong Answer Covers Guidance

  • The control variate estimator and why it stays unbiased for any coefficient.
  • The variance-minimizing coefficient and how much variance it removes as a function of the correlation.
  • How CUPED applies the same construction to an A/B test.
  • The properties that make a covariate a good control variate, including the bias risk when the covariate can be affected by treatment.

Follow-up Questions Guidance

  • How does CUPED relate to adding the pre-period covariate to a linear regression of the metric on the treatment indicator?
  • What would you do for users who have no pre-experiment data?
  • How would you extend the method to several covariates, or to a model-based prediction of the metric?
  • Estimating the coefficient from the experiment data itself makes it random. Does that bias the effect estimate, and does it matter in practice?