When and how would you use stratification, CUPED, or covariate adjustment to reduce variance in live online experiments?

Quick Overview

Asks when to use stratification, CUPED or regression covariate adjustment to reduce variance in online A/B tests, and how each one is applied. Tests the CUPED adjustment, the pre-treatment requirement, expected sample size savings and practical cases such as new users.

When and how would you use stratification, CUPED, or covariate adjustment to reduce variance in live online experiments?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

When and how would you use stratification, CUPED, or covariate adjustment to reduce variance in live online experiments? ```hint Start from what you know before the test All three methods use information available before treatment. Ask what you have for each unit: a segment label, a past value of the metric, or many features. ``` ```hint Size the gain For a single covariate, work out how the variance of the adjusted metric depends on the correlation between the covariate and the outcome. ``` ### What a Strong Answer Covers - Which method fits which kind of pre-experiment information - How each one is carried out, including the CUPED adjustment and how its coefficient is estimated - Why covariates must be measured before treatment, and why the estimand stays the same - How much variance can be removed and what that buys in sample size or runtime - Practical cases such as users with no pre-period data and ratio metrics ### Follow-up Questions - A third of the users in the test are new and have no pre-period data. How do you apply CUPED to them? - Your metric is revenue per session, randomized by user. How do you combine variance reduction with the delta method? - Why might adding dozens of covariates to the regression hurt in a small experiment? - How would you use a machine learning prediction of the outcome as the covariate, and what could go wrong?

Overview: Asks when to use stratification, CUPED or regression covariate adjustment to reduce variance in online A/B tests, and how each one is applied. Tests the CUPED adjustment, the pre-treatment requirement, expected sample size savings and practical cases such as new users.

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

When and how would you use stratification, CUPED, or covariate adjustment to reduce variance in live online experiments?

What a Strong Answer Covers Guidance

  • Which method fits which kind of pre-experiment information
  • How each one is carried out, including the CUPED adjustment and how its coefficient is estimated
  • Why covariates must be measured before treatment, and why the estimand stays the same
  • How much variance can be removed and what that buys in sample size or runtime
  • Practical cases such as users with no pre-period data and ratio metrics

Follow-up Questions Guidance

  • A third of the users in the test are new and have no pre-period data. How do you apply CUPED to them?
  • Your metric is revenue per session, randomized by user. How do you combine variance reduction with the delta method?
  • Why might adding dozens of covariates to the regression hurt in a small experiment?
  • How would you use a machine learning prediction of the outcome as the covariate, and what could go wrong?