Explain post-stratification as an analysis-time variance reduction technique for heavy-tailed metrics

Quick Overview

Asks how post-stratification on a pre-period covariate reduces variance when analyzing an A/B test, with a focus on revenue-like metrics dominated by a few extreme users. Tests understanding of stratified estimators, variance decomposition, bias conditions and how the method fits with CUPED and capping.

Explain post-stratification as an analysis-time variance reduction technique for heavy-tailed metrics

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: hard

Interview Round: Other

Explain how post-stratification can be applied as an analysis-time variance reduction technique, particularly with heavy-tailed metrics. Assume an online A/B test on a revenue-like metric where a small share of users produce most of the value. ```hint Decompose the variance Write the metric's variance with the law of total variance, grouping by stratum. Ask which of the two terms a within-stratum comparison no longer pays for. ``` ```hint Where the extreme users go Think about which pre-period variable predicts who will produce the extreme values, and how much variance is left inside that group after you separate it. ``` ```hint Check for bias Ask what goes wrong if the treatment itself could move a user from one stratum to another. ``` ### What a Strong Answer Covers - The post-stratified estimator: per-stratum effects, the weights, and how to compute its standard error - Why the variance falls, in terms of between-stratum and within-stratum variance - Why stratifying on a predictor of magnitude helps a heavy-tailed metric, and which part of the tail it leaves behind - The conditions for an unbiased estimate and the practical choices (strata boundaries, small strata, users without history) - How it relates to CUPED and how it combines with capping ### Follow-up Questions - How does post-stratification compare with CUPED using the same pre-period revenue covariate? - What happens to bias and variance if the strata are defined on a metric measured during the experiment? - How many strata would you use, and how would you choose the boundaries? - If you also winsorize revenue, what does the estimate now measure, and how would you explain that to stakeholders?

Overview: Asks how post-stratification on a pre-period covariate reduces variance when analyzing an A/B test, with a focus on revenue-like metrics dominated by a few extreme users. Tests understanding of stratified estimators, variance decomposition, bias conditions and how the method fits with CUPED and capping.

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

Explain how post-stratification can be applied as an analysis-time variance reduction technique, particularly with heavy-tailed metrics.

Assume an online A/B test on a revenue-like metric where a small share of users produce most of the value.

What a Strong Answer Covers Guidance

  • The post-stratified estimator: per-stratum effects, the weights, and how to compute its standard error
  • Why the variance falls, in terms of between-stratum and within-stratum variance
  • Why stratifying on a predictor of magnitude helps a heavy-tailed metric, and which part of the tail it leaves behind
  • The conditions for an unbiased estimate and the practical choices (strata boundaries, small strata, users without history)
  • How it relates to CUPED and how it combines with capping

Follow-up Questions Guidance

  • How does post-stratification compare with CUPED using the same pre-period revenue covariate?
  • What happens to bias and variance if the strata are defined on a metric measured during the experiment?
  • How many strata would you use, and how would you choose the boundaries?
  • If you also winsorize revenue, what does the estimate now measure, and how would you explain that to stakeholders?