# When Every Subgroup Agrees but the Total Reverses the Result

> A concrete treatment study reveals Simpson's paradox: treatment succeeds more often among both mild and severe cases, yet appears much worse after the groups are pooled. Actual counts, weighted averages, and a geometric mixture diagram expose how unequal group sizes and sharply different baseline risks create the reversal. The lecture concludes with practical guidance on when pooled rates answer a useful question and when subgroup adjustment is essential.

- Canonical watch page: [When Every Subgroup Agrees but the Total Reverses the Result](https://academa.ai/lectures/simpsons-paradox)
- Publisher: [Academa, Inc.](https://academa.ai)
- Subject: Statistics
- Published: 2026-08-28T22:52:01.000Z
- Updated: 2026-08-28T22:52:01.000Z
- Duration: PT739S (12 minutes 19 seconds)
- Chapters: 4
- Views: 0
- Language: en-US
- Access: Free
- Video stream: [HLS content](https://academa.ai/media/l/01M14V08QADQC9R72387G10J4E/0/dark/master.m3u8)
- Audiovisual record: [Semantic JSON](https://academa.ai/media/l/01M14V08QADQC9R72387G10J4E/0/semantic.json)
- Thumbnail: [Image](https://academa.ai/media/l/01M14V08QADQC9R72387G10J4E/0/dark/poster.jpg)

## Description

A concrete treatment example reveals Simpson's paradox, shows its unequal-weight geometry, and explains when pooled rates mislead.

## Chapters

- [00:00–02:47.994 · The Reversal in the Counts](https://academa.ai/lectures/simpsons-paradox?t=0)
- [02:47.994–05:39.277 · Why Pooling Flips the Result](https://academa.ai/lectures/simpsons-paradox?t=167.9937083333333)
- [05:39.277–08:18.076 · The Geometry of Unequal Weights](https://academa.ai/lectures/simpsons-paradox?t=339.2772083333333)
- [08:18.076–12:19 · When Pooling Answers the Question](https://academa.ai/lectures/simpsons-paradox?t=498.0758125)

## Transcript

### [00:00 · The Reversal in the Counts](https://academa.ai/lectures/simpsons-paradox?t=0)

Suppose two hospitals are comparing a treatment with ordinary care. The treatment will perform better among mild cases, and better among severe cases. Then we will pool everyone, and the apparent winner will reverse. That reversal is Simpson's paradox. Here is the question in its sharpest form. Can every clinically relevant subgroup favor the treatment while the total favors no treatment? Yes. The important task is not merely to be surprised. It is to see exactly how the reversal is made. We will use one thousand treated patients and one thousand untreated patients. The entries are successes over total cases, followed by the corresponding success rate. Start with mild cases. Among the treated patients, ninety of one hundred succeed. That is a ninety percent success rate. Without treatment, seven hundred twenty of nine hundred mild cases succeed. That is eighty percent. Within mild cases, treatment is ahead by ten percentage points. Now take severe cases. Among treated patients, two hundred seventy of nine hundred succeed, giving thirty percent. Without treatment, twenty of one hundred severe cases succeed, giving twenty percent. Treatment is again ahead by ten percentage points. Read the mild row once more. Ninety percent with treatment is ten points above eighty percent without treatment. Read the severe row. Thirty percent with treatment is ten points above twenty percent without treatment. There is no subgroup here where ordinary care has the higher success rate. Before revealing the total, make a prediction. Treatment wins by the same margin in both rows. It is natural to expect treatment to win when the rows are added. Now add the actual counts. Treatment has three hundred sixty successes among one thousand patients, for thirty-six percent. No treatment has seven hundred forty successes among one thousand, for seventy-four percent. The pooled comparison therefore says the opposite. Thirty-six minus seventy-four is negative thirty-eight percentage points. Within mild cases, treatment wins by ten points. Within severe cases, treatment wins by ten points. After pooling, treatment loses by thirty-eight points. Every fraction is correct, and the reversal is not an arithmetic error. What changed was the comparison itself. The subgroup rows compare patients with similar severity. The total compares two populations with radically different mixtures of mild and severe cases. That mixture is where the paradox lives.

### [02:47.994 · Why Pooling Flips the Result](https://academa.ai/lectures/simpsons-paradox?t=167.9937083333333)

The pooled rates become understandable as soon as we draw who entered each comparison. Blue means mild cases and red means severe cases. Each strip contains one thousand patients. The treatment strip is almost entirely severe cases. Nine hundred are severe, and only one hundred are mild. The no-treatment strip has exactly the opposite composition. Only one hundred cases are severe, while nine hundred are mild. These labels name the two populations. Treatment is being judged mostly on severe patients. No treatment is being judged mostly on mild patients. Severity matters enormously even before considering treatment. Without treatment, mild cases succeed eighty percent of the time, while severe cases succeed only twenty percent. That is a sixty-point baseline-risk gap. It is much larger than the treatment's ten-point advantage inside either severity group. A pooled rate is a weighted average. For treatment, mild cases have weight one tenth, while severe cases have weight nine tenths. Those weights place ninety percent beside a small group and thirty percent beside a large group. The weighted average is thirty-six percent. For no treatment, the weights switch. Mild cases now receive weight nine tenths, and severe cases receive only one tenth. That weighted average is seventy-four percent. It is high because the no-treatment population contains many more of the patients who had a high baseline chance of success. Pooling has not averaged the same ingredients in the same proportions. It has compared one average dominated by severe cases with another average dominated by mild cases. We can separate the reversal into two forces. First comes the treatment effect visible within either group: a positive ten percentage points. Second comes the composition effect. The treatment population has eighty percentage points fewer mild cases. Mild and severe baseline success rates are sixty points apart. Multiplying those differences gives negative forty-eight points. The unfavorable case mix costs forty-eight points in the pooled comparison. Combine a positive ten-point treatment effect with a negative forty-eight point composition effect. The result is negative thirty-eight points, exactly the aggregate reversal we observed. The total answers a real question: what fraction succeeded in each observed population? It does not answer the like-for-like question: what would happen if treatment and no treatment were applied to populations with the same severity mix?

### [05:39.277 · The Geometry of Unequal Weights](https://academa.ai/lectures/simpsons-paradox?t=339.2772083333333)

Now turn the arithmetic into geometry. The horizontal axis records the fraction of cases that are mild. The vertical axis records the resulting success rate. At the far left, the population is entirely severe. Treatment succeeds at thirty percent, while no treatment succeeds at twenty percent. At the far right, the population is entirely mild. Treatment succeeds at ninety percent, while no treatment succeeds at eighty percent. Every mixture between those endpoints is a weighted average. Moving right gives more weight to mild cases, so both overall success rates rise. Most importantly, the red treatment line stays ten percentage points above the green control line at every common mixture. Start with a population that is ten percent mild. At this same mixture, treatment is thirty-six percent and no treatment is twenty-six percent. Sweep the common mixture toward ninety percent mild. The two points move together, and the yellow gap remains ten points from one end to the other. The same-mix formula confirms the picture. Both lines gain sixty points for a full change in mild share, so those matching terms cancel and leave a ten-point treatment advantage. If both groups had the same case mix, every vertical comparison would favor treatment. That is the geometric form of the two subgroup results. But the study did not observe both groups at one horizontal position. Remove the common-mixture comparison and mark the two populations that were actually observed. The treated population sits here, at ten percent mild and thirty-six percent successful. The untreated population sits far to the right, at ninety percent mild and seventy-four percent successful. Those two points are not vertically aligned. The control point benefits from a much easier case mix, so it can sit higher even though its entire green line lies below the red line. The observed comparison reads diagonally across the picture: left-hand red against right-hand green. The like-for-like comparison reads vertically: red against green at one shared mild-case fraction. That is the reversal made visible. Weighted averages are points between subgroup endpoints. Different weights select different horizontal positions, and a large enough horizontal shift can overwhelm the vertical treatment advantage.

### [08:18.076 · When Pooling Answers the Question](https://academa.ai/lectures/simpsons-paradox?t=498.0758125)

The practical question is not whether totals are forbidden. Totals are useful summaries. The question is whether the pooled total answers the decision you believe it answers. Begin with severity. In our example, severity strongly predicts the outcome. Mild cases have a much higher baseline chance of success than severe cases. Severity also predicts which comparison group a patient enters. The treatment group received mostly severe cases, while the untreated group received mostly mild cases. Treatment choice may itself affect the outcome. But severity points toward both treatment choice and outcome, creating a backdoor route that mixes treatment effects with case selection. This is why the first question matters. Does the subgroup variable predict the outcome even without treatment? If it does, changing the subgroup mix can change an aggregate rate. Second, are treatment and comparison cases distributed differently across those subgroups? A risk factor cannot create this particular distortion if both groups carry the same mix. Third, which population is the decision about? A hospital may need the expected result for its actual patient mix. A causal comparison may instead need both options evaluated on one common mix. Pooling is informative when treatment assignment is balanced across the important risk groups. Then each overall rate combines comparable ingredients in comparable proportions. Pooling can also be appropriate when the target mixture is deliberately specified. If a health system expects seventy percent mild and thirty percent severe cases, it can standardize both options to that same mix. In that setting, the pooled answer is not pretending to be universal. It is an answer for a named population, using weights chosen to represent that population. Pooling becomes dangerous when baseline risks differ greatly, treatment exposure is uneven across the risk groups, and the crude total is read as though it were a like-for-like treatment effect. Our example satisfies all three warning conditions. Severity changes baseline success by sixty points. The mild share changes from ten percent to ninety percent. The pooled rates then compare unlike populations. A responsible analysis would report the raw total and the severity-specific results, then use stratification, standardization, regression, matching, or a suitable study design to compare like with like. One final caution. Finding a Simpson reversal does not automatically prove that the subgroup result is causal. Severity may be measured imperfectly, other confounders may remain, and the chosen subgroups may themselves be consequences of earlier decisions. The reversal is a diagnostic signal. It tells us that aggregation and composition matter, and that we should investigate how patients entered each group before drawing a treatment conclusion. So ask what the total literally measures. In this study, thirty-six and seventy-four percent describe outcomes in two observed populations. They are valid summaries of those populations. Then ask what comparison the decision requires. If the goal is a treatment effect, compare treatment and no treatment at the same severity mix. If the goal is operational forecasting, use the mix expected in the population where the decision will be applied. The lesson of Simpson's paradox is not simply to distrust averages. It is to identify their weights, understand what creates those weights, and make sure both sides of a comparison answer the same question for the same target population.

## About Academa, Inc.

Academa makes technical knowledge easier to understand through visual lectures and lets learners request new lecture videos on the topics they need.

## Complete audiovisual record

Immutable source: [semantic.json](https://academa.ai/media/l/01M14V08QADQC9R72387G10J4E/0/semantic.json)

Record version: 1. Render attempt: 0.

### How to read this timeline

Each scene owns its object identifiers. A beat's board is the complete board when listed, empty when marked empty, and unchanged from the nearest earlier listed board in the same scene when marked unchanged. Action times are absolute positions in the published video.

### Scene 1: [The Reversal in the Counts](https://academa.ai/lectures/simpsons-paradox?t=0)

Span: 00:00–02:47.994 (0s–167.9937083333333s).

#### Objects

- card: a Title that says "Applied Statistics for Professionals — When Every Subgroup Agrees but the Total Reverses the Result"
- counts: a Table \[text\] that says "Cases Treatment No treatment Mild $90/100=90%$ $720/900=80%$ Severe $270/900=30%$ $20/100=20%$ All cases $360/1000=36%$ $740/1000=74%$" (rows=(('Cases', 'Treatment', 'No treatment'), ('Mild', '$90/100=90%$…, header=True)
- heading: a Heading that says "One Study, Three Comparisons"
- mild\_difference: a Math \[text\] that says "$90% - 80% = 10 thin upright("percentage points")$"
- overall\_difference: a Math \[text\] that says "$36% - 74% = -38 thin upright("percentage points")$"
- question: a Panel that says "Can a treatment have a higher success rate for mild cases and for severe cases, yet have a lower success rate when all cases are pooled?"
- severe\_difference: a Math \[text\] that says "$30% - 20% = 10 thin upright("percentage points")$"
- verdict: a Math \[text\] that says "$upright("within each group"): thin T \> C quad upright("after pooling"): thin T \< C$"

#### Beats

##### [00:00](https://academa.ai/lectures/simpsons-paradox?t=0)

Narration: Suppose two hospitals are comparing a treatment with ordinary care. The treatment will perform better among mild cases, and better among severe cases. Then we will pool everyone, and the apparent winner will reverse. That reversal is Simpson's paradox.

Board: Empty.

Actions:
- [00:00](https://academa.ai/lectures/simpsons-paradox?t=0): card is shown on the screen, written out.
- [00:1.5](https://academa.ai/lectures/simpsons-paradox?t=1.5): card: enter:write-left-to-right.
- [00:14.663](https://academa.ai/lectures/simpsons-paradox?t=14.663): card is hidden from the screen — left the board.

##### [00:15.863](https://academa.ai/lectures/simpsons-paradox?t=15.863)

Narration: Here is the question in its sharpest form. Can every clinically relevant subgroup favor the treatment while the total favors no treatment? Yes. The important task is not merely to be surprised. It is to see exactly how the reversal is made.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [00:15.863](https://academa.ai/lectures/simpsons-paradox?t=15.863): question is shown on the screen, written out.
- [00:31.63](https://academa.ai/lectures/simpsons-paradox?t=31.6295): question is hidden from the screen — left the board.

##### [00:32.23](https://academa.ai/lectures/simpsons-paradox?t=32.2295)

Narration: We will use one thousand treated patients and one thousand untreated patients. The entries are successes over total cases, followed by the corresponding success rate.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [00:32.23](https://academa.ai/lectures/simpsons-paradox?t=32.2295): heading is shown on the screen, written out.
- [00:37.651](https://academa.ai/lectures/simpsons-paradox?t=37.650999999999996): counts is shown on the screen, written out.

##### [00:43.302](https://academa.ai/lectures/simpsons-paradox?t=43.301500000000004)

Narration: Start with mild cases. Among the treated patients, ninety of one hundred succeed. That is a ninety percent success rate.

Board: heading — a Heading that says "One Study, Three Comparisons"

Actions:
- [00:44.161](https://academa.ai/lectures/simpsons-paradox?t=44.16100000000001): counts is shown on the screen, written out.

##### [00:52.621](https://academa.ai/lectures/simpsons-paradox?t=52.62050000000001)

Narration: Without treatment, seven hundred twenty of nine hundred mild cases succeed. That is eighty percent. Within mild cases, treatment is ahead by ten percentage points.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [00:59.528](https://academa.ai/lectures/simpsons-paradox?t=59.528000000000006): counts (the "row=2" part) is emphasized.
- [01:3.813](https://academa.ai/lectures/simpsons-paradox?t=63.81250000000001): counts (the "row=2" part) is no longer emphasized.

##### [01:4.413](https://academa.ai/lectures/simpsons-paradox?t=64.41250000000001)

Narration: Now take severe cases. Among treated patients, two hundred seventy of nine hundred succeed, giving thirty percent.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [01:5.318](https://academa.ai/lectures/simpsons-paradox?t=65.31800000000001): counts is shown on the screen, written out.

##### [01:12.931](https://academa.ai/lectures/simpsons-paradox?t=72.93050000000001)

Narration: Without treatment, twenty of one hundred severe cases succeed, giving twenty percent. Treatment is again ahead by ten percentage points.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [01:13.488](https://academa.ai/lectures/simpsons-paradox?t=73.488): counts (the "row=3" part) is emphasized.
- [01:21.383](https://academa.ai/lectures/simpsons-paradox?t=81.38300000000001): counts (the "row=3" part) is no longer emphasized.

##### [01:21.983](https://academa.ai/lectures/simpsons-paradox?t=81.983)

Narration: Read the mild row once more. Ninety percent with treatment is ten points above eighty percent without treatment.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [01:22.703](https://academa.ai/lectures/simpsons-paradox?t=82.70299999999999): counts (the "row=2" part) is emphasized.
- [01:28.845](https://academa.ai/lectures/simpsons-paradox?t=88.84450000000001): counts (the "row=2" part) is no longer emphasized.

##### [01:29.445](https://academa.ai/lectures/simpsons-paradox?t=89.4445)

Narration: Read the severe row. Thirty percent with treatment is ten points above twenty percent without treatment. There is no subgroup here where ordinary care has the higher success rate.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [01:30.211](https://academa.ai/lectures/simpsons-paradox?t=90.211): counts (the "row=3" part) is emphasized.
- [01:40.219](https://academa.ai/lectures/simpsons-paradox?t=100.21900000000001): counts (the "row=3" part) is no longer emphasized.

##### [01:40.819](https://academa.ai/lectures/simpsons-paradox?t=100.819)

Narration: Before revealing the total, make a prediction. Treatment wins by the same margin in both rows. It is natural to expect treatment to win when the rows are added.

Board: Unchanged from the preceding beat in this scene.

Actions:
- None.

##### [01:52.112](https://academa.ai/lectures/simpsons-paradox?t=112.1115)

Narration: Now add the actual counts. Treatment has three hundred sixty successes among one thousand patients, for thirty-six percent. No treatment has seven hundred forty successes among one thousand, for seventy-four percent.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [01:52.646](https://academa.ai/lectures/simpsons-paradox?t=112.646): counts is shown on the screen, written out.

##### [02:6.98](https://academa.ai/lectures/simpsons-paradox?t=126.98)

Narration: The pooled comparison therefore says the opposite. Thirty-six minus seventy-four is negative thirty-eight percentage points.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [02:10.498](https://academa.ai/lectures/simpsons-paradox?t=130.498): counts (the "row=4" part) is emphasized.
- [02:14.748](https://academa.ai/lectures/simpsons-paradox?t=134.7475): counts is hidden from the screen — left the board.
- [02:14.748](https://academa.ai/lectures/simpsons-paradox?t=134.7475): counts (the "row=4" part) is no longer emphasized.

##### [02:15.347](https://academa.ai/lectures/simpsons-paradox?t=135.3475)

Narration: Within mild cases, treatment wins by ten points. Within severe cases, treatment wins by ten points. After pooling, treatment loses by thirty-eight points. Every fraction is correct, and the reversal is not an arithmetic error.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [02:15.347](https://academa.ai/lectures/simpsons-paradox?t=135.3475): mild\_difference is shown on the screen, written out.
- [02:19.434](https://academa.ai/lectures/simpsons-paradox?t=139.43399999999997): severe\_difference is shown on the screen, written out.
- [02:23.265](https://academa.ai/lectures/simpsons-paradox?t=143.265): overall\_difference is shown on the screen, written out.
- [02:26.632](https://academa.ai/lectures/simpsons-paradox?t=146.632): verdict is shown on the screen, written out.

##### [02:31.678](https://academa.ai/lectures/simpsons-paradox?t=151.67849999999999)

Narration: What changed was the comparison itself. The subgroup rows compare patients with similar severity. The total compares two populations with radically different mixtures of mild and severe cases. That mixture is where the paradox lives.

Board: heading — a Heading that says "One Study, Three Comparisons"; mild\_difference — a Math \[text\] that says "$90% - 80% = 10 thin upright("percentage points")$"; severe\_difference — a Math \[text\] that says "$30% - 20% = 10 thin upright("percentage points")$"; overall\_difference — a Math \[text\] that says "$36% - 74% = -38 thin upright("percentage points")$"; verdict — a Math \[text\] that says "$upright("within each group"): thin T \> C quad upright("after pooling"): thin T \< C$"

Actions:
- [02:44.53](https://academa.ai/lectures/simpsons-paradox?t=164.52999999999997): A box is drawn around overall\_difference.
- [02:46.952](https://academa.ai/lectures/simpsons-paradox?t=166.95204166666664): heading is hidden from the screen — left the board.
- [02:46.952](https://academa.ai/lectures/simpsons-paradox?t=166.95204166666664): mild\_difference is hidden from the screen — left the board.
- [02:46.952](https://academa.ai/lectures/simpsons-paradox?t=166.95204166666664): overall\_difference is hidden from the screen — left the board.
- [02:46.952](https://academa.ai/lectures/simpsons-paradox?t=166.95204166666664): severe\_difference is hidden from the screen — left the board.
- [02:46.952](https://academa.ai/lectures/simpsons-paradox?t=166.95204166666664): verdict is hidden from the screen — left the board.

### Scene 2: [Why Pooling Flips the Result](https://academa.ai/lectures/simpsons-paradox?t=167.9937083333333)

Span: 02:47.994–05:39.277 (167.9937083333333s–339.2772083333333s).

#### Objects

- baseline: a Math \[text\] that says "$upright("mild baseline") = 80% quad upright("severe baseline") = 20%$"
- combined\_effect: a Math \[text\] that says "$10% - 48% = -38%$"
- composition\_effect: a Math \[text\] that says "$upright("composition effect") = (10% - 90%)(60%) = -48%$"
- control\_label: a Math \[text\] that says "$upright("no treatment")$" drawn in mix
- control\_mild: a Polygon \[blue\] drawn in mix (vertices=((100.0, 0.0), (1000.0, 0.0), (1000.0, 1.0), (100.0, 1.0)), fill\_opacity=0.6)
- control\_mild\_label: a Math \[text\] that says "$upright("900 mild")$" drawn in mix
- control\_severe: a Polygon \[red\] drawn in mix (vertices=((0.0, 0.0), (100.0, 0.0), (100.0, 1.0), (0.0, 1.0)), fill\_opacity=0.48)
- control\_severe\_label: a Math \[text\] that says "$upright("100 severe")$" drawn in mix
- control\_weighted: a Math \[text\] that says "$C = 0.9(80%) + 0.1(20%)$"
- gap: a Math \[text\] that says "$80% - 20% = 60 thin upright("percentage points")$"
- heading\_mix: a Heading that says "The Two Groups Have Opposite Case Mixes"
- heading\_split: a Heading that says "Treatment Effect Versus Composition Effect"
- heading\_weights: a Heading that says "Each Total Is a Different Weighted Average"
- mix: a Figure (x\_range=(0.0, 1000.0), y\_range=(-0.2, 3.2), aspect=(5.0, 2.0))
- treated\_label: a Math \[text\] that says "$upright("treatment")$" drawn in mix
- treated\_mild: a Polygon \[blue\] drawn in mix (vertices=((900.0, 2.0), (1000.0, 2.0), (1000.0, 3.0), (900.0, 3.0)), fill\_opacity=0.6)
- treated\_mild\_label: a Math \[text\] that says "$upright("100 mild")$" drawn in mix
- treated\_severe: a Polygon \[red\] drawn in mix (vertices=((0.0, 2.0), (900.0, 2.0), (900.0, 3.0), (0.0, 3.0)), fill\_opacity=0.48)
- treated\_severe\_label: a Math \[text\] that says "$upright("900 severe")$" drawn in mix
- treatment\_weighted: a Math \[text\] that says "$T = 0.1(90%) + 0.9(30%)$"
- within\_effect: a Math \[text\] that says "$upright("within-group advantage") = 10%$"

#### Beats

##### [02:47.994](https://academa.ai/lectures/simpsons-paradox?t=167.9937083333333)

Narration: The pooled rates become understandable as soon as we draw who entered each comparison. Blue means mild cases and red means severe cases. Each strip contains one thousand patients.

Board: Empty.

Actions:
- [02:47.994](https://academa.ai/lectures/simpsons-paradox?t=167.9937083333333): heading\_mix is shown on the screen, written out.
- [02:47.994](https://academa.ai/lectures/simpsons-paradox?t=167.9937083333333): mix is shown on the screen, written out.

##### [03:0.807](https://academa.ai/lectures/simpsons-paradox?t=180.8072083333333)

Narration: The treatment strip is almost entirely severe cases. Nine hundred are severe, and only one hundred are mild.

Board: mix — a Figure (x\_range=(0.0, 1000.0), y\_range=(-0.2, 3.2), aspect=(5.0, 2.0)); heading\_mix — a Heading that says "The Two Groups Have Opposite Case Mixes"

Actions:
- [03:3.153](https://academa.ai/lectures/simpsons-paradox?t=183.1527083333333): treated\_severe is shown on the screen, written out.
- [03:4.802](https://academa.ai/lectures/simpsons-paradox?t=184.8017083333333): treated\_severe\_label is shown on the screen, written out.
- [03:6.671](https://academa.ai/lectures/simpsons-paradox?t=186.6707083333333): treated\_mild\_label is shown on the screen, written out.
- [03:7.345](https://academa.ai/lectures/simpsons-paradox?t=187.3447083333333): treated\_mild is shown on the screen, written out.

##### [03:8.769](https://academa.ai/lectures/simpsons-paradox?t=188.7687083333333)

Narration: The no-treatment strip has exactly the opposite composition. Only one hundred cases are severe, while nine hundred are mild.

Board: mix — a Figure (x\_range=(0.0, 1000.0), y\_range=(-0.2, 3.2), aspect=(5.0, 2.0)); heading\_mix — a Heading that says "The Two Groups Have Opposite Case Mixes"; treated\_severe — a Polygon \[red\] drawn in mix (vertices=((0.0, 2.0), (900.0, 2.0), (900.0, 3.0), (0.0, 3.0)), fill\_opacity=0.48); treated\_mild — a Polygon \[blue\] drawn in mix (vertices=((900.0, 2.0), (1000.0, 2.0), (1000.0, 3.0), (900.0, 3.0)), fill\_opacity=0.6); treated\_severe\_label — a Math \[text\] that says "$upright("900 severe")$" drawn in mix; treated\_mild\_label — a Math \[text\] that says "$upright("100 mild")$" drawn in mix

Actions:
- [03:13.332](https://academa.ai/lectures/simpsons-paradox?t=193.3317083333333): control\_severe\_label is shown on the screen, written out.
- [03:14.33](https://academa.ai/lectures/simpsons-paradox?t=194.32970833333331): control\_severe is shown on the screen, written out.
- [03:15.352](https://academa.ai/lectures/simpsons-paradox?t=195.3517083333333): control\_mild\_label is shown on the screen, written out.
- [03:16.025](https://academa.ai/lectures/simpsons-paradox?t=196.0247083333333): control\_mild is shown on the screen, written out.

##### [03:17.495](https://academa.ai/lectures/simpsons-paradox?t=197.4952083333333)

Narration: These labels name the two populations. Treatment is being judged mostly on severe patients. No treatment is being judged mostly on mild patients.

Board: mix — a Figure (x\_range=(0.0, 1000.0), y\_range=(-0.2, 3.2), aspect=(5.0, 2.0)); heading\_mix — a Heading that says "The Two Groups Have Opposite Case Mixes"; treated\_severe — a Polygon \[red\] drawn in mix (vertices=((0.0, 2.0), (900.0, 2.0), (900.0, 3.0), (0.0, 3.0)), fill\_opacity=0.48); treated\_mild — a Polygon \[blue\] drawn in mix (vertices=((900.0, 2.0), (1000.0, 2.0), (1000.0, 3.0), (900.0, 3.0)), fill\_opacity=0.6); treated\_severe\_label — a Math \[text\] that says "$upright("900 severe")$" drawn in mix; treated\_mild\_label — a Math \[text\] that says "$upright("100 mild")$" drawn in mix; control\_severe — a Polygon \[red\] drawn in mix (vertices=((0.0, 0.0), (100.0, 0.0), (100.0, 1.0), (0.0, 1.0)), fill\_opacity=0.48); control\_mild — a Polygon \[blue\] drawn in mix (vertices=((100.0, 0.0), (1000.0, 0.0), (1000.0, 1.0), (100.0, 1.0)), fill\_opacity=0.6); control\_severe\_label — a Math \[text\] that says "$upright("100 severe")$" drawn in mix; control\_mild\_label — a Math \[text\] that says "$upright("900 mild")$" drawn in mix

Actions:
- [03:20.817](https://academa.ai/lectures/simpsons-paradox?t=200.8167083333333): treated\_label is shown on the screen, written out.
- [03:24.125](https://academa.ai/lectures/simpsons-paradox?t=204.1247083333333): control\_label is shown on the screen, written out.

##### [03:27.918](https://academa.ai/lectures/simpsons-paradox?t=207.9177083333333)

Narration: Severity matters enormously even before considering treatment. Without treatment, mild cases succeed eighty percent of the time, while severe cases succeed only twenty percent.

Board: mix — a Figure (x\_range=(0.0, 1000.0), y\_range=(-0.2, 3.2), aspect=(5.0, 2.0)); heading\_mix — a Heading that says "The Two Groups Have Opposite Case Mixes"; treated\_severe — a Polygon \[red\] drawn in mix (vertices=((0.0, 2.0), (900.0, 2.0), (900.0, 3.0), (0.0, 3.0)), fill\_opacity=0.48); treated\_mild — a Polygon \[blue\] drawn in mix (vertices=((900.0, 2.0), (1000.0, 2.0), (1000.0, 3.0), (900.0, 3.0)), fill\_opacity=0.6); treated\_severe\_label — a Math \[text\] that says "$upright("900 severe")$" drawn in mix; treated\_mild\_label — a Math \[text\] that says "$upright("100 mild")$" drawn in mix; control\_severe — a Polygon \[red\] drawn in mix (vertices=((0.0, 0.0), (100.0, 0.0), (100.0, 1.0), (0.0, 1.0)), fill\_opacity=0.48); control\_mild — a Polygon \[blue\] drawn in mix (vertices=((100.0, 0.0), (1000.0, 0.0), (1000.0, 1.0), (100.0, 1.0)), fill\_opacity=0.6); control\_severe\_label — a Math \[text\] that says "$upright("100 severe")$" drawn in mix; control\_mild\_label — a Math \[text\] that says "$upright("900 mild")$" drawn in mix; treated\_label — a Math \[text\] that says "$upright("treatment")$" drawn in mix; control\_label — a Math \[text\] that says "$upright("no treatment")$" drawn in mix

Actions:
- [03:28.22](https://academa.ai/lectures/simpsons-paradox?t=208.2197083333333): baseline is shown on the screen, written out.

##### [03:39.536](https://academa.ai/lectures/simpsons-paradox?t=219.5357083333333)

Narration: That is a sixty-point baseline-risk gap. It is much larger than the treatment's ten-point advantage inside either severity group.

Board: mix — a Figure (x\_range=(0.0, 1000.0), y\_range=(-0.2, 3.2), aspect=(5.0, 2.0)); baseline — a Math \[text\] that says "$upright("mild baseline") = 80% quad upright("severe baseline") = 20%$"; heading\_mix — a Heading that says "The Two Groups Have Opposite Case Mixes"; treated\_severe — a Polygon \[red\] drawn in mix (vertices=((0.0, 2.0), (900.0, 2.0), (900.0, 3.0), (0.0, 3.0)), fill\_opacity=0.48); treated\_mild — a Polygon \[blue\] drawn in mix (vertices=((900.0, 2.0), (1000.0, 2.0), (1000.0, 3.0), (900.0, 3.0)), fill\_opacity=0.6); treated\_severe\_label — a Math \[text\] that says "$upright("900 severe")$" drawn in mix; treated\_mild\_label — a Math \[text\] that says "$upright("100 mild")$" drawn in mix; control\_severe — a Polygon \[red\] drawn in mix (vertices=((0.0, 0.0), (100.0, 0.0), (100.0, 1.0), (0.0, 1.0)), fill\_opacity=0.48); control\_mild — a Polygon \[blue\] drawn in mix (vertices=((100.0, 0.0), (1000.0, 0.0), (1000.0, 1.0), (100.0, 1.0)), fill\_opacity=0.6); control\_severe\_label — a Math \[text\] that says "$upright("100 severe")$" drawn in mix; control\_mild\_label — a Math \[text\] that says "$upright("900 mild")$" drawn in mix; treated\_label — a Math \[text\] that says "$upright("treatment")$" drawn in mix; control\_label — a Math \[text\] that says "$upright("no treatment")$" drawn in mix

Actions:
- [03:39.536](https://academa.ai/lectures/simpsons-paradox?t=219.5357083333333): gap is shown on the screen, written out.
- [03:47.523](https://academa.ai/lectures/simpsons-paradox?t=227.5232083333333): baseline moves to a new place on the board.
- [03:47.523](https://academa.ai/lectures/simpsons-paradox?t=227.5232083333333): gap moves to a new place on the board.
- [03:47.523](https://academa.ai/lectures/simpsons-paradox?t=227.5232083333333): heading\_mix is hidden from the screen — left the board.
- [03:47.523](https://academa.ai/lectures/simpsons-paradox?t=227.5232083333333): mix is hidden from the screen — left the board.
- [03:47.523](https://academa.ai/lectures/simpsons-paradox?t=227.5232083333333): treated\_severe is hidden from the screen — mix left the board.
- [03:47.523](https://academa.ai/lectures/simpsons-paradox?t=227.5232083333333): treated\_mild is hidden from the screen — mix left the board.
- [03:47.523](https://academa.ai/lectures/simpsons-paradox?t=227.5232083333333): treated\_severe\_label is hidden from the screen — mix left the board.
- [03:47.523](https://academa.ai/lectures/simpsons-paradox?t=227.5232083333333): treated\_mild\_label is hidden from the screen — mix left the board.
- [03:47.523](https://academa.ai/lectures/simpsons-paradox?t=227.5232083333333): control\_severe is hidden from the screen — mix left the board.
- [03:47.523](https://academa.ai/lectures/simpsons-paradox?t=227.5232083333333): control\_mild is hidden from the screen — mix left the board.
- [03:47.523](https://academa.ai/lectures/simpsons-paradox?t=227.5232083333333): control\_severe\_label is hidden from the screen — mix left the board.
- [03:47.523](https://academa.ai/lectures/simpsons-paradox?t=227.5232083333333): control\_mild\_label is hidden from the screen — mix left the board.
- [03:47.523](https://academa.ai/lectures/simpsons-paradox?t=227.5232083333333): treated\_label is hidden from the screen — mix left the board.
- [03:47.523](https://academa.ai/lectures/simpsons-paradox?t=227.5232083333333): control\_label is hidden from the screen — mix left the board.

##### [03:48.123](https://academa.ai/lectures/simpsons-paradox?t=228.1232083333333)

Narration: A pooled rate is a weighted average. For treatment, mild cases have weight one tenth, while severe cases have weight nine tenths.

Board: baseline — a Math \[text\] that says "$upright("mild baseline") = 80% quad upright("severe baseline") = 20%$"; gap — a Math \[text\] that says "$80% - 20% = 60 thin upright("percentage points")$"

Actions:
- [03:48.123](https://academa.ai/lectures/simpsons-paradox?t=228.1232083333333): heading\_weights is shown on the screen, written out.
- [03:49.563](https://academa.ai/lectures/simpsons-paradox?t=229.5627083333333): treatment\_weighted is shown on the screen, written out.
- [03:53.418](https://academa.ai/lectures/simpsons-paradox?t=233.4177083333333): treatment\_weighted (the "0.1" part) is emphasized.
- [03:56.007](https://academa.ai/lectures/simpsons-paradox?t=236.0067083333333): treatment\_weighted (the "0.1" part) is no longer emphasized.
- [03:56.007](https://academa.ai/lectures/simpsons-paradox?t=236.0067083333333): treatment\_weighted (the "0.9" part) is emphasized.

##### [03:57.814](https://academa.ai/lectures/simpsons-paradox?t=237.81420833333328)

Narration: Those weights place ninety percent beside a small group and thirty percent beside a large group. The weighted average is thirty-six percent.

Board: baseline — a Math \[text\] that says "$upright("mild baseline") = 80% quad upright("severe baseline") = 20%$"; gap — a Math \[text\] that says "$80% - 20% = 60 thin upright("percentage points")$"; treatment\_weighted — a Math \[text\] that says "$T = 0.1(90%) + 0.9(30%)$"; heading\_weights — a Heading that says "Each Total Is a Different Weighted Average"

Actions:
- [03:57.814](https://academa.ai/lectures/simpsons-paradox?t=237.81420833333328): treatment\_weighted (the "0.9" part) is no longer emphasized.
- [04:4.56](https://academa.ai/lectures/simpsons-paradox?t=244.55970833333328): treatment\_weighted becomes "$T = 0.1(90%) + 0.9(30%) = 36%$".

##### [04:6.622](https://academa.ai/lectures/simpsons-paradox?t=246.6222083333333)

Narration: For no treatment, the weights switch. Mild cases now receive weight nine tenths, and severe cases receive only one tenth.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [04:8.434](https://academa.ai/lectures/simpsons-paradox?t=248.4337083333333): control\_weighted is shown on the screen, written out.
- [04:11.522](https://academa.ai/lectures/simpsons-paradox?t=251.5217083333333): control\_weighted (the "0.9" part) is emphasized.
- [04:14.459](https://academa.ai/lectures/simpsons-paradox?t=254.45870833333328): control\_weighted (the "0.1" part) is emphasized.
- [04:14.459](https://academa.ai/lectures/simpsons-paradox?t=254.45870833333328): control\_weighted (the "0.9" part) is no longer emphasized.

##### [04:16.255](https://academa.ai/lectures/simpsons-paradox?t=256.25470833333327)

Narration: That weighted average is seventy-four percent. It is high because the no-treatment population contains many more of the patients who had a high baseline chance of success.

Board: baseline — a Math \[text\] that says "$upright("mild baseline") = 80% quad upright("severe baseline") = 20%$"; gap — a Math \[text\] that says "$80% - 20% = 60 thin upright("percentage points")$"; treatment\_weighted — a Math \[text\] that says "$T = 0.1(90%) + 0.9(30%)$"; control\_weighted — a Math \[text\] that says "$C = 0.9(80%) + 0.1(20%)$"; heading\_weights — a Heading that says "Each Total Is a Different Weighted Average"

Actions:
- [04:16.255](https://academa.ai/lectures/simpsons-paradox?t=256.25470833333327): control\_weighted (the "0.1" part) is no longer emphasized.
- [04:17.881](https://academa.ai/lectures/simpsons-paradox?t=257.8807083333333): control\_weighted becomes "$C = 0.9(80%) + 0.1(20%) = 74%$".

##### [04:27.234](https://academa.ai/lectures/simpsons-paradox?t=267.2337083333333)

Narration: Pooling has not averaged the same ingredients in the same proportions. It has compared one average dominated by severe cases with another average dominated by mild cases.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [04:37.811](https://academa.ai/lectures/simpsons-paradox?t=277.8107083333333): baseline is hidden from the screen — left the board.
- [04:37.811](https://academa.ai/lectures/simpsons-paradox?t=277.8107083333333): control\_weighted is hidden from the screen — left the board.
- [04:37.811](https://academa.ai/lectures/simpsons-paradox?t=277.8107083333333): gap is hidden from the screen — left the board.
- [04:37.811](https://academa.ai/lectures/simpsons-paradox?t=277.8107083333333): heading\_weights is hidden from the screen — left the board.
- [04:37.811](https://academa.ai/lectures/simpsons-paradox?t=277.8107083333333): treatment\_weighted is hidden from the screen — left the board.

##### [04:39.011](https://academa.ai/lectures/simpsons-paradox?t=279.0107083333333)

Narration: We can separate the reversal into two forces. First comes the treatment effect visible within either group: a positive ten percentage points.

Board: Empty.

Actions:
- [04:39.011](https://academa.ai/lectures/simpsons-paradox?t=279.0107083333333): heading\_split is shown on the screen, written out.
- [04:46.941](https://academa.ai/lectures/simpsons-paradox?t=286.9407083333333): within\_effect is shown on the screen, written out.

##### [04:49.05](https://academa.ai/lectures/simpsons-paradox?t=289.0497083333333)

Narration: Second comes the composition effect. The treatment population has eighty percentage points fewer mild cases. Mild and severe baseline success rates are sixty points apart.

Board: within\_effect — a Math \[text\] that says "$upright("within-group advantage") = 10%$"; heading\_split — a Heading that says "Treatment Effect Versus Composition Effect"

Actions:
- [04:50.246](https://academa.ai/lectures/simpsons-paradox?t=290.2457083333333): composition\_effect is shown on the screen, written out.
- [04:53.45](https://academa.ai/lectures/simpsons-paradox?t=293.4497083333333): composition\_effect (the "10% - 90%" part) is emphasized.
- [04:59.684](https://academa.ai/lectures/simpsons-paradox?t=299.6837083333333): composition\_effect (the "10% - 90%" part) is no longer emphasized.
- [04:59.684](https://academa.ai/lectures/simpsons-paradox?t=299.6837083333333): composition\_effect (the "60%" part) is emphasized.
- [05:1.182](https://academa.ai/lectures/simpsons-paradox?t=301.1817083333333): composition\_effect (the "60%" part) is no longer emphasized.

##### [05:1.782](https://academa.ai/lectures/simpsons-paradox?t=301.7817083333333)

Narration: Multiplying those differences gives negative forty-eight points. The unfavorable case mix costs forty-eight points in the pooled comparison.

Board: within\_effect — a Math \[text\] that says "$upright("within-group advantage") = 10%$"; composition\_effect — a Math \[text\] that says "$upright("composition effect") = (10% - 90%)(60%) = -48%$"; heading\_split — a Heading that says "Treatment Effect Versus Composition Effect"

Actions:
- [05:4.255](https://academa.ai/lectures/simpsons-paradox?t=304.2547083333333): composition\_effect (the "-48%" part) is indicated — a transient flash.

##### [05:10.938](https://academa.ai/lectures/simpsons-paradox?t=310.9382083333333)

Narration: Combine a positive ten-point treatment effect with a negative forty-eight point composition effect. The result is negative thirty-eight points, exactly the aggregate reversal we observed.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [05:11.287](https://academa.ai/lectures/simpsons-paradox?t=311.2867083333333): combined\_effect is shown on the screen, written out.
- [05:11.844](https://academa.ai/lectures/simpsons-paradox?t=311.8437083333333): combined\_effect (the "10%" part) is emphasized.
- [05:14.364](https://academa.ai/lectures/simpsons-paradox?t=314.3637083333333): combined\_effect (the "- 48%" part) is emphasized.
- [05:14.364](https://academa.ai/lectures/simpsons-paradox?t=314.3637083333333): combined\_effect (the "10%" part) is no longer emphasized.
- [05:18.833](https://academa.ai/lectures/simpsons-paradox?t=318.8327083333333): combined\_effect (the "- 48%" part) is no longer emphasized.
- [05:18.833](https://academa.ai/lectures/simpsons-paradox?t=318.8327083333333): combined\_effect (the "-38%" part) is emphasized.
- [05:23.001](https://academa.ai/lectures/simpsons-paradox?t=323.0012083333333): combined\_effect (the "-38%" part) is no longer emphasized.

##### [05:23.601](https://academa.ai/lectures/simpsons-paradox?t=323.6012083333333)

Narration: The total answers a real question: what fraction succeeded in each observed population? It does not answer the like-for-like question: what would happen if treatment and no treatment were applied to populations with the same severity mix?

Board: within\_effect — a Math \[text\] that says "$upright("within-group advantage") = 10%$"; composition\_effect — a Math \[text\] that says "$upright("composition effect") = (10% - 90%)(60%) = -48%$"; combined\_effect — a Math \[text\] that says "$10% - 48% = -38%$"; heading\_split — a Heading that says "Treatment Effect Versus Composition Effect"

Actions:
- [05:31.334](https://academa.ai/lectures/simpsons-paradox?t=331.33370833333333): A box is drawn around combined\_effect.
- [05:38.236](https://academa.ai/lectures/simpsons-paradox?t=338.2355416666667): combined\_effect is hidden from the screen — left the board.
- [05:38.236](https://academa.ai/lectures/simpsons-paradox?t=338.2355416666667): composition\_effect is hidden from the screen — left the board.
- [05:38.236](https://academa.ai/lectures/simpsons-paradox?t=338.2355416666667): heading\_split is hidden from the screen — left the board.
- [05:38.236](https://academa.ai/lectures/simpsons-paradox?t=338.2355416666667): within\_effect is hidden from the screen — left the board.

### Scene 3: [The Geometry of Unequal Weights](https://academa.ai/lectures/simpsons-paradox?t=339.2772083333333)

Span: 05:39.277–08:18.076 (339.2772083333333s–498.0758125s).

#### Objects

- actual\_control: a PlotPoint \[green\] labelled "(90%, 74%)" drawn in axes (target='control\_line', x=0.9)
- actual\_treatment: a PlotPoint \[red\] labelled "(10%, 36%)" drawn in axes (target='treatment\_line', x=0.1)
- axes: an Axes (y\_range=(0.1, 1.0), x\_ticks\_every=0.1, y\_ticks\_every=0.1)
- common\_control: a PlotPoint \[green\] drawn in axes (target='control\_line', x=\<VariableNumber common\_mix = 0.9\>)
- common\_gap: a Line \[yellow\] labelled "10%" drawn in axes (start=(\<VariableNumber common\_mix = 0.9\>, (0.2 + (0.6 \* common\_mix))), end=(\<VariableNumber common\_mix = 0.9\>, (0.3 + (0.6 \* common\_mix))))
- common\_mix: a VariableNumber (initial\_value=0.1)
- common\_treatment: a PlotPoint \[red\] drawn in axes (target='treatment\_line', x=\<VariableNumber common\_mix = 0.9\>)
- control\_line: a FunctionPlot \[green\] labelled "upright("no treatment")" drawn in axes (function=\<function\>, x\_range=(0.0, 1.0))
- heading: a Heading that says "Success Rate as the Case Mix Changes"
- lesson: a Math \[text\] that says "$upright("same mix") arrow.r upright("like-for-like comparison")$"
- line: a Line \[yellow\] drawn in axes (start=(0.1, 0.36), end=(0.0, 0.36), dashed=True)
- line\_2: a Line \[yellow\] drawn in axes (start=(0.1, 0.36), end=(0.1, 0.0), dashed=True)
- line\_3: a Line \[yellow\] drawn in axes (start=(0.1, 0.36), end=(0.0, 0.36), dashed=True)
- line\_4: a Line \[yellow\] drawn in axes (start=(0.1, 0.36), end=(0.1, 0.0), dashed=True)
- line\_5: a Line \[yellow\] drawn in axes (start=(0.9, 0.74), end=(0.0, 0.74), dashed=True)
- line\_6: a Line \[yellow\] drawn in axes (start=(0.9, 0.74), end=(0.9, 0.0), dashed=True)
- mild\_control: a PlotPoint \[green\] labelled "80%" drawn in axes (target='control\_line', x=1.0)
- mild\_treatment: a PlotPoint \[red\] labelled "90%" drawn in axes (target='treatment\_line', x=1.0)
- observed\_mix: a Math \[text\] that says "$T(10%) = 36% quad C(90%) = 74%$"
- point: a Point \[yellow\] drawn in axes (location=(0.1, 0.36))
- point\_2: a Point \[yellow\] drawn in axes (location=(0.1, 0.36))
- point\_3: a Point \[yellow\] drawn in axes (location=(0.9, 0.74))
- same\_mix: a Math \[text\] that says "$T(w) - C(w) = (30% + 60%w) - (20% + 60%w) = 10%$"
- severe\_control: a PlotPoint \[green\] labelled "20%" drawn in axes (target='control\_line')
- severe\_treatment: a PlotPoint \[red\] labelled "30%" drawn in axes (target='treatment\_line')
- treatment\_line: a FunctionPlot \[red\] labelled "upright("treatment")" drawn in axes (function=\<function\>, x\_range=(0.0, 1.0))

#### Beats

##### [05:39.277](https://academa.ai/lectures/simpsons-paradox?t=339.2772083333333)

Narration: Now turn the arithmetic into geometry. The horizontal axis records the fraction of cases that are mild. The vertical axis records the resulting success rate.

Board: Empty.

Actions:
- [05:39.277](https://academa.ai/lectures/simpsons-paradox?t=339.2772083333333): heading is shown on the screen, written out.
- [05:39.277](https://academa.ai/lectures/simpsons-paradox?t=339.2772083333333): axes is shown on the screen, written out.

##### [05:50.419](https://academa.ai/lectures/simpsons-paradox?t=350.4192083333333)

Narration: At the far left, the population is entirely severe. Treatment succeeds at thirty percent, while no treatment succeeds at twenty percent.

Board: axes — an Axes (y\_range=(0.1, 1.0), x\_ticks\_every=0.1, y\_ticks\_every=0.1); heading — a Heading that says "Success Rate as the Case Mix Changes"

Actions:
- [05:54.924](https://academa.ai/lectures/simpsons-paradox?t=354.9242083333333): treatment\_line is shown on the screen, drawn.
- [05:55.992](https://academa.ai/lectures/simpsons-paradox?t=355.99220833333334): severe\_treatment is shown on the screen, written out.
- [05:57.339](https://academa.ai/lectures/simpsons-paradox?t=357.3392083333333): control\_line is shown on the screen, drawn.
- [05:58.627](https://academa.ai/lectures/simpsons-paradox?t=358.62720833333333): severe\_control is shown on the screen, written out.

##### [06:0.447](https://academa.ai/lectures/simpsons-paradox?t=360.4467083333333)

Narration: At the far right, the population is entirely mild. Treatment succeeds at ninety percent, while no treatment succeeds at eighty percent.

Board: axes — an Axes (y\_range=(0.1, 1.0), x\_ticks\_every=0.1, y\_ticks\_every=0.1); heading — a Heading that says "Success Rate as the Case Mix Changes"; treatment\_line — a FunctionPlot \[red\] labelled "upright("treatment")" drawn in axes (function=\<function\>, x\_range=(0.0, 1.0)); control\_line — a FunctionPlot \[green\] labelled "upright("no treatment")" drawn in axes (function=\<function\>, x\_range=(0.0, 1.0)); severe\_treatment — a PlotPoint \[red\] labelled "30%" drawn in axes (target='treatment\_line'); severe\_control — a PlotPoint \[green\] labelled "20%" drawn in axes (target='control\_line')

Actions:
- [06:5.613](https://academa.ai/lectures/simpsons-paradox?t=365.6132083333333): mild\_treatment is shown on the screen, written out.
- [06:8.179](https://academa.ai/lectures/simpsons-paradox?t=368.1792083333333): mild\_control is shown on the screen, written out.

##### [06:10.265](https://academa.ai/lectures/simpsons-paradox?t=370.2647083333333)

Narration: Every mixture between those endpoints is a weighted average. Moving right gives more weight to mild cases, so both overall success rates rise.

Board: axes — an Axes (y\_range=(0.1, 1.0), x\_ticks\_every=0.1, y\_ticks\_every=0.1); heading — a Heading that says "Success Rate as the Case Mix Changes"; treatment\_line — a FunctionPlot \[red\] labelled "upright("treatment")" drawn in axes (function=\<function\>, x\_range=(0.0, 1.0)); control\_line — a FunctionPlot \[green\] labelled "upright("no treatment")" drawn in axes (function=\<function\>, x\_range=(0.0, 1.0)); severe\_treatment — a PlotPoint \[red\] labelled "30%" drawn in axes (target='treatment\_line'); severe\_control — a PlotPoint \[green\] labelled "20%" drawn in axes (target='control\_line'); mild\_treatment — a PlotPoint \[red\] labelled "90%" drawn in axes (target='treatment\_line', x=1.0); mild\_control — a PlotPoint \[green\] labelled "80%" drawn in axes (target='control\_line', x=1.0)

Actions:
- None.

##### [06:20.454](https://academa.ai/lectures/simpsons-paradox?t=380.4542083333333)

Narration: Most importantly, the red treatment line stays ten percentage points above the green control line at every common mixture.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [06:22.079](https://academa.ai/lectures/simpsons-paradox?t=382.0792083333333): common\_treatment is shown on the screen, written out.
- [06:23.275](https://academa.ai/lectures/simpsons-paradox?t=383.2752083333333): common\_gap is shown on the screen, written out.
- [06:24.993](https://academa.ai/lectures/simpsons-paradox?t=384.9932083333333): common\_control is shown on the screen, written out.

##### [06:28.601](https://academa.ai/lectures/simpsons-paradox?t=388.6007083333333)

Narration: Start with a population that is ten percent mild. At this same mixture, treatment is thirty-six percent and no treatment is twenty-six percent.

Board: axes — an Axes (y\_range=(0.1, 1.0), x\_ticks\_every=0.1, y\_ticks\_every=0.1); heading — a Heading that says "Success Rate as the Case Mix Changes"; treatment\_line — a FunctionPlot \[red\] labelled "upright("treatment")" drawn in axes (function=\<function\>, x\_range=(0.0, 1.0)); control\_line — a FunctionPlot \[green\] labelled "upright("no treatment")" drawn in axes (function=\<function\>, x\_range=(0.0, 1.0)); severe\_treatment — a PlotPoint \[red\] labelled "30%" drawn in axes (target='treatment\_line'); severe\_control — a PlotPoint \[green\] labelled "20%" drawn in axes (target='control\_line'); mild\_treatment — a PlotPoint \[red\] labelled "90%" drawn in axes (target='treatment\_line', x=1.0); mild\_control — a PlotPoint \[green\] labelled "80%" drawn in axes (target='control\_line', x=1.0); common\_control — a PlotPoint \[green\] drawn in axes (target='control\_line', x=\<VariableNumber common\_mix = 0.9\>); common\_treatment — a PlotPoint \[red\] drawn in axes (target='treatment\_line', x=\<VariableNumber common\_mix = 0.9\>); common\_gap — a Line \[yellow\] labelled "10%" drawn in axes (start=(\<VariableNumber common\_mix = 0.9\>, (0.2 + (0.6 \* common\_mix))), end=(\<VariableNumber common\_mix = 0.9\>, (0.3 + (0.6 \* common\_mix))))

Actions:
- [06:29.007](https://academa.ai/lectures/simpsons-paradox?t=389.0072083333333): point is shown on the screen, grown.
- [06:30.667](https://academa.ai/lectures/simpsons-paradox?t=390.6672083333333): line is shown on the screen, drawn.
- [06:34.695](https://academa.ai/lectures/simpsons-paradox?t=394.6952083333333): line\_2 is shown on the screen, drawn.
- [06:36.695](https://academa.ai/lectures/simpsons-paradox?t=396.6952083333333): point is hidden from the screen.
- [06:36.695](https://academa.ai/lectures/simpsons-paradox?t=396.6952083333333): line is hidden from the screen.
- [06:36.695](https://academa.ai/lectures/simpsons-paradox?t=396.6952083333333): line\_2 is hidden from the screen.

##### [06:38.999](https://academa.ai/lectures/simpsons-paradox?t=398.9992083333333)

Narration: Sweep the common mixture toward ninety percent mild. The two points move together, and the yellow gap remains ten points from one end to the other.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [06:39.405](https://academa.ai/lectures/simpsons-paradox?t=399.4052083333333): common\_control is redrawn as the numbers it depends on change.
- [06:39.405](https://academa.ai/lectures/simpsons-paradox?t=399.4052083333333): common\_treatment is redrawn as the numbers it depends on change.
- [06:39.405](https://academa.ai/lectures/simpsons-paradox?t=399.4052083333333): common\_gap is redrawn as the numbers it depends on change.
- [06:39.405](https://academa.ai/lectures/simpsons-paradox?t=399.4052083333333): common\_mix ticks to 0.9.

##### [06:48.818](https://academa.ai/lectures/simpsons-paradox?t=408.8177083333333)

Narration: The same-mix formula confirms the picture. Both lines gain sixty points for a full change in mild share, so those matching terms cancel and leave a ten-point treatment advantage.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [06:50.002](https://academa.ai/lectures/simpsons-paradox?t=410.00220833333333): same\_mix is shown on the screen, written out.
- [06:53.403](https://academa.ai/lectures/simpsons-paradox?t=413.4032083333333): same\_mix (the "60%w" part) is emphasized.
- [06:56.77](https://academa.ai/lectures/simpsons-paradox?t=416.7702083333333): same\_mix (the "60%w" part) is no longer emphasized.
- [06:56.77](https://academa.ai/lectures/simpsons-paradox?t=416.7702083333333): same\_mix (the "60%w#2" part) is emphasized.
- [06:58.779](https://academa.ai/lectures/simpsons-paradox?t=418.77920833333326): same\_mix (the "10%" part) is emphasized.
- [06:58.779](https://academa.ai/lectures/simpsons-paradox?t=418.77920833333326): same\_mix (the "60%w#2" part) is no longer emphasized.
- [07:0.962](https://academa.ai/lectures/simpsons-paradox?t=420.9617083333333): same\_mix (the "10%" part) is no longer emphasized.

##### [07:1.562](https://academa.ai/lectures/simpsons-paradox?t=421.5617083333333)

Narration: If both groups had the same case mix, every vertical comparison would favor treatment. That is the geometric form of the two subgroup results.

Board: axes — an Axes (y\_range=(0.1, 1.0), x\_ticks\_every=0.1, y\_ticks\_every=0.1); same\_mix — a Math \[text\] that says "$T(w) - C(w) = (30% + 60%w) - (20% + 60%w) = 10%$"; heading — a Heading that says "Success Rate as the Case Mix Changes"; treatment\_line — a FunctionPlot \[red\] labelled "upright("treatment")" drawn in axes (function=\<function\>, x\_range=(0.0, 1.0)); control\_line — a FunctionPlot \[green\] labelled "upright("no treatment")" drawn in axes (function=\<function\>, x\_range=(0.0, 1.0)); severe\_treatment — a PlotPoint \[red\] labelled "30%" drawn in axes (target='treatment\_line'); severe\_control — a PlotPoint \[green\] labelled "20%" drawn in axes (target='control\_line'); mild\_treatment — a PlotPoint \[red\] labelled "90%" drawn in axes (target='treatment\_line', x=1.0); mild\_control — a PlotPoint \[green\] labelled "80%" drawn in axes (target='control\_line', x=1.0); common\_control — a PlotPoint \[green\] drawn in axes (target='control\_line', x=\<VariableNumber common\_mix = 0.9\>); common\_treatment — a PlotPoint \[red\] drawn in axes (target='treatment\_line', x=\<VariableNumber common\_mix = 0.9\>); common\_gap — a Line \[yellow\] labelled "10%" drawn in axes (start=(\<VariableNumber common\_mix = 0.9\>, (0.2 + (0.6 \* common\_mix))), end=(\<VariableNumber common\_mix = 0.9\>, (0.3 + (0.6 \* common\_mix))))

Actions:
- [07:4.882](https://academa.ai/lectures/simpsons-paradox?t=424.8822083333333): common\_gap is indicated — a transient flash.
- [07:10.896](https://academa.ai/lectures/simpsons-paradox?t=430.89620833333333): axes moves to a new place on the board.
- [07:10.896](https://academa.ai/lectures/simpsons-paradox?t=430.89620833333333): same\_mix is hidden from the screen — left the board.

##### [07:11.496](https://academa.ai/lectures/simpsons-paradox?t=431.4962083333333)

Narration: But the study did not observe both groups at one horizontal position. Remove the common-mixture comparison and mark the two populations that were actually observed.

Board: axes — an Axes (y\_range=(0.1, 1.0), x\_ticks\_every=0.1, y\_ticks\_every=0.1); heading — a Heading that says "Success Rate as the Case Mix Changes"; treatment\_line — a FunctionPlot \[red\] labelled "upright("treatment")" drawn in axes (function=\<function\>, x\_range=(0.0, 1.0)); control\_line — a FunctionPlot \[green\] labelled "upright("no treatment")" drawn in axes (function=\<function\>, x\_range=(0.0, 1.0)); severe\_treatment — a PlotPoint \[red\] labelled "30%" drawn in axes (target='treatment\_line'); severe\_control — a PlotPoint \[green\] labelled "20%" drawn in axes (target='control\_line'); mild\_treatment — a PlotPoint \[red\] labelled "90%" drawn in axes (target='treatment\_line', x=1.0); mild\_control — a PlotPoint \[green\] labelled "80%" drawn in axes (target='control\_line', x=1.0); common\_control — a PlotPoint \[green\] drawn in axes (target='control\_line', x=\<VariableNumber common\_mix = 0.9\>); common\_treatment — a PlotPoint \[red\] drawn in axes (target='treatment\_line', x=\<VariableNumber common\_mix = 0.9\>); common\_gap — a Line \[yellow\] labelled "10%" drawn in axes (start=(\<VariableNumber common\_mix = 0.9\>, (0.2 + (0.6 \* common\_mix))), end=(\<VariableNumber common\_mix = 0.9\>, (0.3 + (0.6 \* common\_mix))))

Actions:
- [07:16.407](https://academa.ai/lectures/simpsons-paradox?t=436.4072083333333): common\_gap is hidden from the screen.
- [07:16.407](https://academa.ai/lectures/simpsons-paradox?t=436.4072083333333): common\_control is hidden from the screen.
- [07:16.407](https://academa.ai/lectures/simpsons-paradox?t=436.4072083333333): common\_treatment is hidden from the screen.

##### [07:22.069](https://academa.ai/lectures/simpsons-paradox?t=442.06920833333334)

Narration: The treated population sits here, at ten percent mild and thirty-six percent successful.

Board: axes — an Axes (y\_range=(0.1, 1.0), x\_ticks\_every=0.1, y\_ticks\_every=0.1); heading — a Heading that says "Success Rate as the Case Mix Changes"; treatment\_line — a FunctionPlot \[red\] labelled "upright("treatment")" drawn in axes (function=\<function\>, x\_range=(0.0, 1.0)); control\_line — a FunctionPlot \[green\] labelled "upright("no treatment")" drawn in axes (function=\<function\>, x\_range=(0.0, 1.0)); severe\_treatment — a PlotPoint \[red\] labelled "30%" drawn in axes (target='treatment\_line'); severe\_control — a PlotPoint \[green\] labelled "20%" drawn in axes (target='control\_line'); mild\_treatment — a PlotPoint \[red\] labelled "90%" drawn in axes (target='treatment\_line', x=1.0); mild\_control — a PlotPoint \[green\] labelled "80%" drawn in axes (target='control\_line', x=1.0)

Actions:
- [07:23.822](https://academa.ai/lectures/simpsons-paradox?t=443.82220833333326): actual\_treatment is shown on the screen, written out.
- [07:23.822](https://academa.ai/lectures/simpsons-paradox?t=443.82220833333326): point\_2 is shown on the screen, grown.
- [07:24.67](https://academa.ai/lectures/simpsons-paradox?t=444.67020833333333): line\_3 is shown on the screen, drawn.
- [07:26.144](https://academa.ai/lectures/simpsons-paradox?t=446.14420833333327): line\_4 is shown on the screen, drawn.
- [07:28.144](https://academa.ai/lectures/simpsons-paradox?t=448.14420833333327): point\_2 is hidden from the screen.
- [07:28.144](https://academa.ai/lectures/simpsons-paradox?t=448.14420833333327): line\_3 is hidden from the screen.
- [07:28.144](https://academa.ai/lectures/simpsons-paradox?t=448.14420833333327): line\_4 is hidden from the screen.

##### [07:28.73](https://academa.ai/lectures/simpsons-paradox?t=448.7297083333333)

Narration: The untreated population sits far to the right, at ninety percent mild and seventy-four percent successful.

Board: axes — an Axes (y\_range=(0.1, 1.0), x\_ticks\_every=0.1, y\_ticks\_every=0.1); heading — a Heading that says "Success Rate as the Case Mix Changes"; treatment\_line — a FunctionPlot \[red\] labelled "upright("treatment")" drawn in axes (function=\<function\>, x\_range=(0.0, 1.0)); control\_line — a FunctionPlot \[green\] labelled "upright("no treatment")" drawn in axes (function=\<function\>, x\_range=(0.0, 1.0)); severe\_treatment — a PlotPoint \[red\] labelled "30%" drawn in axes (target='treatment\_line'); severe\_control — a PlotPoint \[green\] labelled "20%" drawn in axes (target='control\_line'); mild\_treatment — a PlotPoint \[red\] labelled "90%" drawn in axes (target='treatment\_line', x=1.0); mild\_control — a PlotPoint \[green\] labelled "80%" drawn in axes (target='control\_line', x=1.0); actual\_treatment — a PlotPoint \[red\] labelled "(10%, 36%)" drawn in axes (target='treatment\_line', x=0.1)

Actions:
- [07:31.086](https://academa.ai/lectures/simpsons-paradox?t=451.0862083333333): actual\_control is shown on the screen, written out.
- [07:31.086](https://academa.ai/lectures/simpsons-paradox?t=451.0862083333333): point\_3 is shown on the screen, grown.
- [07:32.004](https://academa.ai/lectures/simpsons-paradox?t=452.0042083333333): line\_5 is shown on the screen, drawn.
- [07:33.35](https://academa.ai/lectures/simpsons-paradox?t=453.3502083333333): line\_6 is shown on the screen, drawn.
- [07:35.35](https://academa.ai/lectures/simpsons-paradox?t=455.3502083333333): point\_3 is hidden from the screen.
- [07:35.35](https://academa.ai/lectures/simpsons-paradox?t=455.3502083333333): line\_5 is hidden from the screen.
- [07:35.35](https://academa.ai/lectures/simpsons-paradox?t=455.3502083333333): line\_6 is hidden from the screen.

##### [07:35.959](https://academa.ai/lectures/simpsons-paradox?t=455.9592083333333)

Narration: Those two points are not vertically aligned. The control point benefits from a much easier case mix, so it can sit higher even though its entire green line lies below the red line.

Board: axes — an Axes (y\_range=(0.1, 1.0), x\_ticks\_every=0.1, y\_ticks\_every=0.1); heading — a Heading that says "Success Rate as the Case Mix Changes"; treatment\_line — a FunctionPlot \[red\] labelled "upright("treatment")" drawn in axes (function=\<function\>, x\_range=(0.0, 1.0)); control\_line — a FunctionPlot \[green\] labelled "upright("no treatment")" drawn in axes (function=\<function\>, x\_range=(0.0, 1.0)); severe\_treatment — a PlotPoint \[red\] labelled "30%" drawn in axes (target='treatment\_line'); severe\_control — a PlotPoint \[green\] labelled "20%" drawn in axes (target='control\_line'); mild\_treatment — a PlotPoint \[red\] labelled "90%" drawn in axes (target='treatment\_line', x=1.0); mild\_control — a PlotPoint \[green\] labelled "80%" drawn in axes (target='control\_line', x=1.0); actual\_treatment — a PlotPoint \[red\] labelled "(10%, 36%)" drawn in axes (target='treatment\_line', x=0.1); actual\_control — a PlotPoint \[green\] labelled "(90%, 74%)" drawn in axes (target='control\_line', x=0.9)

Actions:
- [07:39.21](https://academa.ai/lectures/simpsons-paradox?t=459.2102083333333): actual\_control is indicated — a transient flash.
- [07:46.361](https://academa.ai/lectures/simpsons-paradox?t=466.3612083333333): actual\_treatment is indicated — a transient flash.

##### [07:47.89](https://academa.ai/lectures/simpsons-paradox?t=467.8902083333333)

Narration: The observed comparison reads diagonally across the picture: left-hand red against right-hand green. The like-for-like comparison reads vertically: red against green at one shared mild-case fraction.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [07:48.424](https://academa.ai/lectures/simpsons-paradox?t=468.4242083333333): observed\_mix is shown on the screen, written out.
- [07:52.093](https://academa.ai/lectures/simpsons-paradox?t=472.0932083333333): observed\_mix (the "T(10%)" part) is emphasized.
- [07:53.254](https://academa.ai/lectures/simpsons-paradox?t=473.2542083333333): observed\_mix (the "C(90%)" part) is emphasized.
- [07:53.254](https://academa.ai/lectures/simpsons-paradox?t=473.2542083333333): observed\_mix (the "T(10%)" part) is no longer emphasized.
- [08:1.764](https://academa.ai/lectures/simpsons-paradox?t=481.7637083333333): axes moves to a new place on the board.
- [08:1.764](https://academa.ai/lectures/simpsons-paradox?t=481.7637083333333): observed\_mix is hidden from the screen — left the board.
- [08:1.764](https://academa.ai/lectures/simpsons-paradox?t=481.7637083333333): observed\_mix (the "C(90%)" part) is no longer emphasized.

##### [08:2.364](https://academa.ai/lectures/simpsons-paradox?t=482.3637083333333)

Narration: That is the reversal made visible. Weighted averages are points between subgroup endpoints. Different weights select different horizontal positions, and a large enough horizontal shift can overwhelm the vertical treatment advantage.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [08:4.291](https://academa.ai/lectures/simpsons-paradox?t=484.2912083333333): lesson is shown on the screen, written out.
- [08:15.158](https://academa.ai/lectures/simpsons-paradox?t=495.1582083333333): A box is drawn around lesson.
- [08:17.034](https://academa.ai/lectures/simpsons-paradox?t=497.0341458333333): axes is hidden from the screen — left the board.
- [08:17.034](https://academa.ai/lectures/simpsons-paradox?t=497.0341458333333): treatment\_line is hidden from the screen — axes left the board.
- [08:17.034](https://academa.ai/lectures/simpsons-paradox?t=497.0341458333333): control\_line is hidden from the screen — axes left the board.
- [08:17.034](https://academa.ai/lectures/simpsons-paradox?t=497.0341458333333): severe\_treatment is hidden from the screen — axes left the board.
- [08:17.034](https://academa.ai/lectures/simpsons-paradox?t=497.0341458333333): severe\_control is hidden from the screen — axes left the board.
- [08:17.034](https://academa.ai/lectures/simpsons-paradox?t=497.0341458333333): mild\_treatment is hidden from the screen — axes left the board.
- [08:17.034](https://academa.ai/lectures/simpsons-paradox?t=497.0341458333333): mild\_control is hidden from the screen — axes left the board.
- [08:17.034](https://academa.ai/lectures/simpsons-paradox?t=497.0341458333333): actual\_treatment is hidden from the screen — axes left the board.
- [08:17.034](https://academa.ai/lectures/simpsons-paradox?t=497.0341458333333): actual\_control is hidden from the screen — axes left the board.
- [08:17.034](https://academa.ai/lectures/simpsons-paradox?t=497.0341458333333): heading is hidden from the screen — left the board.
- [08:17.034](https://academa.ai/lectures/simpsons-paradox?t=497.0341458333333): lesson is hidden from the screen — left the board.

### Scene 4: [When Pooling Answers the Question](https://academa.ai/lectures/simpsons-paradox?t=498.0758125)

Span: 08:18.076–12:19.053 (498.0758125s–739.0531874999999s).

#### Objects

- appropriate: a Block \[text\] that says "Assignment is balanced across important risk groups. The target population mix is explicitly specified. The pooled rate is described as a result for that mixture."
- appropriate\_label: a Tex \[text\] that says "Pooling is informative" (underline=True)
- diagram: a Figure (x\_range=(0.0, 6.0), y\_range=(0.0, 4.0), aspect=(3.0, 2.0))
- final\_rule: a Math \[text\] that says "$upright("same question") + upright("same target mix") arrow.r upright("meaningful comparison")$"
- heading\_cause: a Heading that says "Why Severity Must Stay in the Analysis"
- heading\_decision: a Heading that says "Pooling Can Answer Different Questions"
- heading\_questions: a Heading that says "Three Questions Before You Pool"
- misleading: a Block \[text\] that says "Baseline outcome rates differ greatly across groups. Treatment exposure is very uneven across those groups. The crude total is interpreted as a like-for-like treatment effect."
- misleading\_label: a Tex \[text\] that says "Pooling can mislead" (underline=True)
- outcome: a Math \[green\] that says "$upright("outcome")$" drawn in diagram
- q1: a Text \[text\] that says "Does the subgroup variable strongly predict the outcome even without the treatment?"
- q2: a Text \[text\] that says "Are treatment and comparison cases distributed differently across those subgroups?"
- q3: a Text \[text\] that says "Which population mix does the decision actually concern?"
- severity: a Math \[red\] that says "$upright("severity")$" drawn in diagram
- severity\_to\_outcome: an Arrow \[red\] drawn in diagram (start=(1.65, 1.9), end=(4.35, 1.9))
- severity\_to\_treatment: an Arrow \[red\] drawn in diagram (start=(1.6, 2.25), end=(2.45, 2.85))
- treatment: a Math \[blue\] that says "$upright("treatment choice")$" drawn in diagram
- treatment\_to\_outcome: an Arrow \[blue\] drawn in diagram (start=(3.55, 2.9), end=(4.65, 2.25))
- warning: a Panel that says "A Simpson reversal is a signal to inspect subgroup composition and the data-generating process. By itself, it does not prove which comparison is causal."

#### Beats

##### [08:18.076](https://academa.ai/lectures/simpsons-paradox?t=498.0758125)

Narration: The practical question is not whether totals are forbidden. Totals are useful summaries. The question is whether the pooled total answers the decision you believe it answers.

Board: Empty.

Actions:
- [08:18.076](https://academa.ai/lectures/simpsons-paradox?t=498.0758125): heading\_questions is shown on the screen, written out.
- [08:18.076](https://academa.ai/lectures/simpsons-paradox?t=498.0758125): diagram is shown on the screen, written out.

##### [08:29.368](https://academa.ai/lectures/simpsons-paradox?t=509.3683125)

Narration: Begin with severity. In our example, severity strongly predicts the outcome. Mild cases have a much higher baseline chance of success than severe cases.

Board: diagram — a Figure (x\_range=(0.0, 6.0), y\_range=(0.0, 4.0), aspect=(3.0, 2.0)); heading\_questions — a Heading that says "Three Questions Before You Pool"

Actions:
- [08:30.472](https://academa.ai/lectures/simpsons-paradox?t=510.4718125): severity is shown on the screen, written out.
- [08:33.92](https://academa.ai/lectures/simpsons-paradox?t=513.9198125): severity\_to\_outcome is shown on the screen, written out.
- [08:34.407](https://academa.ai/lectures/simpsons-paradox?t=514.4068125): outcome is shown on the screen, written out.

##### [08:41.288](https://academa.ai/lectures/simpsons-paradox?t=521.2878125)

Narration: Severity also predicts which comparison group a patient enters. The treatment group received mostly severe cases, while the untreated group received mostly mild cases.

Board: diagram — a Figure (x\_range=(0.0, 6.0), y\_range=(0.0, 4.0), aspect=(3.0, 2.0)); heading\_questions — a Heading that says "Three Questions Before You Pool"; severity — a Math \[red\] that says "$upright("severity")$" drawn in diagram; outcome — a Math \[green\] that says "$upright("outcome")$" drawn in diagram; severity\_to\_outcome — an Arrow \[red\] drawn in diagram (start=(1.65, 1.9), end=(4.35, 1.9))

Actions:
- [08:42.53](https://academa.ai/lectures/simpsons-paradox?t=522.5298124999999): severity\_to\_treatment is shown on the screen, written out.
- [08:43.157](https://academa.ai/lectures/simpsons-paradox?t=523.1568125): treatment is shown on the screen, written out.

##### [08:52.279](https://academa.ai/lectures/simpsons-paradox?t=532.2793125)

Narration: Treatment choice may itself affect the outcome. But severity points toward both treatment choice and outcome, creating a backdoor route that mixes treatment effects with case selection.

Board: diagram — a Figure (x\_range=(0.0, 6.0), y\_range=(0.0, 4.0), aspect=(3.0, 2.0)); heading\_questions — a Heading that says "Three Questions Before You Pool"; severity — a Math \[red\] that says "$upright("severity")$" drawn in diagram; outcome — a Math \[green\] that says "$upright("outcome")$" drawn in diagram; severity\_to\_outcome — an Arrow \[red\] drawn in diagram (start=(1.65, 1.9), end=(4.35, 1.9)); treatment — a Math \[blue\] that says "$upright("treatment choice")$" drawn in diagram; severity\_to\_treatment — an Arrow \[red\] drawn in diagram (start=(1.6, 2.25), end=(2.45, 2.85))

Actions:
- [08:53.974](https://academa.ai/lectures/simpsons-paradox?t=533.9738125): treatment\_to\_outcome is shown on the screen, written out.
- [08:59.269](https://academa.ai/lectures/simpsons-paradox?t=539.2688125): severity\_to\_treatment is indicated — a transient flash.
- [08:59.768](https://academa.ai/lectures/simpsons-paradox?t=539.7678125): severity\_to\_outcome is indicated — a transient flash.

##### [09:3.549](https://academa.ai/lectures/simpsons-paradox?t=543.5493125)

Narration: This is why the first question matters. Does the subgroup variable predict the outcome even without treatment? If it does, changing the subgroup mix can change an aggregate rate.

Board: diagram — a Figure (x\_range=(0.0, 6.0), y\_range=(0.0, 4.0), aspect=(3.0, 2.0)); heading\_questions — a Heading that says "Three Questions Before You Pool"; severity — a Math \[red\] that says "$upright("severity")$" drawn in diagram; outcome — a Math \[green\] that says "$upright("outcome")$" drawn in diagram; severity\_to\_outcome — an Arrow \[red\] drawn in diagram (start=(1.65, 1.9), end=(4.35, 1.9)); treatment — a Math \[blue\] that says "$upright("treatment choice")$" drawn in diagram; severity\_to\_treatment — an Arrow \[red\] drawn in diagram (start=(1.6, 2.25), end=(2.45, 2.85)); treatment\_to\_outcome — an Arrow \[blue\] drawn in diagram (start=(3.55, 2.9), end=(4.65, 2.25))

Actions:
- [09:4.583](https://academa.ai/lectures/simpsons-paradox?t=544.5828124999999): diagram moves to a new place on the board.
- [09:4.583](https://academa.ai/lectures/simpsons-paradox?t=544.5828124999999): q1 is shown on the screen, written out.

##### [09:15.574](https://academa.ai/lectures/simpsons-paradox?t=555.5738125)

Narration: Second, are treatment and comparison cases distributed differently across those subgroups? A risk factor cannot create this particular distortion if both groups carry the same mix.

Board: q1 — a Text \[text\] that says "Does the subgroup variable strongly predict the outcome even without the treatment?"; diagram — a Figure (x\_range=(0.0, 6.0), y\_range=(0.0, 4.0), aspect=(3.0, 2.0)); heading\_questions — a Heading that says "Three Questions Before You Pool"; severity — a Math \[red\] that says "$upright("severity")$" drawn in diagram; outcome — a Math \[green\] that says "$upright("outcome")$" drawn in diagram; severity\_to\_outcome — an Arrow \[red\] drawn in diagram (start=(1.65, 1.9), end=(4.35, 1.9)); treatment — a Math \[blue\] that says "$upright("treatment choice")$" drawn in diagram; severity\_to\_treatment — an Arrow \[red\] drawn in diagram (start=(1.6, 2.25), end=(2.45, 2.85)); treatment\_to\_outcome — an Arrow \[blue\] drawn in diagram (start=(3.55, 2.9), end=(4.65, 2.25))

Actions:
- [09:16.05](https://academa.ai/lectures/simpsons-paradox?t=556.0498125): q2 is shown on the screen, written out.

##### [09:28.491](https://academa.ai/lectures/simpsons-paradox?t=568.4913125)

Narration: Third, which population is the decision about? A hospital may need the expected result for its actual patient mix. A causal comparison may instead need both options evaluated on one common mix.

Board: q1 — a Text \[text\] that says "Does the subgroup variable strongly predict the outcome even without the treatment?"; q2 — a Text \[text\] that says "Are treatment and comparison cases distributed differently across those subgroups?"; diagram — a Figure (x\_range=(0.0, 6.0), y\_range=(0.0, 4.0), aspect=(3.0, 2.0)); heading\_questions — a Heading that says "Three Questions Before You Pool"; severity — a Math \[red\] that says "$upright("severity")$" drawn in diagram; outcome — a Math \[green\] that says "$upright("outcome")$" drawn in diagram; severity\_to\_outcome — an Arrow \[red\] drawn in diagram (start=(1.65, 1.9), end=(4.35, 1.9)); treatment — a Math \[blue\] that says "$upright("treatment choice")$" drawn in diagram; severity\_to\_treatment — an Arrow \[red\] drawn in diagram (start=(1.6, 2.25), end=(2.45, 2.85)); treatment\_to\_outcome — an Arrow \[blue\] drawn in diagram (start=(3.55, 2.9), end=(4.65, 2.25))

Actions:
- [09:29.049](https://academa.ai/lectures/simpsons-paradox?t=569.0488124999999): q3 is shown on the screen, written out.
- [09:43.132](https://academa.ai/lectures/simpsons-paradox?t=583.1318125): diagram is hidden from the screen — left the board.
- [09:43.132](https://academa.ai/lectures/simpsons-paradox?t=583.1318125): severity is hidden from the screen — diagram left the board.
- [09:43.132](https://academa.ai/lectures/simpsons-paradox?t=583.1318125): outcome is hidden from the screen — diagram left the board.
- [09:43.132](https://academa.ai/lectures/simpsons-paradox?t=583.1318125): severity\_to\_outcome is hidden from the screen — diagram left the board.
- [09:43.132](https://academa.ai/lectures/simpsons-paradox?t=583.1318125): treatment is hidden from the screen — diagram left the board.
- [09:43.132](https://academa.ai/lectures/simpsons-paradox?t=583.1318125): severity\_to\_treatment is hidden from the screen — diagram left the board.
- [09:43.132](https://academa.ai/lectures/simpsons-paradox?t=583.1318125): treatment\_to\_outcome is hidden from the screen — diagram left the board.
- [09:43.132](https://academa.ai/lectures/simpsons-paradox?t=583.1318125): heading\_questions is hidden from the screen — left the board.
- [09:43.132](https://academa.ai/lectures/simpsons-paradox?t=583.1318125): q1 is hidden from the screen — left the board.
- [09:43.132](https://academa.ai/lectures/simpsons-paradox?t=583.1318125): q2 is hidden from the screen — left the board.
- [09:43.132](https://academa.ai/lectures/simpsons-paradox?t=583.1318125): q3 is hidden from the screen — left the board.

##### [09:43.732](https://academa.ai/lectures/simpsons-paradox?t=583.7318124999999)

Narration: Pooling is informative when treatment assignment is balanced across the important risk groups. Then each overall rate combines comparable ingredients in comparable proportions.

Board: Empty.

Actions:
- [09:43.732](https://academa.ai/lectures/simpsons-paradox?t=583.7318124999999): heading\_decision is shown on the screen, written out.
- [09:44.208](https://academa.ai/lectures/simpsons-paradox?t=584.2078125): appropriate\_label is shown on the screen, written out.
- [09:46.739](https://academa.ai/lectures/simpsons-paradox?t=586.7388125): appropriate is shown on the screen, written out.

##### [09:55.326](https://academa.ai/lectures/simpsons-paradox?t=595.3263125)

Narration: Pooling can also be appropriate when the target mixture is deliberately specified. If a health system expects seventy percent mild and thirty percent severe cases, it can standardize both options to that same mix.

Board: appropriate\_label — a Tex \[text\] that says "Pooling is informative" (underline=True); appropriate — a Block \[text\] that says "Assignment is balanced across important risk groups. The target population mix is explicitly specified. The pooled rate is described as a result for that mixture."; heading\_decision — a Heading that says "Pooling Can Answer Different Questions"

Actions:
- [09:57.683](https://academa.ai/lectures/simpsons-paradox?t=597.6828125): appropriate (the "target population mix" part) is emphasized.
- [10:8.933](https://academa.ai/lectures/simpsons-paradox?t=608.9328125): appropriate (the "target population mix" part) is no longer emphasized.

##### [10:9.533](https://academa.ai/lectures/simpsons-paradox?t=609.5328125)

Narration: In that setting, the pooled answer is not pretending to be universal. It is an answer for a named population, using weights chosen to represent that population.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [10:15.303](https://academa.ai/lectures/simpsons-paradox?t=615.3028125): appropriate (the "that mixture" part) is emphasized.
- [10:20.005](https://academa.ai/lectures/simpsons-paradox?t=620.0048125): appropriate (the "that mixture" part) is no longer emphasized.

##### [10:20.605](https://academa.ai/lectures/simpsons-paradox?t=620.6048125)

Narration: Pooling becomes dangerous when baseline risks differ greatly, treatment exposure is uneven across the risk groups, and the crude total is read as though it were a like-for-like treatment effect.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [10:21.952](https://academa.ai/lectures/simpsons-paradox?t=621.9518125): misleading\_label is shown on the screen, written out.
- [10:22.707](https://academa.ai/lectures/simpsons-paradox?t=622.7068125): misleading is shown on the screen, written out.

##### [10:33.071](https://academa.ai/lectures/simpsons-paradox?t=633.0708125)

Narration: Our example satisfies all three warning conditions. Severity changes baseline success by sixty points. The mild share changes from ten percent to ninety percent. The pooled rates then compare unlike populations.

Board: appropriate\_label — a Tex \[text\] that says "Pooling is informative" (underline=True); appropriate — a Block \[text\] that says "Assignment is balanced across important risk groups. The target population mix is explicitly specified. The pooled rate is described as a result for that mixture."; misleading\_label — a Tex \[text\] that says "Pooling can mislead" (underline=True); misleading — a Block \[text\] that says "Baseline outcome rates differ greatly across groups. Treatment exposure is very uneven across those groups. The crude total is interpreted as a like-for-like treatment effect."; heading\_decision — a Heading that says "Pooling Can Answer Different Questions"

Actions:
- [10:37.297](https://academa.ai/lectures/simpsons-paradox?t=637.2968125): misleading (the "Baseline outcome rates" part) is emphasized.
- [10:41.244](https://academa.ai/lectures/simpsons-paradox?t=641.2438125): misleading (the "very uneven" part) is emphasized.
- [10:48.187](https://academa.ai/lectures/simpsons-paradox?t=648.1868125): misleading (the "Baseline outcome rates" part) is no longer emphasized.
- [10:48.187](https://academa.ai/lectures/simpsons-paradox?t=648.1868125): misleading (the "very uneven" part) is no longer emphasized.

##### [10:48.787](https://academa.ai/lectures/simpsons-paradox?t=648.7868125)

Narration: A responsible analysis would report the raw total and the severity-specific results, then use stratification, standardization, regression, matching, or a suitable study design to compare like with like.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [11:2.638](https://academa.ai/lectures/simpsons-paradox?t=662.6378125): appropriate is hidden from the screen — left the board.
- [11:2.638](https://academa.ai/lectures/simpsons-paradox?t=662.6378125): appropriate\_label is hidden from the screen — left the board.
- [11:2.638](https://academa.ai/lectures/simpsons-paradox?t=662.6378125): heading\_decision is hidden from the screen — left the board.
- [11:2.638](https://academa.ai/lectures/simpsons-paradox?t=662.6378125): misleading is hidden from the screen — left the board.
- [11:2.638](https://academa.ai/lectures/simpsons-paradox?t=662.6378125): misleading\_label is hidden from the screen — left the board.

##### [11:3.238](https://academa.ai/lectures/simpsons-paradox?t=663.2378125)

Narration: One final caution. Finding a Simpson reversal does not automatically prove that the subgroup result is causal. Severity may be measured imperfectly, other confounders may remain, and the chosen subgroups may themselves be consequences of earlier decisions.

Board: Empty.

Actions:
- [11:3.238](https://academa.ai/lectures/simpsons-paradox?t=663.2378125): heading\_cause is shown on the screen, written out.
- [11:4.19](https://academa.ai/lectures/simpsons-paradox?t=664.1898125): warning is shown on the screen, written out.

##### [11:21.044](https://academa.ai/lectures/simpsons-paradox?t=681.0438125000001)

Narration: The reversal is a diagnostic signal. It tells us that aggregation and composition matter, and that we should investigate how patients entered each group before drawing a treatment conclusion.

Board: warning — a Panel that says "A Simpson reversal is a signal to inspect subgroup composition and the data-generating process. By itself, it does not prove which comparison is causal."; heading\_cause — a Heading that says "Why Severity Must Stay in the Analysis"

Actions:
- [11:23.285](https://academa.ai/lectures/simpsons-paradox?t=683.2848125): warning (the "signal" part) is emphasized.
- [11:28.044](https://academa.ai/lectures/simpsons-paradox?t=688.0438125000001): warning (the "signal" part) is no longer emphasized.

##### [11:33.126](https://academa.ai/lectures/simpsons-paradox?t=693.1258124999999)

Narration: So ask what the total literally measures. In this study, thirty-six and seventy-four percent describe outcomes in two observed populations. They are valid summaries of those populations.

Board: Unchanged from the preceding beat in this scene.

Actions:
- None.

##### [11:46.88](https://academa.ai/lectures/simpsons-paradox?t=706.8798125)

Narration: Then ask what comparison the decision requires. If the goal is a treatment effect, compare treatment and no treatment at the same severity mix. If the goal is operational forecasting, use the mix expected in the population where the decision will be applied.

Board: Unchanged from the preceding beat in this scene.

Actions:
- [11:54.345](https://academa.ai/lectures/simpsons-paradox?t=714.3448125): final\_rule is shown on the screen, written out.

##### [12:3.548](https://academa.ai/lectures/simpsons-paradox?t=723.5478125)

Narration: The lesson of Simpson's paradox is not simply to distrust averages. It is to identify their weights, understand what creates those weights, and make sure both sides of a comparison answer the same question for the same target population.

Board: warning — a Panel that says "A Simpson reversal is a signal to inspect subgroup composition and the data-generating process. By itself, it does not prove which comparison is causal."; final\_rule — a Math \[text\] that says "$upright("same question") + upright("same target mix") arrow.r upright("meaningful comparison")$"; heading\_cause — a Heading that says "Why Severity Must Stay in the Analysis"

Actions:
- [12:16.157](https://academa.ai/lectures/simpsons-paradox?t=736.1568125000001): A box is drawn around final\_rule.
- [12:18.012](https://academa.ai/lectures/simpsons-paradox?t=738.0115208333333): final\_rule is hidden from the screen — left the board.
- [12:18.012](https://academa.ai/lectures/simpsons-paradox?t=738.0115208333333): heading\_cause is hidden from the screen — left the board.
- [12:18.012](https://academa.ai/lectures/simpsons-paradox?t=738.0115208333333): warning is hidden from the screen — left the board.
