Mental model
Prediction vs. Causation in DAGs
DAGs can predict outcomes from patterns, but they cannot prove that one thing causes another without additional assumptions about how variables truly relate.
Discover
You're analyzing customer data and notice that higher ice cream sales strongly predict higher sunglasses purchases. What should you establish first to determine if ice cream sales actually cause more sunglasses purchases?
What's the first logical step?
Learn when patterns mislead and how DAGs distinguish correlation from causation.
Understand
Understand
Prediction and causation are fundamentally different in causal diagrams (DAGs). Prediction asks "given X, what can we expect to see?" and works purely with observed patterns—like how ice cream sales predict sunscreen purchases because both increase in summer. Causation asks "if I change X, will Y actually change?" and requires understanding the real mechanism behind the pattern, not just the correlation. DAGs help separate these by showing which variables truly influence others versus which merely share patterns. Try this: Before assuming one thing causes another, ask what else might explain the pattern.
Full explanation
Full explanation
How Prediction Differs from Causation
Prediction models work by finding patterns in data without needing to know why those patterns exist. A machine learning algorithm can predict customer churn accurately by spotting that people who call support twice often cancel—but this doesn't mean support calls cause cancellations. The real cause might be a defective product that generates both support calls and cancellations. DAGs make this distinction explicit by drawing arrows only for true causal relationships, not mere correlations.
Why DAGs Separate the Two
In a DAG, arrows represent direct causal influence. If ice cream sales predict sunglasses purchases, a DAG would show both as children of a common parent: temperature or season. This structure explains why they're correlated (summer increases both) but clarifies that neither causes the other. If you intervened to increase ice cream sales, sunglasses purchases wouldn't budge—yet a naive prediction model might suggest they would. The DAG's structure prevents this mistake by making the causal assumptions visible and testable.
Real-World Examples
In medicine, blood pressure predicts heart disease risk, but lowering blood pressure doesn't always prevent heart attacks—the causal pathway may involve inflammation, stress hormones, or arterial plaque. A DAG helps identify whether blood pressure is a cause, a consequence, or just a marker. In business, employee satisfaction predicts productivity, but improving satisfaction through free snacks won't boost productivity if the real cause is good management. DAGs force you to specify what you'd actually change and what would truly respond, preventing costly interventions that target symptoms instead of causes.
Practical Implications
When building predictive models, you can use any correlated variable—proxies like "season" or "temperature" work fine. But when making decisions or designing interventions, you must identify true causal relationships. DAGs help by forcing you to articulate your causal assumptions: which variables would stay the same if you intervened, which would change, and what hidden common causes might exist. This distinction saves resources by preventing actions that target correlations rather than causes.
Research
Research
Causal DAGs (Directed Acyclic Graphs) formalize the distinction between associational and causal inference through the do-calculus and structural causal models. Pearl's framework shows that prediction relies solely on observational distributions, while causal claims require interventional distributions denoted by the do-operator P(Y | do(X)). [1, 5] High-dimensional prediction models can achieve excellent accuracy while completely misrepresenting causal structure, as "spurious" correlations improve predictions but invalidate causal conclusions. [2]
Limitations
Limitations
DAG-based causal conclusions depend heavily on correctly specifying the graph structure—miss a single confounder or backdoor path, and causal estimates become biased. Prediction models don't require this causal specification and may be more robust when assumptions are uncertain. Additionally, some modern machine learning systems (like deep neural nets) achieve superhuman prediction without any interpretable causal structure, suggesting that for pure forecasting, causal understanding may be unnecessary overhead. Finally, DAGs typically assume stable, well-defined causal relationships, which breaks down in complex systems with feedback loops or emergent properties.
Try it
Synthesize
Choose a pattern from the guide, then pick an action to try with it.
Which pattern stands out?
What will you try?
Choose a pattern above to select an action.
Sources
Sources
- [1] Causality: Models, Reasoning and InferenceJudea Pearl - 2009
- [2] The Seven Tools of Causal Inference, with Reflections on Machine LearningJudea Pearl - 2021
- [3] Causal Inference in Statistics: An OverviewJudea Pearl - 2009
- [4] Elements of Causal InferencePeters, Janzing & Schölkopf - 2017
- [5] The Book of Why: The New Science of Cause and EffectJudea Pearl & Dana Mackenzie - 2018
Try it
Check your understanding
A health app predicts heart disease risk using step count, sleep quality, and diet scores with 92% accuracy. Which statement best explains why this model might not support causal claims about which factors to modify?
Show the guide's explanation
Answer: Prediction accuracy doesn't guarantee the identified factors are true causes
A prediction model can leverage any correlated variable, even proxies or downstream effects, to achieve high accuracy. Step count might predict heart disease because healthy people both exercise more AND have better habits overall—not because increasing steps directly improves heart health. Causal claims require identifying which variables would change under intervention, not just which ones correlate. The same DAG that predicts well might recommend ineffective interventions if it confuses correlation with causation.
A retailer finds that customers who buy organic wine also buy artisanal cheese 87% of the time. They consider removing cheese from shelves near wine to encourage more diverse purchases. What would a DAG approach reveal about this decision?
Show the guide's explanation
Answer: The correlation might reflect a common cause (customer preferences) rather than causation, so the intervention may have no effect
A DAG would represent wine and cheese purchases as separate effects of a common cause (like customer income, food interest, or shopping occasion). Neither product causes the other; they co-occur because the same type of person buys both. Removing cheese from nearby shelves wouldn't change wine purchases because there's no causal arrow from cheese to wine. This illustrates why predictive associations (useful for recommendation systems) differ from causal relationships (needed for intervention planning).
Which step must happen FIRST to determine whether increasing employee remote days causes higher productivity, rather than just predicting it?
Show the guide's explanation
Answer: Map causal pathways including confounders like job type, team structure, and performance metrics
Before any causal claim, you must specify the causal structure: what affects what. Remote days might correlate with productivity because high-performing employees earn more autonomy, or because certain roles (programming vs. retail) both allow remote work and have different productivity baselines. A DAG makes these assumptions explicit and reveals whether remote days are a true cause, a consequence, or just a proxy for other factors. Prediction can skip this step, but causal decisions cannot. This mirrors the hook's lesson: map the causal structure first, then decide.
Keep exploring
Find another idea for the decision in front of you.
The complete Reframo library is free to read. Explore another guide whenever you are ready.