Data science
How can two correct comparisons show opposite results?

In 1973, in two departments at the University of California, Berkeley, the share of successful applications was higher for women than for men in each department. If you add up the applications from exactly these two departments, the share is higher for men. Both statements are true. The difference arises because the two groups' applications were spread across the departments in very different ways. The figures come from the R dataset.[1] A reversal like this is often called Simpson's paradox.[1][2]
First separately, then together
The UCBAdmissions dataset is part of the statistical software R. It contains the number of accepted and rejected applications for graduate study in the six largest departments, broken down by sex as recorded at the time. The departments are identified only by the letters A to F. Two of them serve as the example here: A and D. Each rate answers the same question: what share of the applications in this group was successful?[1]
| Department | Applications from women | Applications from men |
|---|---|---|
| A | 89 of 10882.4% | 512 of 82562.1% |
| D | 131 of 37534.9% | 138 of 41733.1% |
| A and D combined | 220 of 48345.5% | 650 of 1,24252.3% |
First the individual departments, then the total
A
- Applications from women
- 89 of 10882.4%
- Applications from men
- 512 of 82562.1%
D
- Applications from women
- 131 of 37534.9%
- Applications from men
- 138 of 41733.1%
A and D combined
- Applications from women
- 220 of 48345.5%
- Applications from men
- 650 of 1,24252.3%
In department A, the rate for women was about 20 percentage points higher; in D, it was just under 2 percentage points higher. If you combine the two departments, the comparison flips: now the rate for men is almost 7 percentage points higher. How can one group be ahead in both departments and behind in the total?
Where the applications went
What matters is how the applications were distributed. Of the 483 applications from women to A and D, 108 went to A, just over one in five. Of the 1,242 applications from men to A and D, 825 went to A, about two thirds. In A, the rate was considerably higher than in D for both groups.[1]
The combined rate counts every application equally. It is therefore an average of the two department rates, weighted by the number of applications. For women, just over one fifth of the applications enter this average at about 82 percent and just under four fifths at about 35 percent; together, that comes to just over 45 percent. For men, two thirds enter at about 62 percent and one third at about 33 percent; together, just over 52 percent.[1]
So the total row combines two things: how often applications succeeded in the individual departments, and how a group's applications were distributed across the departments.
Same departments, different weight
The sheet represents aggregated applications, not an individual application case.
Applications from women to A and D
483 applications to A and D
How applications were distributed between A and D
- A
- 108 of 48322.4%
- D
- 375 of 48377.6%
Admission rate
- A
- 89 of 10882.4%
- D
- 131 of 37534.9%
Admission rate for A and D combined
220 of 48345.5%Applications from men to A and D
1,242 applications to A and D
How applications were distributed between A and D
- A
- 825 of 1,24266.4%
- D
- 417 of 1,24233.6%
Admission rate
- A
- 512 of 82562.1%
- D
- 138 of 41733.1%
Admission rate for A and D combined
650 of 1,24252.3%Which question should the number answer?
If you want to know what share of all applications to A and D succeeded, you need the total row. If you want to compare the rates within one department, you need that department's row. Whether the process was fair cannot be answered from these figures alone. They do not show why people applied to particular fields, how well qualified the individual applicants were, or which criteria the decisions were based on.
A selected slice
A and D were chosen for this example because they show the reversal clearly. Across all six departments in the R dataset, 557 of 1,835 applications from women were successful, or 30.4 percent, and 1,198 of 2,691 applications from men, or 44.5 percent. Compared department by department, the rate for women was higher in four of the six departments, and the rate for men in two. The categories women and men come from the historical data.[1]
The overall summary in the 1975 study referenced by the R documentation covered 12,763 applications to 101 departments and graduate programs for fall 1973. The more detailed analyses were in part narrower in scope. The authors called the picture given by the aggregate figures, in which women appeared to be disadvantaged, misleading. They also analyzed the departments individually and with a weighted method. In doing so, they assumed that applicants to the same field did not differ in their qualifications. They did not test this assumption; they considered that very difficult in practice.[2]
When you see a combined share, you can ask about the groups behind it: which subgroups make up the figure, and how large is each of them? Often these two pieces of information alone make it clearer what a comparison actually says.
Sources
[1] R Core Team. UCBAdmissions – Student Admissions at UC Berkeley. R datasets.
Open original source [1][2] P. J. Bickel, E. A. Hammel, J. W. O’Connell. Sex Bias in Graduate Admissions: Data from Berkeley. Science 187(4175), 1975, 398–404.
Open original source [2]