Sample Ratio Mismatch (SRM)
On this page
Definition
Sample Ratio Mismatch is a gap between observed group shares and the intended split. With a planned 50/50, actual 49.7/50.3 on a large sample is not noise but a sign that randomisation, logging, or filtering is broken. SRM poisons the whole test: it distorts both the Type I error and the effect estimate.
How to compute
Use a chi-square goodness-of-fit test: with degrees of freedom, where are observed and expected group sizes. Set a strict threshold, : with many daily checks, controlling false alarms matters more than sensitivity. Check the split at the funnel entry, not only on collected metrics.
Pitfalls
SRM is invisible on small samples, so test on full traffic. Bot filtering and survivorship can create or hide a skew. You cannot “fix” SRM by reweighting after the fact: find the cause first, then decide whether the test is usable.