View on GitHub

Simpson’s paradox

Exploratory data analysis planned

Treatment A wins in every group, and loses overall.

The idea

A trend can appear in every subgroup of the data and reverse when the groups are combined. It happens when a hidden variable is unevenly spread across the groups.

A well-known case comes from UC Berkeley’s 1973 admissions data: overall, men appeared to be admitted at a higher rate, but within most departments the difference disappeared or favored women. Women had applied more often to the most competitive departments.

What the lesson will build

Key ideas

The video

When it’s published, the code will live in exploratory-data-analysis/ and this page will link to it.


All topics · Suggest a topic