What is stratified randomization, and how does it help reduce variance in A/B experiments?

Quick Overview

Asks what stratified randomization is and how it lowers the variance of treatment effect estimates in A/B tests. Tests the within and between variance decomposition, how strata are chosen, how the analysis must use them, and how it compares with post-stratification and CUPED.

What is stratified randomization, and how does it help reduce variance in A/B experiments?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

What is stratified randomization, and how does it help reduce variance in A/B experiments? ```hint Decompose the variance Split the variance of the outcome into a between-strata part and a within-strata part. Which part can a chance imbalance between the arms turn into noise in the estimate? ``` ```hint Think about the analysis After the experiment, would a plain difference in means with the usual standard error make use of the stratification? ``` ### What a Strong Answer Covers - How strata are chosen and how assignment works inside them - The mechanism by which the variance of the effect estimate falls - What determines the size of the gain - How the analysis must change to realize the gain - Practical limits, and alternatives such as post-stratification or regression adjustment ### Follow-up Questions - How does stratifying at assignment compare with post-stratification in a large online experiment? - How does CUPED relate to stratification? - What goes wrong if you create many strata with only a handful of users each? - If the treatment share differs across strata, how must the estimator change?

Overview: Asks what stratified randomization is and how it lowers the variance of treatment effect estimates in A/B tests. Tests the within and between variance decomposition, how strata are chosen, how the analysis must use them, and how it compares with post-stratification and CUPED.

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

What is stratified randomization, and how does it help reduce variance in A/B experiments?

What a Strong Answer Covers Guidance

  • How strata are chosen and how assignment works inside them
  • The mechanism by which the variance of the effect estimate falls
  • What determines the size of the gain
  • How the analysis must change to realize the gain
  • Practical limits, and alternatives such as post-stratification or regression adjustment

Follow-up Questions Guidance

  • How does stratifying at assignment compare with post-stratification in a large online experiment?
  • How does CUPED relate to stratification?
  • What goes wrong if you create many strata with only a handful of users each?
  • If the treatment share differs across strata, how must the estimator change?