The Hidden Cost of Winsorizing

Mårten Schultzberg13 Oct 2026

Problem

Revenue and session duration are heavy-tailed. A few extreme users produce most of the variance, so experiments take longer to reach significance. Most experimentation platforms respond by winsorizing, which clips values at a percentile of the observed data (for example the 99.9th) computed across both arms together. The treatment changes behavior, so it also moves that percentile. The measured effect shrinks, and few teams notice.

Example from the article: five control users spend $8, $10, $12, $15 and $200, five treated users spend $10, $14, $16, $20 and $300. The raw effect is $23 ($72 vs $49). A pooled threshold of $200 clips the $300, the treatment mean falls to $52 and the effect to $3.

Solution in brief

Replace the data-dependent percentile with a fixed cap that domain knowledge sets before the experiment. The threshold then cannot react to the treatment, and choosing it forces a decision about what an extreme value means. If no cap can be set, winsorize each arm separately and test sensitivity to the percentile.

Questions this case answers
  • How to reduce the variance of a heavy-tailed outcome in a randomized comparison without letting the treatment itself move the clipping threshold and bias the effect estimate
  • How to handle extreme values in a revenue metric of an A/B test without shrinking the treatment effect?
  • How to choose between capping and winsorizing outliers in experiment analysis?
  • How to tell a logging error from a legitimate extreme user when cleaning experiment metrics?

Tools and methods

  • Capping — fixed, pre-specified threshold, the same in every arm and experiment
  • Pooled winsorizing — percentile threshold computed over all arms; biases the effect toward zero
  • Per-arm winsorizing — percentile computed inside each arm; fallback when no natural cap exists
  • Percentile sensitivity check — rerun the analysis at nearby thresholds
Continue reading — it's free

Google or a one-time email code. No password.