What are the implications of randomizing by accounts instead of users, especially for sample size and runtime?

Quick Overview

Asks what changes when an experiment randomizes accounts instead of individual users. Tests understanding of independent units, intra-account correlation, the design effect on sample size and runtime, clustered analysis, and when account-level assignment is the right design.

What are the implications of randomizing by accounts instead of users, especially for sample size and runtime?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

What are the implications of randomizing by accounts instead of users, especially for sample size and runtime? ```hint Count the units Count the independent units under each design, and ask how similar two users in the same account are likely to be. ``` ### What a Strong Answer Covers - How the number of independent units changes and why that matters for power. - Why outcomes are correlated within an account, and how that changes the variance estimate and the analysis. - A quantitative way to adjust the required sample size, and what it means for runtime. - The effect of uneven account sizes and a few very large accounts. - When account-level randomization is still the right design. ### Follow-up Questions - Your metric is revenue per user, but you randomized accounts. How would you compute its variance? - How would you estimate the intra-cluster correlation before the test starts? - A handful of enterprise accounts generate a large share of usage. How would you design and analyze the test? - Some users belong to more than one account. What problems does that cause, and how would you handle them?

Overview: Asks what changes when an experiment randomizes accounts instead of individual users. Tests understanding of independent units, intra-account correlation, the design effect on sample size and runtime, clustered analysis, and when account-level assignment is the right design.

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

What are the implications of randomizing by accounts instead of users, especially for sample size and runtime?

What a Strong Answer Covers Guidance

  • How the number of independent units changes and why that matters for power.
  • Why outcomes are correlated within an account, and how that changes the variance estimate and the analysis.
  • A quantitative way to adjust the required sample size, and what it means for runtime.
  • The effect of uneven account sizes and a few very large accounts.
  • When account-level randomization is still the right design.

Follow-up Questions Guidance

  • Your metric is revenue per user, but you randomized accounts. How would you compute its variance?
  • How would you estimate the intra-cluster correlation before the test starts?
  • A handful of enterprise accounts generate a large share of usage. How would you design and analyze the test?
  • Some users belong to more than one account. What problems does that cause, and how would you handle them?