Confounding variable

By Jude Wallis · Published

A confounding variable is associated with both the explanatory variable and the response, so its effect and the explanatory variable's cannot be told apart.

Confounding is a two-part test and a variable has to pass both parts. The candidate must be associated with the explanatory variable, so the groups being compared differ on it, and it must also be associated with the response. Fail either part and the variable is not a confounder.

A district finds that students who eat the free school breakfast score higher on a reading test than students who do not. Explanatory variable: eats the school breakfast. Response: reading score. Family income passes both parts, since lower-income families take up a free breakfast at higher rates and income is separately related to reading scores, so the breakfast gap and the income gap are the same gap seen twice. Nothing in these data says which one moved the score.

Now a variable that fails. Suppose 12 percent of the breakfast eaters are left-handed and 12 percent of the non-eaters are as well. Handedness is spread evenly across the two groups, so it is not associated with the explanatory variable, and whatever it does to reading it cannot account for a difference between them. That is the correction worth keeping, because the wrong version is everywhere: "any variable that could affect the reading score is a confounding variable." No. A variable that affects the response but has no tie to who ate breakfast is an extraneous variable. It adds spread to the scores rather than a lean to the comparison.

The other half of the test fails just as often. Riding the school bus is strongly associated with eating the school breakfast, because bus riders arrive early, but if riders and walkers read alike then bus riding explains none of the gap.

Confounding is a feature of how a study was built, not something you can spot in the numbers. Random assignment attacks the first link by making the treatment groups similar on average on every other variable, measured or not, though in a small experiment chance can still leave a group tilted. Topic 1.13 Experimental Design is where this sits.

Where this comes up

More collecting data and study design terms, or browse the full statistics glossary.