Prediction Versus Causal Questions: Why a Good Model Can Mislead a Decision
See why an accurate predictive model can recommend the wrong action, with a worked confounding example and ways to answer causal questions.
Key takeaways
- Prediction describes the world as it has been operating, while a causal estimate describes what an intervention would change.
- A hidden or ignored common cause can reverse the apparent effect of an action.
- Feature importance and attribution scores explain a model's output and do not establish that changing a feature changes the outcome.
- Randomized experiments are the most direct way to estimate the effect of an action.
- Causal estimates from observational data rest on assumptions that you should write down and challenge.
A predictive model answers "what is likely to happen to cases that look like this?" A causal question asks "what will happen if we do something differently?" A model can answer the first superbly and the second completely wrongly, because it learns which things occur together without learning what changes what.
The danger arises the moment someone reads a feature as a lever. If customers who call support often are likely to cancel, blocking their calls will not keep them.
Two questions that sound alike
| Predictive question | Causal question |
|---|---|
| Which customers are likely to cancel? | Which customers would stay if offered a discount? |
| Which patients are likely to be readmitted? | Does a follow-up call reduce readmission? |
| Which machines will probably fail? | Does earlier servicing prevent failure? |
| Which ads get clicked? | How many extra sales does an ad produce? |
The left column concerns forecasting under business as usual. The right column compares two worlds, one with the action and one without. For any individual you only ever see one of them. That missing half, often called the counterfactual, is why causal questions need more than a good fit.
A worked example: the discount that seems to hurt
Suppose, as a made-up example, that a team tends to offer discounts to customers who already look likely to leave. The records show the following churn counts.
| Segment | Discount: churned / total | No discount: churned / total |
|---|---|---|
| High risk | 320 / 800 (40%) | 100 / 200 (50%) |
| Low risk | 10 / 200 (5%) | 80 / 800 (10%) |
| All | 330 / 1000 (33%) | 180 / 1000 (18%) |
Pooled, discounted customers churn far more: 33 percent against 18. Within each segment, they churn less. The reversal happens because most discounts went to high-risk customers. Risk level affects both who gets the offer and who leaves. Such a variable is a confounder.
To compare like with like, apply each segment's rates to the same population mix, here half high risk and half low risk.
with discount: 0.5 × 40% + 0.5 × 5% = 22.5%
without discount: 0.5 × 50% + 0.5 × 10% = 30.0%
difference: 7.5 percentage points less churn Hypothetical example: the numbers are made up to show the method, not a quote or an average.
This is an instance of Simpson's paradox. The adjusted figure is a causal effect only if risk segment is the sole confounder, which the table cannot prove.
Why better accuracy does not help
It is tempting to think a stronger model or more data would fix the problem. In the discount table, no amount of data changes the pooled figures. With a billion rows, you would simply know very precisely that discounted customers churn more.
A model given both discount and risk segment would do better, since it could learn the within-segment pattern. But nothing in the training objective asks it to. It is rewarded for matching outcomes, and it will use whichever combination of inputs does that. If risk segment were missing, or only roughly measured, the model would assign the leftover risk to the discount and predict that offering one raises churn. That prediction could even be accurate for the records as they were generated, where receiving a discount really was a sign of trouble.
The trouble starts when someone changes the policy. Once discounts are handed out differently, the old relationship between receiving one and being at risk disappears, and the model's forecasts degrade along with the advice. Causal estimates aim at the part that stays put when the policy changes.
Where associations come from
If x predicts y, several explanations can produce that pattern.
- x influences y.
- y influences x. Customers preparing to leave may stop logging in, so low activity is a symptom.
- A third factor drives both, as risk did above.
- The way records were selected creates a link. If you only study accounts that survived a review, two unrelated traits can appear connected.
- Chance, especially after searching many variables.
A predictive model is content with any of these, as long as the pattern persists in new data. An intervention is not, because only the first guarantees that pushing x moves y.
Importance scores are not levers
It is natural to open up an accurate model and rank its features. Permutation importance, SHAP values and coefficients all describe how the model uses its inputs. They say nothing certain about what happens in the world when you change one.
Correlated features make this worse. A model may place weight on whichever proxy is cleanest, and a small change in data can move the weight to another. A feature with zero importance may have a strong causal effect that reaches the model through some other variable.
Reading coefficients causally requires the same assumptions as any other causal analysis. Fitting a flexible model, however accurate, does not supply them.
A second trap: timing
Many misleading features are recorded after the decision process has already started. Imagine a model of hospital complications in which "received intensive monitoring" predicts bad outcomes. Staff monitor the patients they are worried about. Reading the feature as a cause would suggest monitoring less, which is plainly backward. This is a teaching example, and any real clinical use needs clinical expertise and proper validation.
The same pattern appears in business data: a retention call logged against accounts that were about to leave, or a manual review attached to the most suspicious claims. For every feature, ask when it was written and who or what decided it should exist. Features that are really records of someone else's judgment may predict well and then vanish or change meaning once your system replaces that judgment.
A useful habit is to draw a timeline for one case: what was known, what action was taken, and when the outcome occurred. Anything on the wrong side of the prediction moment is a candidate for leakage, and anything that reflects an earlier action deserves a causal second look.
Running an experiment
The most direct route is to randomize. Assign the action by chance among eligible cases and compare outcomes. Chance assignment breaks the link between the action and every prior characteristic, measured or not, apart from random imbalance that shrinks as the groups grow.
A few practical points:
- Decide the outcome and the time window before starting.
- Choose a sample size large enough to detect an effect you would care about, as discussed under statistical power.
- Keep treated and untreated cases from influencing each other where possible.
- Report the effect with an interval, not only a verdict.
Experiments have limits. Some are unethical, illegal or too slow, and results apply most safely to the population and period tested. Where experiments touch people, get appropriate review and consent.
When you only have observational data
Without randomization you can still estimate effects, using methods such as stratification, matching, weighting by the probability of receiving treatment, regression adjustment or natural experiments. Each relies on assumptions. Two common ones are that all relevant confounders are measured, and that every kind of case had some chance of receiving either option.
Adjusting for more variables is not automatically safer. Controlling for something the action itself changes can erase part of the effect you want. Controlling for a collider, a variable influenced by both of two others, can create a spurious link. Draw a diagram of what you believe causes what, and let it guide the choice. Causal inference basics goes through the tools.
Predicting who will respond
If the goal is to decide whom to treat, risk is often the wrong target. Some high-risk customers will leave whatever you do. Some would stay anyway. A few might even be nudged toward leaving by being reminded of the bill.
Uplift modeling estimates the difference the action makes for cases with given features. It needs data in which treatment varied for reasons you understand, ideally from a randomized trial, and its estimates are noisier than ordinary risk predictions.
When prediction is enough
Plenty of decisions need only a forecast. If you want to know how much stock to hold, and your stocking choice does not change demand much, predicting demand is the job. If a model sorts incoming mail, no counterfactual is required.
Ask two questions. Will the action change the outcome being predicted? Is the choice between actions based on how much they change it? If the first answer is yes, remember that a deployed model changes its own future training data: a successful maintenance warning prevents the failure that would have confirmed it. Log which actions were taken, and consider leaving a small random portion of cases to chance where that is safe and permitted.
A checklist before acting on a model
- State the action and the outcome in one sentence.
- Say whether you need a forecast or the effect of a change.
- List plausible common causes of the action and the outcome.
- Check whether anything could run from outcome back to feature.
- Look for variation in who received the action, and why.
- Plan a small controlled test before a wide rollout.
If stakeholders want to act on a feature, say plainly that the model shows an association and propose the experiment that would settle it. Spelling this out during problem framing is much cheaper than discovering it after a policy has failed.