How do you handle outliers in A/B test metrics like revenue?

Quick Overview

An experimentation question that asks how to deal with extreme values in skewed A/B test metrics such as revenue per user. It tests whether you understand how outliers affect estimates and power, and the trade-offs between capping, metric decomposition, variance reduction and nonparametric methods.

How do you handle outliers in A/B test metrics like revenue?

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: medium

Interview Round: Other

How do you handle outliers in A/B test metrics like revenue? ```hint One extreme user Work out what a single very large value does to the difference in means and to its standard error. ``` ```hint What each fix changes Each remedy lowers variance, changes the quantity being estimated, or both. For every option you propose, say which. ``` ### What a Strong Answer Covers - Why heavy right tails hurt an experiment: the point estimate swings with a few users and the variance inflates, which cuts power. - Checking extreme values for fraud, test accounts and logging bugs before treating them statistically. - Capping or winsorizing with a threshold fixed in advance and applied the same way to both arms, plus the bias that introduces. - Other options (splitting conversion from spend, variance reduction with pre-experiment data, transformations, rank and quantile methods) and what each one actually estimates. - How to report and decide: which metric is primary, and showing capped and uncapped results side by side. ### Follow-up Questions - The treatment is a premium tier aimed at the biggest spenders. How does that change your view on capping? - How does CUPED reduce variance for a revenue metric, and why does it not bias the estimate? - The capped metric shows a significant lift and the uncapped metric does not. What do you tell the product team? - How would you choose the cap percentile, and how does the choice enter the power calculation?

Overview: An experimentation question that asks how to deal with extreme values in skewed A/B test metrics such as revenue per user. It tests whether you understand how outliers affect estimates and power, and the trade-offs between capping, metric decomposition, variance reduction and nonparametric methods.

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

How do you handle outliers in A/B test metrics like revenue?

What a Strong Answer Covers Guidance

  • Why heavy right tails hurt an experiment: the point estimate swings with a few users and the variance inflates, which cuts power.
  • Checking extreme values for fraud, test accounts and logging bugs before treating them statistically.
  • Capping or winsorizing with a threshold fixed in advance and applied the same way to both arms, plus the bias that introduces.
  • Other options (splitting conversion from spend, variance reduction with pre-experiment data, transformations, rank and quantile methods) and what each one actually estimates.
  • How to report and decide: which metric is primary, and showing capped and uncapped results side by side.

Follow-up Questions Guidance

  • The treatment is a premium tier aimed at the biggest spenders. How does that change your view on capping?
  • How does CUPED reduce variance for a revenue metric, and why does it not bias the estimate?
  • The capped metric shows a significant lift and the uncapped metric does not. What do you tell the product team?
  • How would you choose the cap percentile, and how does the choice enter the power calculation?