# Confounding Variable

> A hidden third thing that moves two others at once, so they look linked.

**Field:** General Knowledge  
**Category:** Math & Statistics  
**Also known as:** Confounder, Lurking Variable, Third Variable

## Think of it like

It is like a hidden puppet master. One hand pulls two strings at once.

## Definition

A confounding variable is a hidden third thing that affects two others. It makes them move together, even though neither causes the other. Hot weather raises both ice cream sales and sunburn. Here the weather is the confounder. If you miss it, you may blame the wrong thing. Fair tests with random groups are the best way to rule it out.

## Example

People who carry a lighter get lung disease more often. The confounder is smoking, which leads to both the lighter and the disease.

## Why it matters

Most false claims of cause hide a confounder. Spotting one is half of reading any study well.

## Common mistake

Thinking confounders only matter in big science. Sales, health and school data are full of them.

## Three principles

- **A third thing.** It touches both of the others.
- **Fakes a link.** The two move together because of it.
- **Random groups help.** They spread confounders out evenly.

## Related terms

- [Causation](https://learn.benibix.com/term/general/causation)
- [Correlation](https://learn.benibix.com/term/general/correlation)
- [Sampling (Statistics)](https://learn.benibix.com/term/general/sampling)
- [Hypothesis Test](https://learn.benibix.com/term/general/hypothesis-test)
- [Control Group](https://learn.benibix.com/term/general/control-group)
- [Randomized Controlled Trial (RCT)](https://learn.benibix.com/term/general/randomized-controlled-trial)

## Taught in

- [Correlation vs Causation](https://learn.benibix.com/learn/general-math/correlation-vs-causation): Statistics, 8/10

![A box at the top reads hot weather. Two solid arrows lead down from it, one to a box reading ice cream sales and one to a box reading sunburn. A dashed line joins the two lower boxes, marked move together. A note under it says neither causes the other.](https://learn.benibix.com/diagrams/gen-confounder.svg)

---

Source: https://learn.benibix.com/term/general/confounding-variable
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-20
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
