Explain the mathematical derivation of CUPED and why the estimator remains unbiased despite the adjustment.

Quick Overview

Asks for the derivation of CUPED, the A/B testing variance reduction method that uses a pre-experiment covariate, and a proof that the adjusted estimator stays unbiased. Tests expectation and variance algebra, choice of the adjustment coefficient, and the pre-treatment requirement.

Explain the mathematical derivation of CUPED and why the estimator remains unbiased despite the adjustment.

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

CUPED (Controlled-experiment Using Pre-Experiment Data) is a variance reduction method for A/B tests that adjusts each user's metric with a covariate measured before the experiment. Explain the mathematical derivation of CUPED and why the estimator remains unbiased despite the adjustment. ```hint Start from the expectation Write the adjusted metric as the outcome minus a multiple of a centered covariate, then take its expectation term by term. ``` ```hint Choosing the multiplier Write the variance of the adjusted metric as a function of the multiplier. It is a quadratic; where is its minimum? ``` ### What a Strong Answer Covers - The definition of the adjusted metric and the requirement on the covariate - The expectation argument showing the adjustment changes neither the mean nor the estimated treatment effect - The variance of the adjusted metric, the multiplier that minimizes it, and the resulting reduction factor - What changes when the multiplier and the covariate mean are estimated from the same data - What goes wrong if the covariate can be affected by the treatment ### Follow-up Questions - When does giving each arm its own multiplier bias the effect estimate, and when is it safe? - How would you handle users who have no pre-experiment data? - How does CUPED relate to a regression of the outcome on a treatment indicator and the covariate? - If the covariate has correlation 0.3 with the outcome, how much smaller can the sample be for the same power?

Overview: Asks for the derivation of CUPED, the A/B testing variance reduction method that uses a pre-experiment covariate, and a proof that the adjusted estimator stays unbiased. Tests expectation and variance algebra, choice of the adjustment coefficient, and the pre-treatment requirement.

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

CUPED (Controlled-experiment Using Pre-Experiment Data) is a variance reduction method for A/B tests that adjusts each user's metric with a covariate measured before the experiment. Explain the mathematical derivation of CUPED and why the estimator remains unbiased despite the adjustment.

What a Strong Answer Covers Guidance

  • The definition of the adjusted metric and the requirement on the covariate
  • The expectation argument showing the adjustment changes neither the mean nor the estimated treatment effect
  • The variance of the adjusted metric, the multiplier that minimizes it, and the resulting reduction factor
  • What changes when the multiplier and the covariate mean are estimated from the same data
  • What goes wrong if the covariate can be affected by the treatment

Follow-up Questions Guidance

  • When does giving each arm its own multiplier bias the effect estimate, and when is it safe?
  • How would you handle users who have no pre-experiment data?
  • How does CUPED relate to a regression of the outcome on a treatment indicator and the covariate?
  • If the covariate has correlation 0.3 with the outcome, how much smaller can the sample be for the same power?