Simpson's paradox is when a trend that appears in every subgroup of a dataset disappears or reverses when the subgroups are pooled together.
It happens because the subgroups have different base rates. In Berkeley's 1973 admissions, women disproportionately applied to highly competitive departments (English, education) while men applied to less competitive ones (engineering, chemistry). Each department was fair — often admitting women at higher rates — but the aggregate looked discriminatory.