Question

What is a confounding variable?

Vault Verified
Curated Intelligence
Definitive Source
Answer

A third factor associated with both the supposed cause and the supposed effect, creating an apparent relationship between them that is not causal — the central reason correlation does not establish causation.

The classic illustration. Ice cream sales correlate with drownings. Neither causes the other; hot weather causes both. Temperature is the confounder, and controlling for it makes the relationship disappear.

Why this is so difficult in practice. The confounder must be identified and measured to be controlled for, and the ones that matter are frequently the ones nobody thought of. Statistical adjustment can only account for variables you have data on — residual confounding from unmeasured factors remains, and it is the standard limitation of observational research.

Real examples where confounding misled:

Coffee and lung cancer. Early studies found an association. Coffee drinkers were more likely to smoke; smoking was the confounder.

Hormone replacement therapy and heart disease. Observational studies suggested a protective effect. Women receiving it were, on average, more affluent and healthier in other respects — healthy user bias — and randomised trials produced different results.

Moderate drinking and health. The apparent benefit is substantially complicated by the fact that abstainer groups include people who stopped drinking because they were unwell — the sick quitter problem.

How confounding is addressed:

Randomisation, which is the only method dealing with unknown confounders. Assigning treatment randomly means confounders, measured or not, are distributed equally between groups on average. This is why randomised trials sit high in evidence hierarchies — not because the analysis is better, but because the design removes a problem statistics cannot.

Matching participants on known factors.

Statistical adjustment, which works only for measured variables.

Restriction to a narrow group, at the cost of generalisability.

Related concepts frequently confused: a mediator sits on the causal pathway and should not be adjusted for if you want the total effect; a collider is a common effect of two variables, and adjusting for one can create a spurious association where none existed — a counterintuitive trap.

Related Questions