AI engineering glossary · Probability

What is confounding variable?

Confounding variable: A third variable that influences both the supposed cause and the supposed effect, creating a misleading association between them. Ignoring it can make a relationship appear where none exists. Controlling for it, or randomising, is how analysts separate real effects from spurious ones.

Level: intermediateTopic: Probability

Confounding variable: an example

Hot weather raises both ice cream sales and swimming accidents, so sales and accidents correlate without one causing the other.

Related terms

More Probability terms

Where you learn it

Confounding variable is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.