# Regression to the Mean: Why Your Last Fix Might Not Deserve the Credit by [kirupa](https://www.kirupa.com/me/index.htm) | filed under [Data & Decisions](https://www.kirupa.com/data_and_decisions/index.htm) **TL;DR:** Unusually good or bad results tend to drift back toward normal on their own, because part of any extreme result is luck that doesn't repeat. That drift is called regression to the mean, and it makes fixes shipped right after a bad day look better than they are. A control group shows how much a fix really did. - Each day's number is a steady part plus luck. Biscuit's 13% thumbs-down spike was a normal 6% plus bad luck, so the next day fell back to 5.6% with or without a fix. - Galton found in 1886 that children of very tall parents were tall, but on average only about two-thirds as far from average height as their parents. - Picking the best of 20 prompts on 50 test questions gave a 92% winner that scored 80% on fresh questions, close to the 79% average. - Leave some of the worst items alone as a control group. Wren's rewritten topics improved 4.3 points and the untouched ones 3.3, so the rewrite earned about 1. On Tuesday, November 17, something went wrong with Biscuit, the help desk bot on the Crumb & Co. website. **13%** of our chats that day ended with a thumbs-down, more than double the usual. Wren spent the evening reading the angriest chats, added a new rule to Biscuit's instructions, and shipped it that night. On Wednesday, the thumbs-down rate was back down to **5.6%**. Did Wren's fix work? Maybe! In this article, we are going to look at why unusually bad (and unusually good) results tend to drift back toward normal all by themselves, why that makes so many fixes look like they worked, and how we can tell when a fix really earned its credit. Onwards! ## Tuesday's Spike We'll start with the two weeks around that Tuesday on our dashboard: [![A line chart of the share of Biscuit's chats that got a thumbs-down each day from November 10 to November 23. Most days sit between about 3% and 8%. On Tuesday, November 17, it jumps to 13%. Wren ships a fix that night, and on Wednesday it is back down to 5.6%.](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_spike.png)](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_spike.png?v=1184baedd432) The spike on Tuesday is hard to miss, and so is the drop the very next morning. Wren was pretty happy about it, and so was the rest of our team: [![A team chat. Wren posts: Fixed it! Thumbs-down is back down to 5.6% today, with a party popper. Tess replies: Nice!! with raised hands.](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_chat.png)](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_chat.png?v=f66e7f0ca836) It's a satisfying story. Something broke, we fixed it, and our number came back. Before we hand out the credit, though, we are going to zoom out and see what our chart does on a normal week. ## Zooming Out to Sixty Days Here is our thumbs-down rate for all 60 days of October and November: [![The same chart for all 60 days from October 1 to November 29. The rate wobbles around an average of 6%. Before Wren's fix, it jumped above 9% six times, and every time, the next day was lower. Nobody changed anything on those days. Five days after the fix, it jumps to 9.6% again.](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_sixty_days.png)](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_sixty_days.png?v=bf76d0a99548) Our rate wobbles around an average of about **6%**. Before Wren's fix, it jumped above 9% six different times, and every single time, the next day came in lower. Nobody touched Biscuit on any of those days. Five days after the fix, the rate jumped to 9.6% again. This means the recovery we cheered on Wednesday is what this chart does after almost every spike. Wren's fix might still be helping, but this chart can't tell us that. ## A Steady Part Plus Luck Why does every spike fall back? It helps to think of each day's number as two parts added together. One part is steady. It comes from how good Biscuit is, what's on our menu, and the kinds of questions people usually ask. For Biscuit, that steady part is about 6%. The other part is luck. Which customers showed up, how many of them were in a hurry, and whether someone asked a weird question all change from one day to the next. Here is what our Tuesday and Wednesday will look like when we split them into those two parts: [![Two bars split a day's thumbs-down rate into a steady part and luck. Tuesday's 13% is Biscuit's steady 6% plus about 7 points of bad luck. Wednesday's 5.6% is the same steady 6% with a little good luck, 0.4 points, taken off. The luck doesn't carry over from one day to the next.](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_luck.png)](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_luck.png?v=19a735f102d3) Tuesday was a normal Biscuit having a really unlucky day. On Wednesday, the luck got re-rolled, and it came up a little better than average. The important detail is that an extreme day is extreme partly because of luck, and luck doesn't carry over. So, the day after an extreme day will usually land closer to the steady part, whether or not we changed anything. This drift back toward the average has a name. It's called **regression to the mean** (the mean is just another word for the average). ## Galton's Tall Parents The name comes from Francis Galton, who measured the heights of 928 adult children and their parents for [a paper in 1886](https://doi.org/10.2307/2841583). Here is what his data looks like: [![Galton's 1886 data on 928 adult children. Each dot is the average height of the children whose parents averaged a given height. A dashed diagonal marks children exactly as tall as their parents. Children of the tallest parents (72.5 inches) averaged 71.9 inches, shorter than their parents, and children of the shortest parents (64 inches) averaged 65.3 inches, taller than their parents. Every group of children lands closer to the average of 68.1 inches.](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_galton.png)](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_galton.png?v=e5d4b584c043) The children of the tallest parents were tall, but not as tall as their parents. The children of the shortest parents were short, but not as short. Galton called this regression toward mediocrity, which was his word for average. On average, a child's difference from the typical height was about two-thirds of the parents' difference. This doesn't mean everyone slowly becomes average. Tall parents pass along a lot of their height, which is the steady part, plus whatever luck they had, which their children don't inherit. Each generation still has plenty of tall and short people. They just come from a mix of parents. ## Why Yelling Looks Like It Works Regression to the mean can teach us the wrong lesson about people, too. Amos Tversky and Daniel Kahneman shared this story in [their 1974 paper on judgment](https://doi.org/10.1126/science.185.4157.1124): > In a discussion of flight training, experienced instructors noted that praise for an exceptionally smooth landing is typically followed by a poorer landing on the next try, while harsh criticism after a rough landing is usually followed by an improvement on the next try. > > [Amos Tversky and Daniel Kahneman, Science, September 1974](https://doi.org/10.1126/science.185.4157.1124) The instructors concluded that praise hurts and criticism helps. We can see why they were wrong by watching a trainee whose skill doesn't change at all from one landing to the next: [![Twelve landing scores from 1 to 10 for one trainee pilot whose skill stays the same, about 6 out of 10. After the great landings (a 10 and a 9), the instructor praises them, and the next landing is worse. After the rough ones (a 4 and a 3), the instructor yells, and the next landing is better.](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_landings.png)](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_landings.png?v=dde4f3b981a5) Every great landing is followed by a worse one, and every rough landing is followed by a better one, no matter what the instructor says. The praise and the yelling get blamed (or credited) for what luck was going to do anyway. Sports fans have their own version of this. Landing on the cover of Sports Illustrated is supposed to be a jinx, because so many athletes seem to slump right after: [![A joke drawing. On the left, a sports magazine cover shouts ON FIRE! over a flaming baseball, about a hitter on a hot streak. On the right, the same hitter a month later shrugs next to a sign that says back to normal.](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_jinx.png)](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_jinx.png?v=64d6ad8bf951) Athletes make the cover after a hot streak, and hot streaks are partly luck. The slump is often just the luck running out, with no curse involved. ## Where Does It Fool Builders? Regression to the mean sneaks into the work we do in three common places: [![Three cards. Fixing the worst day: the next day looks better anyway. Picking the worst performers: they improve even when we leave them alone. Picking the best of many tries: the winner drops on a rerun.](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_traps.png)](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_traps.png?v=17266d295a40) The first one is Wren's Tuesday fix. The second one is where we'll go next, because it's the most common way teams fool themselves. The third one bites anyone who builds with AI. Say we write 20 versions of Biscuit's prompt and score each one on the same 50 questions from our [golden dataset](https://www.kirupa.com/ai_fundamentals/golden_datasets.htm): [![Twenty versions of Biscuit's prompt, each scored on the same 50 test questions, sorted from lowest to highest. Scores range from 64% to 92%, with an average of 79%. The winner scored 92%. Rerun on 50 new questions, the same winning prompt scores 80%.](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_best_of_20.png)](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_best_of_20.png?v=c9912e129a81) Our winner scored **92%**. When we ran that same prompt on 50 fresh questions, it scored **80%**, right around the 79% average of all twenty. Our twenty prompts were about equally good, and the winner was mostly the one that got the luckiest set of questions. Minyong Lee and Milan Shen at Airbnb [describe the same thing](https://doi.org/10.1145/3219819.3219905) in A/B tests, where the experiments picked as winners tend to overstate how much they'll help. They call it the winner's curse. This isn't just a beginner's mistake, either. In 1933, the statistician Horace Secrist published a book of more than 400 pages called The Triumph of Mediocrity in Business. It showed that the best businesses tended to slide toward average and the worst ones tended to climb toward it. Harold Hotelling's [review](https://doi.org/10.2307/2278144) pointed out that the charts ***"prove nothing more than that the ratios in question have a tendency to wander about."*** Ouch. ## How Do We Tell If a Fix Worked? The best way is to compare what we fixed against something similar that we didn't fix. Biscuit answers questions about 40 topics, like pickup times, gluten-free options, and custom cakes. In October, we sorted them by their thumbs-down rate: [![A bar for each of the 40 topics Biscuit answers questions about, sorted from the worst October thumbs-down rate to the best. The 12 worst topics are highlighted. Going down the list, every other one is rewritten by Wren (6 topics, averaging 12.2%), and the rest are left alone (6 topics, averaging 11.9%). All 40 topics average 8.4%.](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_topics.png)](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_topics.png?v=c02e83416afb) Wren wanted to rewrite Biscuit's notes for the 12 worst topics. Instead of rewriting all 12, Wren rewrote every other one going down the list and left the rest alone. That way, both groups started out equally bad. Here is the plan: [![A diagram of a fair test. Take the 12 worst topics from October and split them into two groups by going down the list and alternating, so both groups start out equally bad. Wren rewrites Biscuit's notes for one group of 6 and leaves the other 6 alone. In November, compare the two groups: the difference between them is what the rewrite did.](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_fair_test.png)](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_fair_test.png?v=b644c0b1efcb) In November, we compared our two groups to see how much each one improved: [![Two panels compare October and November. The 6 topics Wren rewrote drop from 12.2% to 7.9%, 4.3 points. The 6 bad topics Wren left alone drop from 11.9% to 8.6% on their own, 3.3 points. The rewrite gets credit only for the difference, about 1 point.](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_topics_after.png)](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_topics_after.png?v=ab027b0271cf) The rewritten topics dropped **4.3 points**, which looks like a big win. The topics Wren left alone dropped **3.3 points** all by themselves. That means the rewrite earned about 1 point. Wren's work did help. It just helped about a quarter as much as the before-and-after numbers claimed. The untouched group is called a **control group**, and it's the same idea that makes an [A/B test](https://www.kirupa.com/ai_fundamentals/ab_testing.htm) trustworthy. How far back should we expect an extreme number to drift? That depends on how much of it is luck: [![Three bars show how much of an unusual result carries over to the next measurement. For Galton's heights, about 65% of a parent's difference from average shows up in the children. For Biscuit's topics from one month to the next, about 38%. For Biscuit's daily thumbs-down rate from one day to the next, about 0%, because it's almost all luck.](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_how_far.png)](https://www.kirupa.com/data_and_decisions/images/regression_to_the_mean_how_far.png?v=e2ed6919eaa9) About 65% of a parent's difference from average showed up in Galton's children. About 38% of a topic's difference carried over from one month to the next. Almost none of a day's difference carried over to the next day. The noisier a number is, the more an extreme value of it will drift back, and the more careful we need to be about giving our fixes credit. ## Try It This Week Check whether your last fix was really just regression to the mean: 1. Pick a fix you shipped right after a bad day, a bad week, or a bad eval run. 2. Pull a few weeks of that number from before the bad stretch, and count how often it spiked and came back on its own. 3. Find something similar that you didn't fix but that also had a bad stretch, and check whether it recovered too. 4. Give your fix credit only for the difference between the two. 5. Next time you fix your worst few items, leave a few of them alone on purpose. If an AI agent is tuning prompts for you, ask it to rerun the winner on questions it has never seen before it reports a score. ## Frequently Asked Questions **What Is Regression to the Mean?** Regression to the mean is the tendency for an unusually high or low result to be followed by one closer to the average. It happens because extreme results are partly luck, and luck doesn’t carry over to the next measurement. **Why Does Regression to the Mean Happen?** Any measurement is a steady part plus some luck. When we pick out the most extreme results, we also pick the ones with the most extreme luck. The next measurement keeps the steady part but gets fresh luck, so it usually lands closer to average. **Does Regression to the Mean Mean Everything Becomes Average?** No. Galton’s tall parents had children who were less tall on average, but each new generation still had plenty of tall and short people. Regression describes what happens to a group we picked because it was extreme. It isn’t a force that pulls everyone toward the middle. **How Do You Tell If an Improvement Is Real or Just Regression to the Mean?** Compare what you changed with similar items you left alone, picked the same way. Wren rewrote 6 of the 12 worst topics and left the other 6 alone. The rewritten ones improved 4.3 points and the untouched ones 3.3, so the rewrite earned about 1 point. ## Conclusion Phew! We covered a lot of ground. We started with Wren's Tuesday fix and a thumbs-down rate that came right back down the next day. When we zoomed out, we saw the same recovery after every spike, fix or no fix. Each day's number is a steady part plus luck, and an extreme day is extreme partly because of luck that won't repeat. That drift back toward normal is regression to the mean, and Galton saw it in heights long before we saw it in Biscuit's dashboard. None of this means our fixes don't work. Some of them do! It means a before-and-after comparison can't tell us which ones, especially when we picked what to fix because it just had its worst day. A control group can. Leave a few of the worst items alone, compare, and give your fix credit for the difference...even if that difference is smaller than the party emoji suggested. Before you go, here are a few things you can do: 1. Test your knowledge by taking the quiz below. 2. Read the next article in the series, [Goodhart’s Law](https://www.kirupa.com/data_and_decisions/goodharts_law.htm), or check out some related content: - [Simpson’s Paradox: When the Total Tells the Wrong Story](https://www.kirupa.com/data_and_decisions/simpsons_paradox.htm). How a trend can flip when you combine groups. - [North Star and Input Metrics](https://www.kirupa.com/product_thinking/north_star_metrics.htm). Picking the weekly number worth watching. - [Golden Datasets](https://www.kirupa.com/ai_fundamentals/golden_datasets.htm). A fixed set of test cases you run on every change. 3. Stuck on something, or curious about a detail we skipped? [Ask on the forums](https://forum.kirupa.com/), and we’ll help you out. ## Test your knowledge! [Take the Regression to the Mean Quiz](https://www.kirupa.com/quizzes/regression_to_the_mean.htm). Practice with 6 multiple-choice questions and an explanation after every answer.