# Sample Ratio Mismatch

> Source: https://modeladay.com/models/sample-ratio-mismatch/
> Category: principle | Topics: science, systems, decision | Difficulty: 3/5

## Definition

Sample ratio mismatch occurs when observed group counts depart from the planned allocation beyond ordinary random fluctuation. It can flag problems in assignment, logging, filtering, matching or attrition.

## Core Rule

Sample ratio mismatch occurs when observed group counts depart from the planned allocation beyond ordinary random fluctuation. It can flag problems in assignment, logging, filtering, matching or attrition.

## Opening Context

The team at Microsoft's MSN homepage put a few more cards in its image carousel. They went from twelve to sixteen, figuring that people would look through more of them. The engagement report came back with a surprise. It looked as if people clicked less.

Look across the report and there's another surprise. The test had a plan for splitting visitors between versions, so why were so many people missing from the new one?

That's a Sample Ratio Mismatch, a gap between the proportions you planned and the ones you counted that's too big to readily explain by chance. Follow the missing people and you'll see why the report nearly sent the team the wrong way.

## How It Works (Preview)

Leave the clicks aside and follow the people. Say two buses pick up passengers from lists drawn at random. You'd check those lists against who got off at the end, because counting occupied seats won't tell you who left the bus early.

When Microsoft researchers looked back on the test, they found that the site had logged the interactions. The trouble came when the site screened out activity that looked like it came from bots. That was supposed to keep automated clicks from swamping the actions of actual visitors.

## When It Fails (Preview)

When the alarm goes off, pause before you act on the experiment. The next thing to find out is whether there's a surprise in the counts or just a feature of your plan.

## Full Lesson, Audio & Practice

Get the full Sample Ratio Mismatch breakdown, 5-minute audio lesson, interactive mechanism animation, and decision checklist in the ConceptFlow app:
- iOS App Store: https://apps.apple.com/app/conceptflow-mental-models/id6756862333
- Google Play: https://play.google.com/store/apps/details?id=com.juxianyp.conceptflow
- Web page: https://modeladay.com/models/sample-ratio-mismatch/

## Related Mental Models

- [Missing Data Mechanisms](https://modeladay.com/models/missing-data-mechanisms/)
- [Negative Controls](https://modeladay.com/models/negative-controls/)
- [Randomized Controlled Trial](https://modeladay.com/models/randomized-controlled-trial/)
