INFINITE UPSIDE

Business and technology

What to Investigate After a Sample Ratio Mismatch

A missing user can change the result. Find where the population changed before repairing the calculation.

An experiment shows a promising lift, but its treatment and control groups contain the wrong proportions of users. The tempting response is to adjust the denominator and carry on. I would first find the people who disappeared. They may be the most interesting people in the test.

A sample ratio mismatch, or SRM, is a statistically detected departure from the experiment's intended allocation ratio. It is a reason to investigate how observations entered the analysis before interpreting a treatment effect. Unequal counts alone do not establish SRM: the allocation could intentionally be unequal, and ordinary random variation depends on sample size.

Missing users can reverse the story

Microsoft's September 2020 primary account describes an MSN image-carousel experiment. Increased engagement in the new version caused a bot-detection process to remove affected users. The apparent engagement result reversed after the problem was corrected. This is the team's reported case, not a test we ran.

That example makes the commercial problem clear. A feature can change both customer behavior and the chance that the behavior survives into a dashboard. A more precise conversion calculation cannot restore observations the pipeline selectively removed.

Start before the result

Recover the planned allocation, randomization unit, eligibility rule and analysis period. Microsoft's March 2021 alerting account defines its SRM comparison against the configured ratio of randomization units. A person, browser identifier and session are different units. Use a mismatch test suited to the actual design and a threshold selected before inspecting the result; a platform's particular threshold is not a universal rule.

Then follow four boundaries: assignment, exposure, collected events and the final analysis population. Ask where the proportions first change. The same symptom can arise at different stages, so the first alert should begin a diagnosis rather than pronounce a cause.

If assignment is already wrong

Suppose an authorized investigation of a fictional, already-flagged test finds that the assignment ledger itself deviates from the intended split. Before blaming telemetry, inspect the assignment mechanism: identifiers, bucketing, eligibility, changes in the ramp and any way users can select a version. Establish whether the counting system is measuring the units the plan actually randomized.

A later log repair would not answer that earlier problem. Nor should an analyst quietly reassign users to make the final totals attractive. Keep the original allocation record and document what changed before deciding whether a corrected test needs to start again.

If assignment is clean but observations are missing

In a separate fictional case, the complete assignment ledger has 2,000 distinct people in each version. The analyzed event file contains all 2,000 in A but only 1,800 in B. There are 200 assigned B people to account for. These counts illustrate a reconciliation; they do not supply a significance calculation or diagnose a real experiment.

Check whether the new experience changes redirects, completion speed, app exits or event emission. Inspect processing joins, duplicate removal and filters as well. Compare the missing group by relevant pre-treatment characteristics and by time. If the defect begins with one release or one browser, that is useful evidence about where to look, not permission to discard the awkward segment.

It matters whether a person did not use the feature, used it without producing an event, or produced an event later lost in processing. Those possibilities can require different remedies and imply different biases. A blank in the event table does not settle which occurred.

If only a triggered analysis fails

A triggered analysis restricts attention to users satisfying a condition. Microsoft's account recommends comparing that view with the corresponding untriggered population and checking whether the condition and its logging work in both versions. A condition based on a new feature can select people differently precisely because the treatment exists.

For an original example, imagine a quotation tool adding a new validation message in B. An analysis restricted to people who saw that message cannot automatically supply a comparable A population: A has no such message. The analyst needs an eligibility condition and measurement design that identify the relevant opportunity in both versions, not a control group manufactured by a post-treatment event.

A clean overall split with a broken triggered split helps localize the investigation. It does not prove the assignment or every other metric is correct. Conversely, equal final counts can conceal offsetting losses. The useful question is how the population was formed.

Make the repair auditable

Keep the original result, assignment evidence, affected population, suspected mechanism and the exact proposed repair. Rebuild the comparison under a documented rule. Establish whether omitted outcomes can genuinely be recovered and whether the repaired analysis still answers the planned question. If they cannot, say which inference remains unavailable.

Do not search for a convenient filter that removes the alert while preserving the preferred lift. That would give the dashboard excellent manners and leave the experiment with the same missing people.

Once the population problem is resolved, return to the conversion-test interpretation: effect size, uncertainty, the actual stopping rule and business value. Passing an SRM check is one data-quality check. It does not establish that a treatment is useful, that a metric captures customer welfare or that other experimental assumptions hold.

Explore Infinite Upside

For Vijay Sheth’s personal accounts, read Infinite Upside: Building Wealth With Room to Live, published by Sheth Capital, Inc.

Find your edition · Chapter companion

ABOUT THE CONTRIBUTOR

Luna Lim

DIRECTOR OF FINANCIAL RESEARCH & EDITORIAL STRATEGY

SHETH CAPITAL, INC.

Luna Lim writes about business, investing, and the judgment behind financial decisions. She joined PCH Exotics Inc. as Director of Operations in 2022, working across La Jolla and Miami. Today, she reports directly to Vijay Sheth at Sheth Capital, Inc., bringing an operator’s perspective to the ideas she covers.

Based in Pacific Beach, California, Luna is curious about the people behind the numbers: what they’re building, how they weigh uncertainty, and what makes a risk worth taking. Her articles for Infinite Upside follow those questions through the details, with clear explanations and a feel for how decisions play out in everyday business.

More from Luna Lim

The Infinite Upside store