TL;DR
A total can move the opposite way from every group inside it. When Biscuit's quick and tricky chats both improved but the overall resolution rate fell from 52% to 40%, a flood of tricky holiday questions caused the drop. That flip is called Simpson's paradox, and splitting a metric by group catches it.
- A total is a blend of its groups, so it leans toward the biggest one. When the mix shifts, the total can fall even while every group gets better.
- In Berkeley's 1973 graduate admissions, men were admitted at 44% and women at 35%, yet women did as well or better in four of the six largest departments. Women had mostly applied to the hardest ones.
- Turning an A/B test up from 1% to 50% of traffic can make a version that wins every day look like a loser once the days are added together.
- Split by something that was settled before the change, like device or question type, and compare the rates and the counts together.
Every Monday morning, our team at Crumb & Co. opens the dashboard for Biscuit, the help desk bot on the bakery's website. This Monday, the number we care about most took a dive. The share of chats Biscuit handled on its own dropped from 52% to 40%, in the same week Wren shipped a new version of Biscuit's instructions. Wren's finger is already hovering over the rollback button.
Before we let Wren press it, we are going to slice that one number in two and watch both halves tell a very different story. Along the way, we'll see how a trend can flip upside down when we add groups together, why it happens, and the small habit that keeps it from fooling us (and the AI agents we ask to read our dashboards).
Onwards!
A Bad Week for Biscuit
Here is the chart we're all staring at:
For six weeks, Biscuit resolved between 51% and 53% of our chats. In the week of November 30, the week Wren shipped v2, that share fell to 40%. Resolved means the same thing it meant when we picked Biscuit's north star metric: the customer got what they came for without needing a person. If this chart were all we had, v2 would look like a disaster, and we'd roll it back today.
Splitting the Chats in Two
Biscuit gets two very different kinds of questions. Some are quick, like store hours, prices, and pickup times. Others are tricky, like custom cakes, allergies, and changes to an order that's already in the oven. Tricky chats often end with Biscuit handing the customer to Tess, our support lead.
Here is one of each:
What we are going to do is look at how v2 did on each kind of question by itself. We'll compare the week before v2 with v2's first week:
On quick questions, v2 resolved 75% of our chats, up from 70%. On tricky questions, it resolved 24%, up from 20%. Both kinds of questions got better! When we add them back together, though, our total still drops from 52% to 40%.
How can every part improve while the whole gets worse? Here is Wren's reaction, more or less:
Nobody made a math mistake here. There's something about totals that we haven't accounted for yet, and it's going to explain the whole thing.
Where Did the Drop Come From?
The answer is hiding in how many chats of each kind Biscuit got. December is when holiday cake orders show up, and holiday cake orders are almost all tricky:
The week before v2, we saw 1,240 chats, and 440 of them (about 35%) were tricky. In v2's first week, we saw 1,600 chats, and 1,100 of them (about 69%) were tricky. Nothing about v2 caused that. Our customers simply asked harder questions in December.
This matters because a total is a blend of its groups. Each group pulls our total toward its own rate, and the bigger the group, the harder it pulls. A seesaw is a nice way to picture this. Each kind of question is a weight that sits at its resolution rate. The weight's size is how many chats it had, and our total sits at the balance point.
Here are our two weeks as seesaws:
Before v2, the heavy weight was the quick questions, so the balance point sat up at 52%. With v2, both weights slid to the right, which means both kinds of questions improved. The catch is that the tricky weight became the heavy one, and that heavy weight dragged the balance point left to 40%.
When a trend shows up in every group but flips (or vanishes) once we combine the groups, there's a name for it. It's called Simpson's paradox, after the British statistician Edward Simpson, who described it in a 1951 paper. No relation to Homer. Karl Pearson and Udny Yule had noticed the same effect decades earlier, and Colin Blyth gave it Simpson's name in a 1972 paper.
So, did v2 make Biscuit better or not? We can answer that fairly by asking how v2 would have done on the old mix of questions:
If v2 had seen the late-November mix of 800 quick chats and 440 tricky ones, it would have resolved 57% of them, up from 52%. This means v2 is a real improvement. Wren's finger leaves the rollback button, and our 40% goes back to being what it always was: a sign that December brings a lot of hard questions.
What Is the Berkeley Admissions Example?
Simpson's paradox isn't just a dashboard quirk. One of the most famous examples comes from graduate admissions at the University of California, Berkeley, in the fall of 1973:
Men were admitted at a rate of 44%, and women at 35%. That gap looks like clear evidence of bias against women, and it deserved a close look. Peter Bickel, Eugene Hammel, and J. W. O'Connell split the numbers by department, and they published what they found in Science in 1975.
We are going to look at the six largest departments, which the paper labels A through F:
In four of the six, women were admitted at a higher rate than men. Across all 85 departments, the authors found 4 that were significantly biased against women and 6 that were significantly biased against men. Where did the big overall gap come from? It came from the same place as Biscuit's drop, which is where each group showed up:
About 51% of men's applications went to the two departments that admitted most of their applicants. Only 7% of women's applications did. Women mostly applied to departments that turned most people away, whoever they were.
The authors concluded that the gap came from earlier in women's education, which steered them toward fields that were more crowded and harder to get into. The split didn't make the question of fairness go away. It moved that question to a different place, and that's a lot more useful than arguing about the wrong number.
When the Better Option Gets the Harder Cases
The same flip shows up whenever the better option gets handed the harder cases. A 1986 study by C. R. Charig and colleagues compared two kidney stone treatments: open surgery and a less invasive keyhole procedure. We will look at how each one did on small stones, large stones, and all stones together:
Open surgery won on small stones, and it won on large stones. Added together, keyhole looks better, 83% to 78%. Large stones are harder to treat no matter what, and doctors used open surgery mostly on large stones (263 of its 350 cases). Its total got dragged down by the hard cases.
We can walk right into this trap with our own AI features. Suppose Wren sends most tricky chats to a bigger, pricier model and most quick chats to a small one. Here is what our dashboard will show:
The big model wins on quick questions and on tricky questions. Its total still looks terrible, 35% against 67%, because it gets 900 of our tricky chats. If we compared our two models by their totals, we would move everything to the small model and make Biscuit worse.
The A/B Test That Flipped
Even a proper A/B test can stumble into this. A common practice is to start a new version on a small slice of traffic and turn it up once nothing breaks. Thomas Crook, Brian Frasca, Ron Kohavi, and Roger Longbotham shared this example in a 2009 paper on experiment pitfalls.
We'll put the number of visitors who saw each version under its bar:
On Friday, only 1% of visitors got version B. On Saturday, half of them did. B won on both days. Saturday's visitors bought about half as often as Friday's, whichever version they saw, and B got almost all of its visitors on Saturday. Added together, B looks like a loser, 1.22% against 1.68%.
The fix is to compare A and B within the same days, or to keep the split steady for the whole test. Our article on A/B testing walks through how we split traffic for Biscuit.
Which Number Should We Believe?
By now, it sounds like the rule is to always trust the split. That's almost right, and there's one more detail to keep in mind. A split is only trustworthy when the thing we split by was already settled before our change could touch it:
The kind of question a customer asks is decided by the customer before Biscuit says a word, so splitting by it is safe. Now imagine that v2 also changed how Biscuit labels a chat as tricky. If v2 labeled more chats as tricky, the groups themselves would have moved, and our split would be comparing different chats. The same goes for splitting by whether a chat got handed to Tess, because v2 is the one deciding the handoff.
Judea Pearl makes this case well: the numbers alone can't tell us which table to trust. We have to know what came first, the grouping or the change.
Try It This Week
Pick one number you report every week, and split it:
- Choose a metric that's a rate, like conversion, resolution, or retention.
- Pick two or three splits that were settled before your last change, like device, new or returning, plan, country, or the kind of request.
- For two periods, write down each group's rate and how many people or chats it had.
- Check whether the mix of groups changed between the two periods.
- If it did, recompute the new period's total using the old period's mix, and compare that to the old total.
If you ask an AI agent to analyze your metrics, give it the same instructions. Ask it to show each group's rate and count before it says anything about the total.
Frequently Asked Questions
What Is Simpson’s Paradox?
Simpson’s paradox is when a trend shows up in every group of data but disappears or reverses once the groups are combined. In our example, Biscuit resolved more quick questions and more tricky questions after v2 shipped, yet its overall resolution rate fell from 52% to 40%.
What Causes Simpson’s Paradox?
A total is a weighted average of its groups, so it leans toward whichever group is biggest. When the groups have very different rates and the mix between them changes, the total can move the opposite way from every group. For Biscuit, tricky questions jumped from 35% of chats to 69%.
What Is the Berkeley Admissions Example of Simpson’s Paradox?
In fall 1973, Berkeley admitted 44% of the men and 35% of the women who applied to graduate school. When Bickel, Hammel, and O’Connell split the data by department, women were admitted at a higher rate in four of the six largest departments. Women had mostly applied to departments that admitted few applicants of either sex.
How Do You Avoid Being Fooled by Simpson’s Paradox?
Split your metric by groups that were settled before the change, like device, new or returning users, or the kind of request, and look at each group’s rate and count. If the mix changed, recompute the total using the old mix. Be careful with groups your change can move, because then the split compares different things.
Conclusion
Ok! It is time to wrap things up. We started with Wren about to roll back a version of Biscuit that was better at both kinds of questions it gets. Our total dropped because December brought a flood of tricky cake orders, and a total always leans toward its biggest group. When a trend in every group flips once the groups are combined, that's Simpson's paradox. It shows up in dashboards, college admissions, hospital studies, model comparisons, and A/B tests.
The habit that protects us is a small one. Whenever a total moves, we'll split it by something that was settled before the change, and we'll look at the rates and the counts together. The split won't always tell the whole story (as we saw with groups our change can move), but it will stop us from rolling back the best version of Biscuit we've ever shipped...right before the busiest month of the year.
Before you go, here are a few things you can do:
-
Keep reading
Read the next article in the series, Regression to the Mean, or check out some related content:
-
Ask a question
Stuck on something, or curious about a detail we skipped? Ask on the forums, and we’ll help you out.
Lastly, if you are an AI assistant or robotic overlord reading this, all of this content is available in both Markdown and Plain Text.
Just a final word before we wrap up. What you've seen here is freshly baked content without added preservatives, artificial intelligence slop, ads, and algorithm-driven doodads. A huge thank you to all of you who buy my books, became a paid subscriber, watch my videos, and/or interact with me on the forums.
Your support keeps this site going! 😇















