Skip to content

Causal Inference for Machine Learning Practitioners

Why predictive models don't answer 'what if' questions, and the methods used to estimate causal effects from data.

Editorial team 1 min read

Machine learning predicts what will happen. Many business questions ask what would happen if we acted — which needs causal reasoning.

Prediction Isn't Causation

A model may find that customers who receive discounts churn more — because discounts are offered to at-risk customers. Using that model to conclude discounts cause churn would be wrong.

Gold Standard: Experiments

Randomised experiments (A/B tests) remove confounding and estimate causal effects directly.

Observational Methods

When experiments aren't possible:

  • Matching and propensity scores: compare similar treated and untreated units.
  • Difference-in-differences: compare changes over time between groups.
  • Regression discontinuity: exploit sharp cut-offs in treatment rules.
  • Instrumental variables: use factors that affect treatment but not outcomes directly.
  • Causal graphs: make assumptions explicit and identify what to control for.

Uplift Modelling

Predict the effect of an action on each individual — who will respond because of a campaign, not just who will buy anyway.

Caution

Observational methods depend on assumptions that can't always be tested. State them clearly and check sensitivity.

More in Machine learning

All Machine learning guides →
Machine learning Guide · 2 min

Linear Regression Explained

The simplest predictive model: how linear regression fits a line through data, how to read its coefficients, and when it breaks down.

Machine learning 2 min read 17 Sep 2026

Machine learning Guide · 2 min

Logistic Regression for Classification

Despite its name, logistic regression is a classification method. How it produces probabilities and why it remains a strong baseline.

Machine learning 2 min read 16 Sep 2026

Machine learning Guide · 2 min

Decision Trees

How decision trees split data with simple questions, why they are easy to explain, and why single trees overfit.

Machine learning 2 min read 15 Sep 2026

Machine learning Guide · 2 min

Random Forests

Why averaging many randomised decision trees produces a robust, accurate model with little tuning.

Machine learning 2 min read 14 Sep 2026