AI Wiki中文/EN

Correlation and causation: where associations come from

相关与因果

Why an observed association does not say what an intervention would do: the structural sources of association, reverse causation, Reichenbach's common cause principle, and Simpson's reversal, with synthetic models in which the same numbers come from different causes.

On this pageIntuitionMathematics & methodImplementationLimitationsExercisesResearch connections

Moving together is not pushing

Two things can rise and fall together without one causing the other. A correlation tells you that knowing one helps you predict the other. It does not tell you what would happen if you changed one of them. For example, people who carry a lighter get lung cancer more often, but taking their lighters away would not protect them, because smoking causes both. §6.2, pp. 78–79

Storks show the same problem. In Europe, the number of storks predicts the human birth rate. Changing the stork population would not change how many babies are born. A prediction that works while nothing changes can fail as soon as someone acts. §II-A, p. 3

The familiar slogan is “correlation does not imply causation”. Pearl states it more precisely. Associations alone cannot establish a causal claim, even with data on a whole population. Every causal conclusion relies on some causal assumption that observational data cannot test. §2.1, p. 99

This article explains where associations come from. Here an association means any statistical link between two variables, such as a correlation, a regression slope or a difference between group rates. It covers reverse causation, where the effect runs the opposite way to what we assumed. It also covers common causes that drive both variables, common effects that both variables drive, and chance. Finally, it explains Simpson’s reversal, where a trend in a table flips once you split the data into groups. The general language for causal questions is in causal inference. Correlation itself is defined in covariance and correlation.

Four sources of an association

This section separates seeing from setting, lists the ways an association can arise, and shows why the same table can support opposite conclusions.

Seeing versus setting

A causal question asks what happens when we set a variable. An association reports what we see when a variable happens to take a value.

E[Y∣X=x]  ≠  E[Y∣do(X=x)]E[Y \mid X=x] \;\neq\; E[Y \mid do(X=x)]

In words: the left side is the average of YY among units that happen to have X=xX=x. The right side is the average of YY if XX were set to xx for everyone, written with Pearl’s dodo operator. In general the two differ. The do operator is explained in causal inference and, in depth, in structural causal models.

Pearl gives a medical illustration. A joint distribution of symptoms and diseases says nothing about whether curing one would cure the other. Probability theory alone does not say how a distribution changes when outside conditions change. §2.1, p. 99

Hernán and Robins state the contrast in terms of people. An association compares two different groups in the actual population, for example the treated and the untreated. A causal effect compares the whole population under two different treatments. §1.5, pp. 10–12 In their hypothetical aspirin example, the drug halves the risk, a causal risk ratio of 0.5. Yet the associational risk ratio is 1.5, because high-risk patients are more likely to get aspirin. A doctor who acted on the association would harm patients. §1.5, p. 12

Where associations come from

Hernán and Robins list the structural reasons two variables can be associated. Two variables are associated if one causes the other, or if they share a common cause. Otherwise they are marginally independent, meaning independent when the whole population is analysed. §6.2, p. 79 A third structural source appears when the analysis is restricted, as described below.

One causes the other. This includes reverse causation, where YY causes XX although we expected the opposite. The statistics look the same in both directions.

A common cause. A third variable drives both. Smoking causes both carrying a lighter and lung cancer, so lighter carriers have more cancer, although lighters have no effect on it. §6.2, pp. 78–79 The full topic, including why “a confounder” cannot be defined from associations alone, is confounding. §2.3, p. 100, footnote 2

A common effect. Two independent variables become associated if we only look at cases with a certain value of something they both cause, or of a consequence of it. §6.3, pp. 80–81 Pearl’s example uses two fair coins. They are independent, but once we learn that at least one landed tails, learning that the first was heads tells us the second was tails. This is known as Berkson’s paradox. §3.1, p. 106 The published article on Bayesian networks computes the same effect, called explaining away, for a warning with two possible causes. Selection on a common effect is treated in collider bias.

Chance. The fourth source is not structural. In a finite sample two unrelated variables can look associated by luck. Such chance associations shrink as the study population grows. §6.3, p. 81 Judging them is the job of hypothesis testing.

Association has no direction

Association is symmetric: if XX is associated with YY, then YY is associated with XX. Causation has a direction. §6.2, p. 78

Schölkopf and colleagues give a shopping example. Knowing that a customer bought a laptop tells you as much about whether they bought a laptop bag as the other way round. In technical terms, mutual information, a measure of how much one variable tells about another, is symmetric. The mechanism has a direction, laptop first and bag second, but the statistics have lost it. §III-A, p. 4

Reichenbach’s common cause principle

The philosopher Hans Reichenbach proposed a principle that links dependence to causes. We did not read his book; we use the statement as quoted by Schölkopf and colleagues. If XX and YY are statistically dependent, some variable ZZ causally influences both. ZZ explains all of the dependence, so XX and YY become independent once ZZ is known. As a special case, ZZ can be XX or YY itself. §III-B, p. 5

The principle says a dependence has some causal explanation. It does not say which one. Without further assumptions, the structures X→YX\to Y, Y→XY\to X and X←Z→YX\leftarrow Z\to Y cannot be told apart from observational data on XX and YY. They produce the same class of distributions. A causal model therefore contains more information than a statistical one. §III-B, p. 5 Part A of the example below shows this with three models that share one correlation.

Simpson’s reversal

Sometimes an association between XX and YY has one sign in the whole population and the opposite sign in every subgroup defined by a third variable ZZ. This is called Simpson’s paradox. §1, p. 1 The arithmetic behind it is that a ratio of sums can be ordered opposite to both of its parts. §2.1, p. 4, footnote 6

a1c1>a2c2,b1d1>b2d2,a1+b1c1+d1<a2+b2c2+d2\frac{a_1}{c_1} > \frac{a_2}{c_2}, \qquad \frac{b_1}{d_1} > \frac{b_2}{d_2}, \qquad \frac{a_1+b_1}{c_1+d_1} < \frac{a_2+b_2}{c_2+d_2}

In words: group 1 has a higher rate than group 2 in both parts, yet a lower rate when the parts are pooled. In the example below, a1/c1=240/800a_1/c_1=240/800 and b1/d1=160/200b_1/d_1=160/200 are the treated patients’ recovery rates in two subgroups. a2/c2=40/200a_2/c_2=40/200 and b2/d2=560/800b_2/d_2=560/800 are the untreated patients’ rates. Pooled, the treated recover 400/1000 and the untreated 600/1000. Pearl’s footnote states the same pattern with the inequality signs the other way round; we write it in the direction that matches our example.

The reason is a change of weights. The pooled rate is an average of subgroup rates, weighted by how the subgroup is spread within each level of XX.

P(Y=1∣X=x)=∑zP(Y=1∣X=x,Z=z) P(Z=z∣X=x)P(Y=1 \mid X=x) = \sum_{z} P(Y=1 \mid X=x, Z=z)\, P(Z=z \mid X=x)

In words: the recovery rate among patients with treatment value xx equals each subgroup’s rate times that subgroup’s share among those patients, summed over subgroups. When ZZ is spread very unevenly across the values of xx, the pooled rates can reverse. In the example, 80% of treated patients are in the hard subgroup but only 20% of untreated ones. So 0.30×0.8+0.80×0.2=0.400.30\times0.8+0.80\times0.2=0.40 for the treated and 0.20×0.2+0.70×0.8=0.600.20\times0.2+0.70\times0.8=0.60 for the untreated.

Reversal versus paradox

Pearl separates two things. Simpson’s reversal is the arithmetic fact above, which is not surprising once you see the weights. Simpson’s paradox is the surprise that arises when the reversal is read causally: does the treatment help or hurt? §2.1, p. 4 In his 2009 overview, Pearl argues that the paradox is famous only because people read the data causally. §3.3.4, pp. 118–119

He also cites a “sure-thing” theorem. Suppose an action raises the chance of an outcome in every subgroup. Then it must raise it in the whole population too, provided the action does not change how people are spread across the subgroups. §2.1, p. 4 That proviso is where the two stories in the example differ.

Which table should you trust, the pooled one or the split one? Lindley and Novick showed in 1981 that the same data can call for either, depending on the story behind them. No statistical criterion settles it. pp. 2–3 Pearl’s answer is to use the causal diagram. If ZZ is a common cause of treatment and outcome, use the subgroup tables. If ZZ is affected by the treatment, as in his Figure 1(b), use the pooled table. He adds that timing alone does not settle the choice: in other diagrams ZZ is not affected by the treatment, yet the right table still differs. One can check the choice by simulating a randomized trial on the model. §2.2–2.3, pp. 5–7, Figs. 1–2 Calling this a resolution of the paradox is Pearl’s own argument.

Two further warnings come from the same paper. In some structures neither the pooled nor the split table gives the right answer. And conditioning on more and more variables can flip the sign again and again, so without causal knowledge one cannot know which variables to include. §2.3, pp. 7–8, Fig. 3 The general rule for choosing what to adjust for belongs to back-door adjustment.

When association does equal causation

In an ideal randomized experiment, a coin decides who is treated. Then treated and untreated groups are exchangeable: alike on average in everything except the treatment. The associational risk ratio is then expected to equal the causal one. §2.1, pp. 13–15 This is why experiments are the standard way to settle a causal question, and why causal inference spends so much effort on what to do without them.

Same numbers, different causes

This section builds models in which we know the causes and shows that the data alone cannot reveal them.

The program is original and synthetic, numpy only, with a fixed seed. Part A simulates three linear models with 400,000 samples each. Every variable has variance 1, and each model has correlation 0.6 between XX and YY. To simulate an intervention, the code replaces the equation for XX with a constant, which is the do operation. Part B builds a table of expected counts for 2,000 patients and then simulates randomized trials under two causal stories.

# Original synthetic models: association versus causation (no real data).
import numpy as np

rng = np.random.default_rng(2026)
N = 400_000

print("Part A. Three mechanisms, one correlation")


def simulate(kind, do_x=None):
    e1, e2, e3 = rng.standard_normal((3, N))
    if kind == "X->Y":
        x = e1 if do_x is None else np.full(N, do_x)
        y = 0.6 * x + 0.8 * e2
    elif kind == "Y->X":
        y = e2
        x = 0.6 * y + 0.8 * e1 if do_x is None else np.full(N, do_x)
    else:  # X <- Z -> Y, no arrow between X and Y
        z = e3
        x = np.sqrt(0.6) * z + np.sqrt(0.4) * e1 if do_x is None else np.full(N, do_x)
        y = np.sqrt(0.6) * z + np.sqrt(0.4) * e2
    return x, y


for kind in ("X->Y", "Y->X", "X<-Z->Y"):
    x, y = simulate(kind)
    r = np.corrcoef(x, y)[0, 1]
    slope = np.cov(x, y)[0, 1] / np.var(x, ddof=1)
    _, y1 = simulate(kind, do_x=1.0)
    _, y0 = simulate(kind, do_x=0.0)
    print(f"  {kind:8s} corr = {r:.3f}  slope of Y on X = {slope:.3f}  "
          f"E[Y|do(X=1)] - E[Y|do(X=0)] = {y1.mean() - y0.mean():+.3f}")

print("\nPart B. A Simpson reversal generated from a known model")
# Z = severe case, X = treated, Y = recovered. Expected counts for 2000 patients.
n_z = {1: 1000, 0: 1000}
p_x_given_z = {1: 0.8, 0: 0.2}


def p_y(x, z):
    return 0.7 + 0.1 * x - 0.5 * z


table = {}
for z in (1, 0):
    for x in (1, 0):
        n = round(n_z[z] * (p_x_given_z[z] if x else 1 - p_x_given_z[z]))
        table[(z, x)] = (n, round(n * p_y(x, z)))
for z, name in ((1, "severe"), (0, "mild  ")):
    (n1, r1), (n0, r0) = table[(z, 1)], table[(z, 0)]
    print(f"  {name}: treated {r1}/{n1} = {r1 / n1:.2f}   untreated {r0}/{n0} = {r0 / n0:.2f}"
          f"   difference {r1 / n1 - r0 / n0:+.2f}")
N1 = sum(table[(z, 1)][0] for z in (0, 1)); R1 = sum(table[(z, 1)][1] for z in (0, 1))
N0 = sum(table[(z, 0)][0] for z in (0, 1)); R0 = sum(table[(z, 0)][1] for z in (0, 1))
print(f"  all   : treated {R1}/{N1} = {R1 / N1:.2f}   untreated {R0}/{N0} = {R0 / N0:.2f}"
      f"   difference {R1 / N1 - R0 / N0:+.2f}")

# Story 1: severity Z causes both treatment and recovery (Z -> X, Z -> Y, X -> Y).
# Story 2: treatment X changes Z (X -> Z -> Y, X -> Y); same joint table.
def trial(story, x_set):
    x = np.full(N, x_set)
    if story == 1:
        z = (rng.random(N) < 0.5).astype(int)
    else:
        z = (rng.random(N) < np.where(x == 1, 0.8, 0.2)).astype(int)
    return (rng.random(N) < p_y(x, z)).mean()


def story2_joint():
    p = {}
    for x in (1, 0):
        for z in (1, 0):
            pz = 0.8 if x else 0.2
            p[(z, x)] = 0.5 * (pz if z else 1 - pz)
    return p


j2 = story2_joint()
same = all(abs(j2[k] - table[k][0] / 2000) < 1e-12 for k in table)
print(f"  story 2 gives the same P(Z, X) cells as the table: {same} (P(Y|X,Z) is shared)")
for story in (1, 2):
    eff = trial(story, 1) - trial(story, 0)
    print(f"  story {story}: simulated randomized trial, effect of treatment = {eff:+.3f}")
print("  exact: story 1 = +0.10 (trust the per-group rows); story 2 = -0.20 (trust the 'all' row)")

Output:

Part A. Three mechanisms, one correlation
  X->Y     corr = 0.601  slope of Y on X = 0.602  E[Y|do(X=1)] - E[Y|do(X=0)] = +0.600
  Y->X     corr = 0.598  slope of Y on X = 0.599  E[Y|do(X=1)] - E[Y|do(X=0)] = -0.002
  X<-Z->Y  corr = 0.599  slope of Y on X = 0.600  E[Y|do(X=1)] - E[Y|do(X=0)] = -0.002

Part B. A Simpson reversal generated from a known model
  severe: treated 240/800 = 0.30   untreated 40/200 = 0.20   difference +0.10
  mild  : treated 160/200 = 0.80   untreated 560/800 = 0.70   difference +0.10
  all   : treated 400/1000 = 0.40   untreated 600/1000 = 0.60   difference -0.20
  story 2 gives the same P(Z, X) cells as the table: True (P(Y|X,Z) is shared)
  story 1: simulated randomized trial, effect of treatment = +0.100
  story 2: simulated randomized trial, effect of treatment = -0.201
  exact: story 1 = +0.10 (trust the per-group rows); story 2 = -0.20 (trust the 'all' row)

Part A, three mechanisms. In the first model XX causes YY. In the second YY causes XX, which is reverse causation if we expected the opposite. In the third a hidden ZZ causes both, and there is no arrow between XX and YY. All three give a correlation and slope of about 0.60. By hand: in the second model X=0.6Y+0.8εX=0.6Y+0.8\varepsilon has variance 0.36+0.64=10.36+0.64=1 and covariance 0.6 with YY. In the third, XX and YY each have variance 0.6+0.4=10.6+0.4=1 and share the part 0.6Z\sqrt{0.6}Z, so their covariance is 0.6.

Part A, interventions. Setting XX by hand tells the models apart. Only the first responds, with an effect of +0.600. The other two give −0.002, which is zero up to sampling noise. This extends the two switch-and-lamp models in the Judea Pearl article to three continuous mechanisms. The third model is the same shared-input construction used in covariance and correlation.

Part B, the table. The model gives each patient a 0.5 chance of being in the hard subgroup Z=1Z=1. Patients in that subgroup are treated with probability 0.8, the others with probability 0.2. The recovery chance is 0.7+0.1x−0.5z0.7+0.1x-0.5z, so treatment adds 0.1 within each subgroup. The printed table shows the reversal: +0.10 in each row, −0.20 overall.

Story 1, a common cause. Here ZZ is severity, measured before treatment. It drives both who gets treated and who recovers. Treatment does not change severity, so the sure-thing condition holds. A simulated randomized trial gives +0.100, matching the exact +0.10: 0.8−0.5×0.5=0.550.8-0.5\times0.5=0.55 under treatment and 0.7−0.5×0.5=0.450.7-0.5\times0.5=0.45 without. Trust the per-group rows.

Story 2, a consequence of treatment. Here ZZ is not severity. It is a risk marker measured after treatment, and the treatment changes it. This mechanism is our own invention, built like Pearl’s Figure 1(b), where blood pressure plays this role. Each patient is treated with probability 0.5. Treatment raises the chance of a high marker from 0.2 to 0.8, and a high marker lowers recovery. The printed row labels “severe” and “mild” are the story-1 reading; in story 2 they mean high and low marker. This story produces exactly the same table, which the code confirms with True. Yet the simulated trial gives −0.201. By hand: 0.8−0.5×0.8=0.40.8-0.5\times0.8=0.4 under treatment and 0.7−0.5×0.2=0.60.7-0.5\times0.2=0.6 without, a difference of −0.2. The drug’s direct benefit is outweighed by the harm it does through the marker. Trust the pooled row.

Same numbers, opposite answers. Only the causal story decides which table to read. This mirrors the logic of Pearl’s Figure 1, with numbers of our own. §2.2–2.3, Fig. 1

Limits of the slogan and of the example

This section notes where the simple slogan misleads and what the example does not show.

No correlation does not mean no cause. Correlation measures linear association, so a curved dependence can have zero correlation; see covariance and correlation. Causal paths can also cancel each other, as exercise 4 shows. The assumption that rules out such exact cancellation is discussed in causal graphs.

“Control for the third variable” is not always right. Story 2 shows that splitting by a variable affected by the treatment gives the wrong sign. Splitting by a common effect can create an association that was not there. §6.3, pp. 80–81

Reichenbach’s principle names no cause. It says some common cause or direct link exists, not which one. We quote it through Schölkopf and colleagues, not from Reichenbach’s own book. §III-B, p. 5

The resolution is an argument. Pearl’s claim that causal diagrams resolve Simpson’s paradox is his position, developed in his own papers. Lindley and Novick’s point that statistics alone cannot choose the table is the part that does not depend on his framework. pp. 2–3

The example is a toy. The models are synthetic and linear or binary, and the stories were chosen to make the point. Part A’s −0.002 values are sampling noise around a true zero. No real drug or data set is described.

Exercises

These exercises cover the sources of association, a hand calculation, judging a table, a counterexample, and transfer to a recommender system.

  1. Name the three structural reasons, and one non-structural reason, why two variables can be associated.

    Answer: One causes the other, in either direction. They share a common cause. The analysis is restricted to certain values of a common effect or of its consequence. And the non-structural reason is chance. §6.3, pp. 80–81

  2. Using the Part B table, verify the reversal. Compute the treated and untreated recovery rates within each subgroup and overall.

    Answer: Hard subgroup: 240/800=0.30240/800=0.30 against 40/200=0.2040/200=0.20. Easy subgroup: 160/200=0.80160/200=0.80 against 560/800=0.70560/800=0.70. The treated do better by 0.10 in both. Overall: 400/1000=0.40400/1000=0.40 against 600/1000=0.60600/1000=0.60, so the treated do worse by 0.20. The reason is that 80% of treated patients are in the hard subgroup, against 20% of untreated ones.

  3. An analyst sees only the Part B table. Can she decide whether the drug helps?

    Answer: No. Story 1, where severity drives treatment choice, gives +0.10. Story 2, where treatment changes the marker, gives −0.20. Both produce the identical table. She needs the causal story: is ZZ a common cause measured before treatment, or a consequence of treatment? §2.3, pp. 6–7 The general rule is in back-door adjustment.

  4. “If two variables are uncorrelated, neither causes the other.” True or false?

    Answer: False. Here is a linear example with numbers of our own. Take X→M→YX\to M\to Y with weights 0.8 and 0.5, so the indirect path carries 0.8×0.5=0.40.8\times0.5=0.4. Add a direct path X→YX\to Y with weight −0.4. The two paths cancel, so XX and YY are uncorrelated (taking XX with variance 1: 0.4−0.4=00.4-0.4=0) although XX really affects YY along two routes. Also, a nonlinear dependence can have zero correlation.

  5. A recommender sees that people who buy a laptop bag also buy laptops. It starts recommending laptops to bag buyers. (This adapts the shopping example of Schölkopf and colleagues.) What goes wrong, and what data would test the recommendation?

    Answer: The association is symmetric, but the mechanism runs from laptop to bag. §III-A, p. 4 Bag buyers mostly own a laptop already. Recommending is an intervention, so test it with a randomized experiment: show the recommendation to a random half and compare purchases. Purchase correlations cannot answer that question.

  6. Part A’s three models all give a slope of 0.6. What single kind of evidence would separate the first model from the other two?

    Answer: Interventional data. Set XX by randomization and see whether the mean of YY moves: by 0.6 per unit in the first model, not at all in the other two. Observational data on XX and YY alone cannot separate them without extra assumptions. §III-B, p. 5

History and further reading

This section summarises the history of Simpson’s paradox as Pearl tells it, and points to next steps.

According to Pearl’s account, Pearson and colleagues (1899) and Yule (1903) noticed associations that disappear when data are pooled. Cohen and Nagel (1934) first noted an actual reversal of sign. Simpson’s 1951 paper treated the topic technically, and Blyth (1972) was the first to call it a paradox. Pearl adds that the word “causal” does not appear in Simpson’s paper. §1, pp. 1–2 We did not read these original papers.

Pearl notes, citing Hernán and colleagues (2011), that Simpson’s own two examples had different causal structures. In one the third variable was a common cause; in the other it was a common effect. Footnote 5, p. 3 Hernán and Robins add in a margin that the paradox came from ignoring the difference between common causes and common effects. They also say Blyth misread Simpson’s example as extreme confounding, and that the misunderstanding spread because most people read Blyth rather than Simpson. §8.3, p. 115

For the general framework, start with causal inference. Pearl’s overview explains the split between associational and causal concepts. §2.2, pp. 99–100 The next topics in this series are structural causal models, causal graphs, confounding, collider bias and back-door adjustment. Learning causal direction from data, beyond the limits shown in Part A, is the subject of causal-discovery.

Make a prediction, then check

A table shows the treated recover 0.10 more often than the untreated within both the severe and the mild group, yet 0.20 less often overall. Can the table alone tell whether the drug helps or harms?

Choose one answer

Learning objectives

  • Name the structural reasons two variables become associated (one causes the other, a common cause, conditioning on a common effect) plus chance, and explain why observational data on X and Y alone cannot separate X→Y, Y→X and X←Z→Y.
  • Compute a Simpson-reversal table by hand and explain why, for the same table, different causal stories call for trusting either the subgroup rows or the combined row.

Prerequisites & connections

Explore related knowledge →

References

  1. Causal inference in statistics: An overview
    Judea Pearl · 2009
  2. Causal Inference: What If (online version of 19 August 2026) — scoped
    Miguel A. Hernán; James M. Robins · 2026
  3. Understanding Simpson's Paradox (technical report R-414) — scoped
    Judea Pearl · 2013
  4. Towards Causal Representation Learning (arXiv v1) — scoped
    Bernhard Schölkopf; Francesco Locatello; Stefan Bauer; Nan Rosemary Ke; Nal Kalchbrenner; Anirudh Goyal; Yoshua Bengio · 2021

Version1 · Editorial status: Recorded technical checks completed

View technical check record (AI)

Claude · 2026-12-03 · Independent AI check (Claude subagent, not the author; not a human or expert review). Gemini-app style edits logged in gemini-edits-016a.json were applied to the opening (intuition) sections before this check; research was done by a separate research subagent (facts.md) and the prose by a writer subagent. I ran example.py with the pinned interpreter (numpy 1.26.4) and diffed it against example.stdout.txt (identical), confirmed the python block in en.mdx and zh.mdx is byte-identical to example.py, and matched every quoted number (corr/slope 0.601/0.602, 0.598/0.599, 0.599/0.600; effects +0.600, -0.002, -0.002; the 240/800, 40/200, 160/200, 560/800, 400/1000, 600/1000 table; +0.100 and -0.201). I re-derived the variance/covariance checks, the weighted-average reversal (0.40 and 0.60), the story-1 (0.55 - 0.45) and story-2 (0.4 - 0.6) exact effects, the story-2 joint cells, and the exercise-4 cancellation (0.8 x 0.5 - 0.4 = 0 with unit-variance X). The Simpson inequality in the article is written in the direction that matches its own data (treated higher in both subgroups, lower pooled); facts.md had copied Pearl's footnote-6 orientation, which does not match the example, and the article now says so. I downloaded and read with pdftotext: Pearl R-414 pp. 1-9 (history, footnotes 2-7, §2.1-2.3, Figs. 1-3, start of Appendix A); Pearl 2009 (R-350) pp. 99-101, 106, 118-119; What If (19 August 2026 PDF) pp. 11-15, 76-81, 115; Schölkopf et al. arXiv v1 pp. 3-5 (storks §II-A, laptop/rucksack §III-A, Reichenbach §III-B). The Simpson history follows R-414 (Pearson et al. 1899 and Yule 1903 vanishing associations; Cohen & Nagel 1934 first reversal; Simpson 1951; Blyth 1972 first called it a paradox); no Berkeley admissions numbers appear; story 2's Z is called a post-treatment marker, not severity. I compared zh and en section by section, checked links against src/content/articles (links to the unpublished causal-inference page were turned into inline code), data.json IDs against src/data/catalogue.txt, alias uniqueness (case-insensitive, also against src/data/aliases.json and the other batch-016 topics), the lint stock-phrase list, and compiled both MDX files. Not checked: the original Pearson, Yule, Cohen & Nagel, Simpson, Blyth, Lindley & Novick and Reichenbach texts, the rest of R-414 Appendix A, and the journal versions.

  • The example runs under the pinned interpreter with output identical to example.stdout.txt; both code blocks are byte-identical to example.py, and every quoted number and hand calculation was re-derived.
  • The Simpson history follows Pearl's R-414: Pearson et al. (1899) and Yule (1903), Cohen and Nagel (1934), Simpson (1951), Blyth (1972); no Berkeley admissions numbers appear.
  • The displayed inequalities match the example's data, with a note that Pearl's footnote 6 states the same pattern in the opposite orientation.
  • In story 2, Z is called a post-treatment risk marker, not severity, and the mechanism is labelled our own construction modelled on Pearl's Fig. 1(b).
  • Pearl's 'resolved' claim is presented as his own argument; Reichenbach's principle is marked as quoted via Schölkopf et al.
  • zh and en agree section by section; the Gemini style edits changed no fact, hedge or attribution.

Source locations checked:

  • Causal inference in statistics: An overview · R-350 pdftotext, journal pages. Read: §2.1–2.3 pp. 99–100 (slogan restated as 'no causal conclusion without an untested causal assumption'; symptoms/diseases; associational vs causal concepts; associational definitions of confounding fail, footnote 2 intermediate variable); §2.4 p. 101; §3.1 pp. 103–106 (eqs. 1–4, missing links, Berkson's paradox and the two-coin example p. 106); §3.3.4 pp. 118–119 (remark on Simpson's paradox history). NOT read for this topic: §3.2–3.3.3, §3.5 onward.
  • Causal Inference: What If (online version of 19 August 2026) — scoped · pdftotext, printed pages. Read: §1.5 pp. 9–12 (association vs causation; aspirin margin note p. 12); §2.1 pp. 13–15; §6.2–6.3 pp. 77–81 (association flows along paths, symmetric; lighter/lung cancer common cause; haplotype/smoking collider; three structural reasons plus chance); margin note on Simpson's paradox in §8.3 p. 115. NOT read: everything else. Checker note: the p. 115 margin (in §8.3) says the paradox came from ignoring the common-cause/common-effect difference and that Blyth misread Simpson's example as extreme confounding; the 'two examples had different structures' point is from Pearl R-414 footnote 5.
  • Understanding Simpson's Paradox (technical report R-414) — scoped · pdftotext, 12 pp. Read pp. 1–8: §1 history (Pearson 1899, Yule 1903, Simpson 1951, Cohen & Nagel 1934, Blyth 1972, Lindley & Novick 1981; footnotes 1–5), §2.1 reversal vs paradox and the sure-thing statement (footnotes 6–7), §2.2 which structures admit reversals (Figs. 1–2), §2.3 guessing game with simulated randomized trials, back-door idea for a single covariate, Fig. 3 multi-stage reversals, conclusions; start of Appendix A p. 9 (inequalities 1–3; its 50% vs 40% illustration described only in words). NOT read: rest of Appendix A, references; the journal version.
  • Towards Causal Representation Learning (arXiv v1) — scoped · pdftotext of arXiv v1. Used: §II-A p. 3 (storks predict birth rates; interventions change the distribution); §III-A p. 4 (laptop/rucksack, mutual information symmetric, direction lost); §III-B p. 5 (Reichenbach common cause principle as quoted by the authors; storks X→Y, X←Y, X←Z→Y indistinguishable from observational data). Reichenbach 1956 itself not read. NOT read: §IV onward.

Related topics

No matches. Try a synonym or acronym.

0 results shown

Wrap the whole query in double quotes for a phrase match.