tezvyn:

Simpson's Paradox: When Averages Mislead

AI-drafted, machine-checkedSource: Wikipedia: Simpson's paradoxadvanced
Simpson's Paradox: When Averages Mislead

Simpson's Paradox is when a trend seen in separate groups reverses when you combine them. This happens when a hidden variable, like user experience level, skews the results, making a bad feature look good overall. Always segment your data to avoid this trap.

THE MENTAL MODEL: Simpson's Paradox is a statistical phenomenon where a trend that appears in different groups of data disappears or even reverses when those groups are combined. It reveals how aggregate statistics can be deeply misleading, hiding important underlying realities. The paradox isn't a mathematical error, but a failure of interpretation caused by a hidden variable.

HOW IT WORKS: The paradox arises due to a "confounding variable" that is correlated with both the grouping and the outcome being measured. The groups are not of equal composition, and this imbalance skews the combined result. For instance, if you compare the overall success rates of two surgeons, one might appear worse simply because they operate on a higher proportion of high-risk patients. The confounding variable here is the patient's pre-operative condition. When you combine all patients into one group, you obscure the fact that one surgeon might be more skilled at handling both easy and difficult cases.

WHEN TO USE IT: This is a critical concept to be aware of in any field that relies on data analysis, especially social sciences, medical research, and business analytics. You should actively look for Simpson's Paradox whenever you compare rates or averages across different populations. This includes analyzing A/B test results across user segments (new vs. returning), evaluating marketing campaign performance across channels, or comparing outcomes between different hospitals or schools.

HOW TO AVOID IT: The risk of this paradox is almost always present when dealing with non-uniform groups. To avoid the trap, you must not rely on the combined data alone. Instead, identify potential confounding variables and analyze the data within each subgroup. If a trend holds true for every subgroup, your conclusion is likely robust. If the trend reverses, you have found Simpson's Paradox and must report the segmented results to tell the true story.

ONE CANONICAL EXAMPLE: Consider two treatments for a disease. Treatment A has a 90% success rate on mild cases and a 30% rate on severe cases. Treatment B has an 80% success rate on mild cases and a 20% rate on severe cases. In both subgroups, Treatment A is clearly superior. However, if Treatment A is mostly given to severe cases and Treatment B to mild cases, the combined data can show Treatment B as being far more successful overall. For example, if A treats 90 severe and 10 mild patients, its overall success is 33%. If B treats 10 severe and 90 mild patients, its overall success is 67%. The aggregate result is a complete reversal of the truth.

Read the original → en.wikipedia.org

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.