How does randomization ensure that control and treatment groups are comparable?

Quick Overview

Asks how random assignment makes control and treatment groups comparable in an experiment such as an A/B test. Tests understanding of balance in expectation, selection bias, chance imbalance in small samples, balance checks, and what can break comparability after assignment.

How does randomization ensure that control and treatment groups are comparable?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: easy

Interview Round: Other

How does randomization ensure that control and treatment groups are comparable in an experiment such as an A/B test? ```hint What the coin flip ignores Assignment by chance cannot depend on anything about the unit. Ask what that implies for every trait in the two groups, measured or not, and whether it holds in each sample or only on average. ``` ### What a Strong Answer Covers - Why assignment that is independent of every unit attribute balances measured and unmeasured traits in expectation. - How that balance makes the difference in group outcomes an unbiased estimate of the treatment effect. - Chance imbalance in a single sample, how it shrinks with sample size, and how the analysis already accounts for it. - How to check in practice that randomization worked. - What can happen after assignment that breaks comparability. ### Follow-up Questions - A balance check shows that treatment users had noticeably higher spend before the test started. What do you do? - How does stratified (blocked) randomization differ from simple randomization, and when is it worth the extra work? - You analyze only the users who opened the new feature. Why does that break the comparison even though assignment was random? - What is a sample ratio mismatch, and what kinds of bugs cause one?

Overview: Asks how random assignment makes control and treatment groups comparable in an experiment such as an A/B test. Tests understanding of balance in expectation, selection bias, chance imbalance in small samples, balance checks, and what can break comparability after assignment.

Nov 25, 2026
easyData ScientistOtherAnalytics & Experimentation
0
0

How does randomization ensure that control and treatment groups are comparable in an experiment such as an A/B test?

What a Strong Answer Covers Guidance

  • Why assignment that is independent of every unit attribute balances measured and unmeasured traits in expectation.
  • How that balance makes the difference in group outcomes an unbiased estimate of the treatment effect.
  • Chance imbalance in a single sample, how it shrinks with sample size, and how the analysis already accounts for it.
  • How to check in practice that randomization worked.
  • What can happen after assignment that breaks comparability.

Follow-up Questions Guidance

  • A balance check shows that treatment users had noticeably higher spend before the test started. What do you do?
  • How does stratified (blocked) randomization differ from simple randomization, and when is it worth the extra work?
  • You analyze only the users who opened the new feature. Why does that break the comparison even though assignment was random?
  • What is a sample ratio mismatch, and what kinds of bugs cause one?