What is the mathematical form of the CUPED-adjusted metric, and how is the optimal theta typically estimated?

Quick Overview

Asks for the formula of the CUPED-adjusted metric used in A/B tests and how its coefficient is estimated from experiment data. Tests understanding of pre-experiment covariates, the link to regression, and what determines how much variance the adjustment removes.

What is the mathematical form of the CUPED-adjusted metric, and how is the optimal theta typically estimated?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

What is the mathematical form of the CUPED-adjusted metric, and how is the optimal coefficient $\theta$ typically estimated? Assume a two-arm online experiment in which most users also have data from a period before the experiment started. ```hint What goes in the covariate Think about the property the covariate must have so that adjusting by it leaves the expected treatment effect unchanged. ``` ```hint A familiar formula The best coefficient is the one that minimizes the variance of the adjusted metric. Which standard regression quantity has the same formula? ``` ### What a Strong Answer Covers - The adjusted metric for one unit and the treatment effect estimator built from it - Why centering the covariate and measuring it before the experiment keep the estimate unbiased - The formula for the optimal $\theta$ and how it is computed from sample data in practice - How much variance the adjustment removes and what drives that amount ### Follow-up Questions - How does the CUPED estimate relate to an OLS regression of $Y$ on a treatment indicator and $X$? - The metric is new and has no pre-period history. What covariate could you use? - How would you apply CUPED to a ratio metric such as clicks per session? - How do you choose the length of the pre-experiment window?

Overview: Asks for the formula of the CUPED-adjusted metric used in A/B tests and how its coefficient is estimated from experiment data. Tests understanding of pre-experiment covariates, the link to regression, and what determines how much variance the adjustment removes.

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

What is the mathematical form of the CUPED-adjusted metric, and how is the optimal coefficient θ\theta typically estimated?

Assume a two-arm online experiment in which most users also have data from a period before the experiment started.

What a Strong Answer Covers Guidance

  • The adjusted metric for one unit and the treatment effect estimator built from it
  • Why centering the covariate and measuring it before the experiment keep the estimate unbiased
  • The formula for the optimal θ\theta and how it is computed from sample data in practice
  • How much variance the adjustment removes and what drives that amount

Follow-up Questions Guidance

  • How does the CUPED estimate relate to an OLS regression of YY on a treatment indicator and XX ?
  • The metric is new and has no pre-period history. What covariate could you use?
  • How would you apply CUPED to a ratio metric such as clicks per session?
  • How do you choose the length of the pre-experiment window?