Hidden Variables

Logic
meta

Also known as: confounding variable, lurking variable, confounders

Grade 9-12

View on concept map

Quantities or factors that influence a mathematical or real-world situation but are not explicitly included in the current model or expression. Many modeling errors come from hidden variables β€” two quantities appear correlated because a third hidden variable drives both of them.

Definition

Quantities or factors that influence a mathematical or real-world situation but are not explicitly included in the current model or expression.

πŸ’‘ Intuition

What's lurking behind the scenes that we forgot to account for?

🎯 Core Idea

Hidden variables cause results that seem inconsistent or surprising β€” identifying them is the key diagnostic step when a model fails to match reality.

Example

Price of gas affects demandβ€”but so does income, weather, and alternatives (hidden).

Formula

P(A \mid B) \neq P(A \mid B, C) when hidden variable C confounds the relationship

Notation

C denotes a confounding (hidden) variable; P(A \mid B, C) conditions on it to reveal the true relationship

🌟 Why It Matters

Many modeling errors come from hidden variables β€” two quantities appear correlated because a third hidden variable drives both of them.

πŸ’­ Hint When Stuck

Ask: 'What else could be causing this pattern?' List all factors that could influence the outcome, not just the ones stated in the problem.

Formal View

C confounds A and B if P(A \mid B) \neq P(A \mid B, C); Simpson's paradox: the sign of association between A and B can reverse when conditioning on C

🚧 Common Stuck Point

Correlation without causation often signals hidden variables.

⚠️ Common Mistakes

  • Concluding causation from correlation without considering hidden variables β€” ice cream sales and drownings both rise in summer due to heat, not each other
  • Failing to include a relevant variable in a model and then getting misleading results
  • Assuming that because a hidden variable is hard to measure, it can be ignored β€” unmeasured does not mean unimportant

Frequently Asked Questions

What is Hidden Variables in Math?

Quantities or factors that influence a mathematical or real-world situation but are not explicitly included in the current model or expression.

What is the Hidden Variables formula?

P(A \mid B) \neq P(A \mid B, C) when hidden variable C confounds the relationship

When do you use Hidden Variables?

Ask: 'What else could be causing this pattern?' List all factors that could influence the outcome, not just the ones stated in the problem.

Prerequisites

Next Steps

How Hidden Variables Connects to Other Ideas

To understand hidden variables, you should first be comfortable with modeling. Once you have a solid grasp of hidden variables, you can move on to causation.