What is the design effect in clustered randomization, and how does it relate to variance inflation in A/B tests?

Quick Overview

Asks for the definition of the design effect under cluster randomization and how it inflates the variance of A/B test estimates. Tests the formula with intra-cluster correlation, effective sample size, standard error correction and how clustering changes power planning.

What is the design effect in clustered randomization, and how does it relate to variance inflation in A/B tests?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

What is the design effect in clustered randomization, and how does it relate to variance inflation in A/B tests? Assume the experiment assigns whole clusters (cities, stores, accounts) to control or treatment and measures outcomes on the individuals inside them. ```hint Variance of a cluster mean Write the variance of the average of m outcomes that share a pairwise correlation, and compare it with the variance when the m outcomes are independent. ``` ```hint Check the extremes Ask what the effective sample size becomes when people in a cluster are uncorrelated, and when they are identical. ``` ### What a Strong Answer Covers - What the design effect measures and how it is defined. - The formula in terms of cluster size and intra-cluster correlation, and what effective sample size means. - What happens to standard errors, confidence intervals and false positive rates when the clustering is ignored. - How the design effect enters power calculations, and how the number and size of clusters each affect power. - Ways to analyze clustered data correctly or reduce the inflation. ### Follow-up Questions - How would you estimate the intra-cluster correlation before launching the test? - Cluster sizes vary widely across your cities. How does that change the design effect? - The experiment randomizes users but the metric is computed per session. Where does the same problem show up, and how do you fix it? - With only 20 clusters per arm, which analysis would you trust?

Overview: Asks for the definition of the design effect under cluster randomization and how it inflates the variance of A/B test estimates. Tests the formula with intra-cluster correlation, effective sample size, standard error correction and how clustering changes power planning.

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

What is the design effect in clustered randomization, and how does it relate to variance inflation in A/B tests? Assume the experiment assigns whole clusters (cities, stores, accounts) to control or treatment and measures outcomes on the individuals inside them.

What a Strong Answer Covers Guidance

  • What the design effect measures and how it is defined.
  • The formula in terms of cluster size and intra-cluster correlation, and what effective sample size means.
  • What happens to standard errors, confidence intervals and false positive rates when the clustering is ignored.
  • How the design effect enters power calculations, and how the number and size of clusters each affect power.
  • Ways to analyze clustered data correctly or reduce the inflation.

Follow-up Questions Guidance

  • How would you estimate the intra-cluster correlation before launching the test?
  • Cluster sizes vary widely across your cities. How does that change the design effect?
  • The experiment randomizes users but the metric is computed per session. Where does the same problem show up, and how do you fix it?
  • With only 20 clusters per arm, which analysis would you trust?