What does Simpson's Paradox and Back-Door Adjustment conclude, in numbers, about “Every Branch Wins, the Total Loses: the Reversal Condition for 2 x 2 x k Tables”?
Answer: Chapter 1 recomputes the reversal for Berkeley's six largest departments: pooled admission rates are 0.445 for men and 0.304 for women, while standardised to the applicant mix they are 0.387 and 0.430; in an illustrative three-branch report plan A leads by 0.050 in every branch yet trails by 0.2493 when pooled, and the exact condition for a reversal is proved.
Scope of the numbers: Branches, plans and conversions are illustrative; all calculations are generated by the book's programs. This is general analysis, not individualised business advice.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.050, 0.304, 0.387, 0.430, 0.445
| campus 1973 men applied 8442 admitted 44 % | |
| campus 1973 women applied 4321 admitted 35 % | |
| dept men_n men_rate wom_n wom_rate wom-men | |
| A | 825 0.621 108 0.824 +0.203 |
| B | 560 0.630 25 0.680 +0.050 |
| C | 325 0.369 593 0.341 -0.029 |
| D | 417 0.331 375 0.349 +0.018 |
| E | 191 0.277 393 0.239 -0.038 |
| F | 373 0.059 341 0.070 +0.011 |
| pooled six: men 1198/2691 | 0.445 women 557/1835 = 0.304 |
| departments where women's rate is higher | 4 of 6 |
| adjusted to applicant mix (n | 4526): men 0.387 women 0.430 |
| pooled gap -0.142 adjusted gap +0.043 | |
| share applying to A or B: men 0.515 women 0.072 |
Show the full program
# Chapter 1. p11: Berkeley 1973, six largest departments, by sex.
# Data: campus totals from Bickel, Hammel and O'Connell (1975, Science);
# the six-department counts are the subset reproduced in textbooks
# (Freedman, Pisani and Purves) and in the UCBAdmissions data set.
# Exact rates with Fraction; the adjusted rates standardise both sexes
# to the pooled applicant mix of the six departments (back-door form).
from fractions import Fraction as F
CAMPUS = {"men": (8442, 44), "women": (4321, 35)} # applicants, % adm.
# dept: men admitted, men applied, women admitted, women applied
DEPTS = [("A", 512, 825, 89, 108), ("B", 353, 560, 17, 25),
("C", 120, 325, 202, 593), ("D", 138, 417, 131, 375),
("E", 53, 191, 94, 393), ("F", 22, 373, 24, 341)]
def main():
for k in ("men", "women"):
n, pct = CAMPUS[k]
print("campus 1973 {:5s} applied {} admitted {} %".format(
k, n, pct))
print("dept men_n men_rate wom_n wom_rate wom-men")
ma = mn = wa = wn = 0
women_ahead = 0
for d, a1, n1, a2, n2 in DEPTS:
r1, r2 = F(a1, n1), F(a2, n2)
women_ahead = women_ahead + (1 if r2 > r1 else 0)
print("{:>4s} {:6d} {:9.3f} {:6d} {:9.3f} {:+8.3f}".format(
d, n1, float(r1), n2, float(r2), float(r2 - r1)))
ma, mn, wa, wn = ma + a1, mn + n1, wa + a2, wn + n2
pm, pw = F(ma, mn), F(wa, wn)
print("pooled six: men {}/{} = {:.3f} women {}/{} = {:.3f}".format(
ma, mn, float(pm), wa, wn, float(pw)))
tot = mn + wn
adj_m = F(0)
adj_w = F(0)
for d, a1, n1, a2, n2 in DEPTS:
w = F(n1 + n2, tot)
adj_m = adj_m + w * F(a1, n1)
adj_w = adj_w + w * F(a2, n2)
print("departments where women's rate is higher: {} of {}".format(
women_ahead, len(DEPTS)))
print("adjusted to applicant mix (n = {}): men {:.3f} women {:.3f}"
.format(tot, float(adj_m), float(adj_w)))
print("pooled gap {:+.3f} adjusted gap {:+.3f}".format(
float(pw - pm), float(adj_w - adj_m)))
sm = F(DEPTS[0][2] + DEPTS[1][2], mn)
sw = F(DEPTS[0][4] + DEPTS[1][4], wn)
print("share applying to A or B: men {:.3f} women {:.3f}".format(
float(sm), float(sw)))
if __name__ == "__main__":
main()Single source and citation
Fan, Y. (2026). Simpson's Paradox and the Back-Door Criterion: Reversals When Branch Data Are Pooled and De-Confounding with Causal Graphs (Version 1.0.0), Chapter 1: Every Branch Wins, the Total Loses: the Reversal Condition for 2 x 2 x k Tables. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-302 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026302,
author = {Fan, Yafu},
title = {Simpson's Paradox and the Back-Door Criterion: Reversals When Branch Data Are Pooled and De-Confounding with Causal Graphs},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 2 · How Common Are Reversals? The Smallest Example, Random Tables and Sampling Noise
- Chapter 3 · The Back-Door Adjustment Formula: Standardisation, Inverse Probability Weighting and a Structural Model with a Known Answer
- Chapter 4 · One Table, Three Causal Graphs: Confounder, Mediator and Collider
- Chapter 5 · Enumerating Back-Door Sets: d-Separation, M-Bias and Counting Causal Graphs
- Chapter 6 · Sampling Error in Stratified Estimates: Intervals, Power and Sparse Strata
- Chapter 7 · Classics East and West: the Lüshi Chunqiu on Examining Hearsay, and Yule 1903
- Chapter 8 · Forced Stratification and Adjustment of Multi-Branch Reports: the Closed Loop, the Tool and a Pre-Registered Test