What is a mismatch between analysis and randomization units, and why does it matter for variance estimation?

Quick Overview

Asks what a mismatch between the randomization unit and the analysis unit means in an A/B test and why it affects variance estimates. Tests understanding of correlated observations, standard errors for ratio metrics, and how to get valid confidence intervals in online experiments.

What is a mismatch between analysis and randomization units, and why does it matter for variance estimation?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

What is the mismatch between the analysis unit and the randomization unit, and why does it matter for variance estimation? ```hint Count the independent units Ask which observations are actually independent of each other under the experiment's design, and what a textbook standard error formula assumes about that. ``` ```hint Ratio metrics For a metric such as clicks per page view, write it as a ratio of two per-user totals and think about how you would get the variance of that ratio. ``` ### What a Strong Answer Covers - A clear definition of the two units and a concrete example of a mismatch - Why observations that share a randomization unit are correlated, and what that does to a naive standard error and the false positive rate - How large the error can get as a function of observations per unit and within-unit correlation - Correct ways to estimate the variance at the randomization unit, including for ratio metrics - How aggregating to the randomization unit can change the quantity being estimated ### Follow-up Questions - How would an A/A test reveal that your variance estimate is wrong? - When does the delta method approximation break down, and what would you use instead? - What changes if you randomize at a coarse level, such as city or store, with only a few dozen units? - How do you interpret a ratio metric whose denominator is itself moved by the treatment?

Overview: Asks what a mismatch between the randomization unit and the analysis unit means in an A/B test and why it affects variance estimates. Tests understanding of correlated observations, standard errors for ratio metrics, and how to get valid confidence intervals in online experiments.

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

What is the mismatch between the analysis unit and the randomization unit, and why does it matter for variance estimation?

What a Strong Answer Covers Guidance

  • A clear definition of the two units and a concrete example of a mismatch
  • Why observations that share a randomization unit are correlated, and what that does to a naive standard error and the false positive rate
  • How large the error can get as a function of observations per unit and within-unit correlation
  • Correct ways to estimate the variance at the randomization unit, including for ratio metrics
  • How aggregating to the randomization unit can change the quantity being estimated

Follow-up Questions Guidance

  • How would an A/A test reveal that your variance estimate is wrong?
  • When does the delta method approximation break down, and what would you use instead?
  • What changes if you randomize at a coarse level, such as city or store, with only a few dozen units?
  • How do you interpret a ratio metric whose denominator is itself moved by the treatment?