Study Meadow

Note 10

Correlation and causation

People who drink coffee live longer.

Headlines of this form are as reliable as tides. Coffee, red wine, dog ownership, a daily walk, marriage: people who do X live longer. The sentence itself is usually a fair summary of a real pattern in real data. The trouble starts on the next line, where someone writes “so you should do X”. “Correlation does not imply causation” is often said as if it ended the conversation. It would be more useful to treat it as the start of one.

What a correlation is

Two quantities are correlated if knowing one helps you guess the other. The usual measure is the correlation coefficient, written r, which runs from −1 to +1. At +1 the points lie on a rising straight line. At −1 they lie on a falling one. At 0 there is no straight-line relationship.

Two warnings about r. It only measures straight-line relationships, so a perfect U-shape can score 0. And it can be dragged about by a single unusual point, as Anscombe’s quartet shows. Squaring r gives the share of the variation that the straight line accounts for: an r of 0.5 sounds substantial and accounts for only 25 percent.

Four explanations

Whenever A and B move together, there are four families of explanation. It helps to go through them in order.

1. A causes B. Coffee itself might protect you. It is possible.

2. B causes A. This is reverse causation. People who are already ill often give up coffee, because of medication, a bad stomach or a doctor’s advice. So the non-drinkers include a share of people who were sicker to begin with. The same happens with alcohol: studies that lumped ex-drinkers in with lifelong abstainers made “not drinking” look worse than it is, since some had quit for reasons of health.

3. C causes both. This is the confounder, sometimes called a lurking variable. Income, education, smoking, job type and general health might all be linked to how much coffee a person drinks and to how long they live.

Ice cream and rescues by month, illustrativeTwelve invented monthly points rise together from January at the low end to July at the high end. Warm weather drives both.0100020000102030Ice creams soldSwimmers rescuedJanMayJulOct
Illustrative, invented data. Ice cream does not cause rescues. Hot weather sends people to both.

4. Chance or selection. Look at enough pairs and some will correlate by luck. There is a well-known paper by Franz Messerli in the New England Journal of Medicine (2012) which reported a strong correlation between national chocolate consumption and Nobel Prizes per head. It was written with its tongue somewhat in its cheek, and it works as a lesson in comparing whole countries: rich countries buy more of nearly everything and fund more laboratories.

Selection can also produce correlations out of nothing. This is collider bias, or Berkson’s paradox, after Joseph Berkson’s 1946 paper on hospital patients. Suppose an invented film studio casts people who are either very attractive or very talented. Among the cast, the two traits will look negatively related: anyone who is not beautiful must be talented, or they would not be there. Across the whole population there may be no link at all. So be wary of patterns that exist only among people who got through some gate: hospital patients, college admits, published studies.

How adjustment works, and where it stops

Good observational studies do not ignore confounders. They adjust for them, comparing like with like: coffee drinkers against non-drinkers of the same age, sex, income and smoking habit. If the link survives, that is informative.

It has limits. You can only adjust for what you measured, and only as well as you measured it. Smoking recorded as yes or no leaves plenty of room for a confounder to survive inside the “yes”. And some things are not measured at all, like how much people care about their health. The tendency of health-minded people to do many healthy things at the same time is called the healthy user effect, and it shows up everywhere in nutrition research.

The strongest fix is to break the link between C and A deliberately, which is what a randomized trial does. Often that cannot be done. Nobody can randomize a thousand people to forty years of coffee.

When we say cause without a trial

Smoking is the great example. Nobody has ever randomly assigned people to decades of smoking, and we are entirely confident that smoking causes lung cancer. Richard Doll and Austin Bradford Hill published their case-control study in the British Medical Journal in 1950, and others appeared in the same period. R. A. Fisher, then about the most eminent statistician alive, publicly doubted it and proposed that a shared genetic factor could produce both a liking for tobacco and a tendency to cancer. It was a legitimate form of argument. It was also wrong, and as the evidence built up, the room left for it shrank.

In 1965 Hill set out a list of considerations for moving from association to causation. They are often called criteria, though he explicitly did not intend a checklist. Paraphrased, the main ones are:

ViewpointThe question it asks
StrengthIs the association large? Hard to explain away with a modest confounder.
ConsistencyIs it seen by different people, places and methods?
TemporalityDoes the cause come first? This one is essential.
Dose-responseDoes more exposure mean more effect?
PlausibilityIs there a credible mechanism?
ExperimentDoes removing the exposure reduce the effect?

Smoking scored heavily on all of them. People who smoked more had higher risk, people who quit saw their risk fall, and the link held in many countries. Compare a typical food headline: a small association, inconsistent across studies, measured from what people recall eating.

Reading it the other way

Be careful not to become someone who shouts “correlation is not causation” at every study. The phrase is true of all correlations, and some of them are caused. Dismissing strong, repeated, well-adjusted evidence because it is merely observational is a way of never learning anything. You can be sceptical and specific at the same time. Name the confounder you suspect, and ask whether it could be big enough to explain the result.

There is also a trap in the headline’s verbs. “Linked to”, “associated with” and “tied to” are honest. “Boosts”, “cuts”, “protects against” and “raises your risk” are causal claims, even when the paper itself made none. Press offices sometimes strengthen the language, and reporters sometimes strengthen it further.

What to ask

Goes with: Why randomized trials are different, Simpson’s paradox, Regression to the mean.