Problem
Per-user metrics such as job applications have a second peak of extreme users. These users inflate variance and hide real effects in A/B tests. Analysts therefore cut the top percent of users, but there is no universal rule for the percentile. If the cutoff is picked after the results are in, an analyst can almost always find one that makes the test significant. The false positive rate then becomes higher than the nominal 5%.
Example from the article: a test of a machine learning model that looked good offline was not significant (p-value above 0.05). Dropping the top 0.01% of applicants (99.99 percentile) made it significant, but a stricter cut of 4% or more brought the uncertainty back.
Solution in brief
Treat the percentile cutoff as part of the experiment design, not as a post-hoc tweak. Fix it before the test starts, and define outliers on a pre-experiment period so the treatment cannot create them. If a pre-period is not available, check any filtering rule with A/A simulations against the expected false positive rate.
Questions this case answers
- How to remove extreme users from a heavy-tailed per-user metric in an experiment without choosing the cutoff after seeing the result
- How to verify that a post-hoc data filtering rule keeps the false positive rate at the nominal level
- How to cut the variance of a heavy-tailed metric in an A/B test without inflating false positives?
- How to choose a percentile cutoff for outlier users without tuning it to the result?
Tools and methods
- Percentile cutoff filter — drops users above a chosen percentile of the metric to reduce variance
- Pre-experiment outlier definition — flags unusual users on data from before the test, so the filter is independent of the treatment
- A/A simulations — measure the real type I error of a filtering procedure
Google or a one-time email code. No password.