How are ANCOVA and CUPED related for covariate adjustment in randomized experiments?

Quick Overview

Asks how CUPED and ANCOVA relate as ways to adjust an A/B test for a pre-experiment covariate, and when their treatment effect estimates match. It tests regression adjustment, variance reduction, the role of randomization, and extensions to several covariates.

How are ANCOVA and CUPED related for covariate adjustment in randomized experiments?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

Explain the relationship and equivalence between ANCOVA and CUPED as methods for covariate adjustment in randomized experiments. ```hint Write both estimators out Express the CUPED difference in adjusted means and the OLS coefficient on the treatment indicator in terms of the arm means of the outcome and the covariate. ``` ```hint Compare the slopes Check what data each method uses to estimate its slope on the covariate: the pooled sample, or deviations within each arm. ``` ### What a Strong Answer Covers - The CUPED adjusted metric, how its coefficient is chosen, and the estimator it produces. - The ANCOVA regression and which coefficient is the treatment effect. - Exactly when the two estimates coincide and how far apart they can be in a finite sample. - Why randomization keeps the adjustment unbiased and how much variance it removes. - Extensions: several covariates, a treatment-by-covariate interaction, and standard errors. ### Follow-up Questions - What goes wrong if the covariate is measured after users are exposed to the treatment? - How would you handle users who have no pre-period data? - With unequal allocation and heterogeneous effects, can one-covariate ANCOVA be less precise than the plain difference in means, and how do you guard against that? - If the pre-period covariate has correlation 0.3 with the outcome, is CUPED worth running?

Overview: Asks how CUPED and ANCOVA relate as ways to adjust an A/B test for a pre-experiment covariate, and when their treatment effect estimates match. It tests regression adjustment, variance reduction, the role of randomization, and extensions to several covariates.

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

Explain the relationship and equivalence between ANCOVA and CUPED as methods for covariate adjustment in randomized experiments.

What a Strong Answer Covers Guidance

  • The CUPED adjusted metric, how its coefficient is chosen, and the estimator it produces.
  • The ANCOVA regression and which coefficient is the treatment effect.
  • Exactly when the two estimates coincide and how far apart they can be in a finite sample.
  • Why randomization keeps the adjustment unbiased and how much variance it removes.
  • Extensions: several covariates, a treatment-by-covariate interaction, and standard errors.

Follow-up Questions Guidance

  • What goes wrong if the covariate is measured after users are exposed to the treatment?
  • How would you handle users who have no pre-period data?
  • With unequal allocation and heterogeneous effects, can one-covariate ANCOVA be less precise than the plain difference in means, and how do you guard against that?
  • If the pre-period covariate has correlation 0.3 with the outcome, is CUPED worth running?