What are the practical considerations for choosing the appropriate length of the pre-period window for CUPED?

Quick Overview

Asks how to choose the length of the pre-experiment window used as the covariate in CUPED variance reduction for A/B tests. Tests understanding of covariate correlation, user coverage, stale history, missing data for new users and when a covariate choice could bias the treatment effect.

What are the practical considerations for choosing the appropriate length of the pre-period window for CUPED?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

What are the practical considerations for choosing the appropriate length of the pre-period window for CUPED? CUPED adjusts each user's experiment metric using a covariate measured before the experiment started, usually the same metric over some pre-period window. ```hint What the adjustment gains Write the variance reduction in terms of the correlation between the pre-period covariate and the experiment metric, then ask how window length changes that correlation and how many users have a value at all. ``` ### What a Strong Answer Covers - How the variance reduction depends on the correlation between the covariate and the outcome - What a longer window gains and what it costs - How to handle users with no pre-period data - When the choice of window can and cannot bias the treatment effect estimate - How to pick and validate the window in practice ### Follow-up Questions - Your experiment targets new users, most of whom have no history. What do you do? - How would you use several pre-period windows at once? - The experiment was ramped to 1% of traffic a week before full launch. Where should the pre-period end? - How does the choice change for a ratio metric such as click-through rate?

Overview: Asks how to choose the length of the pre-experiment window used as the covariate in CUPED variance reduction for A/B tests. Tests understanding of covariate correlation, user coverage, stale history, missing data for new users and when a covariate choice could bias the treatment effect.

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

What are the practical considerations for choosing the appropriate length of the pre-period window for CUPED? CUPED adjusts each user's experiment metric using a covariate measured before the experiment started, usually the same metric over some pre-period window.

What a Strong Answer Covers Guidance

  • How the variance reduction depends on the correlation between the covariate and the outcome
  • What a longer window gains and what it costs
  • How to handle users with no pre-period data
  • When the choice of window can and cannot bias the treatment effect estimate
  • How to pick and validate the window in practice

Follow-up Questions Guidance

  • Your experiment targets new users, most of whom have no history. What do you do?
  • How would you use several pre-period windows at once?
  • The experiment was ramped to 1% of traffic a week before full launch. Where should the pre-period end?
  • How does the choice change for a ratio metric such as click-through rate?