How do you estimate whether X really causes Y when you cannot run an experiment, and how do you avoid controlling for the wrong variables?
When to use it
Use it when you must estimate the effect of a decision, price, feature or programme from observational data. It also helps when a team argues about which variables belong in a regression, when results flip after adding controls, or when you suspect selection effects.
Where it comes from
Causal graphs were first used by the geneticist Sewall Wright as 'path diagrams' and later adopted by social scientists and economists, initially for linear models. Judea Pearl extended them to non-parametric analysis; his paper 'Causal diagrams for empirical research' appeared in Biometrika in 1995 and his book Causality in 2000. Greenland, Pearl and Robins brought the method to epidemiology in 1999. The year 1995 marks the modern formulation, not the first use of path diagrams.
Judea Pearl · 1995
Sheet 2/4
How it works
The graph states assumptions about the data-generating process: an arrow from A to B means A is a direct cause of B, and a missing arrow means no direct effect. Association between two variables flows along paths. A path through a common cause (a fork) creates a spurious link and should be blocked by adjusting for that cause. A path through a mediator (a chain) carries part of the effect and should usually be left open. A path through a common effect (a collider) is blocked by default and opens if you adjust for it, which creates false links. The back-door criterion turns these rules into a test: find a set of variables that blocks every non-causal path from X to Y without blocking causal ones. The graph does not prove anything; it makes your assumptions explicit so others can challenge them.
You need
A clearly defined cause and outcome; a list of candidate variables; domain knowledge about which variables influence which; observational data.
You get
A causal diagram, an explicit adjustment set (what to control for and what not to), a list of untestable assumptions, and an effect estimate under those assumptions.
Sheet 3/4
Case
Illustrative case
Harbor Insurance wants to know whether its new 'smart renewal' email (E) reduces churn (C). Customers who opened the email churned 4% against 11% for the rest. A naive analyst concludes the email cuts churn by 7 points. The team draws a DAG: customer engagement (G) causes both opening emails and staying; the email causes opens; opens cause retention. Engagement is a confounder, so they adjust for a pre-email engagement score. The adjusted gap falls to 1.5 points. They also drop 'called support after the email' from the model: it is a collider of email and an unrelated billing problem, and controlling for it had inflated the effect. The company keeps the email, cuts the budget for a planned upgrade and runs an A/B test to confirm the 1.5 points.
A fictional company used to explain the model.
Sheet 4/4
Caution
When to avoid it
Skip it when a randomised experiment or A/B test is feasible and cheap, since randomisation removes confounding by design.
Do not use it for pure prediction, where causal structure does not matter, or when nobody can defend the arrows because the domain is unknown.
Common mistakes
Controlling for everything available; adjusting for colliders or mediators; drawing the graph after seeing the data and fitting it to the results; treating the diagram as proof instead of a set of assumptions; leaving out an unmeasured common cause and still claiming a causal effect.
Known weaknesses
The result is only as good as the arrows, which come from judgement, not from the data.
Unmeasured confounders cannot be fixed by the graph alone.
Large graphs become hard to draw and defend.
Needs training in the rules; misapplied graphs give false confidence.
How to apply it in 7 steps
How to apply it
Causal graphs (directed acyclic graphs, DAGs) for causal inference
7 steps
01of 7
Step 1 of 7: Define the question
State the cause (treatment) and the outcome precisely, with the population and time window.
01
02of 7
Step 2 of 7: List relevant variables
Include measured and unmeasured variables that plausibly affect the treatment, the outcome or both, using domain knowledge and interviews.
02
03of 7
Step 3 of 7: Draw the arrows
Add an arrow only where you believe a direct cause exists. Check that there are no cycles; split variables over time if needed.
03
04of 7
Step 4 of 7: Classify the paths
Mark forks, chains and colliders between treatment and outcome, and note which paths are causal and which are spurious.
04
05of 7
Step 5 of 7: Choose the adjustment set
Apply the back-door criterion: block every spurious path, keep causal paths open, and never adjust for colliders or their descendants.
05
06of 7
Step 6 of 7: Estimate and stress-test
Run the regression or matching on that set, then test how the result changes if an unmeasured variable or a different arrow is added.
06
07of 7
Step 7 of 7: Share and revise
Show the graph to subject experts, record the assumptions, and replace it with an experiment where one becomes possible.
07
Click to unfold
Use the arrow keys to move between steps, Home and End for the first and last, and Enter to fold or unfold the booklet.
View all 7 steps
01
Define the question
State the cause (treatment) and the outcome precisely, with the population and time window.
02
List relevant variables
Include measured and unmeasured variables that plausibly affect the treatment, the outcome or both, using domain knowledge and interviews.
03
Draw the arrows
Add an arrow only where you believe a direct cause exists. Check that there are no cycles; split variables over time if needed.
04
Classify the paths
Mark forks, chains and colliders between treatment and outcome, and note which paths are causal and which are spurious.
05
Choose the adjustment set
Apply the back-door criterion: block every spurious path, keep causal paths open, and never adjust for colliders or their descendants.
06
Estimate and stress-test
Run the regression or matching on that set, then test how the result changes if an unmeasured variable or a different arrow is added.
07
Share and revise
Show the graph to subject experts, record the assumptions, and replace it with an experiment where one becomes possible.
Which decisions it helps with
Decision profile
A map or diagram to understand what is happening on any subject.
Keyboard: Tab to the sheet, use the arrows to explore the assessments and their questions, and press Escape to close the note.
IIdentity
Type of tool
Map or diagramvery likely
The questionWhat kind of tool is it?Assessment · Map or diagram · 100 %
Decision stage
Understand what’s happeninglikely
The questionWhat stage of the decision are you at?Assessment · Understand what’s happening · 77 %
What it applies to
Any subjectGeneral technique: independent of the subject
The questionWhat is the decision about?Assessment · Any subject · 82 %
Discipline
Systems thinkinglikely
The questionWhich discipline does it come from?Assessment · Systems thinking · 78 %
What it produces
A map of relationships, flows or causesvery likely
The questionWhat kind of tool is it?Assessment · A map of relationships, flows or causes · 100 %
IIIResources required
TimeOne session (half a day or a full day)The questionHow much time can you spend on this?Assessment · One session (half a day or a full day) · confidence 79 %
PeopleA small group (2 to 8)The questionHow many people will take part?Assessment · A small group (2 to 8) · confidence 95 %
DataQuantitative analysisThe questionWhat data do you have available?Assessment · Quantitative analysis · confidence 85 %
ExpertiseWorks best with a facilitatorThe questionDoes anyone have experience with methods like these?Assessment · Works best with a facilitator · confidence 82 %
Time horizonA few monthsThe questionHow far ahead do you need to plan?Assessment · A few months · confidence 77 %
ScopeOne teamThe questionWho will this decision affect?Assessment · One team · confidence 42 %
FrequencyOccasionallyThe questionIs this a one-off decision or something you expect to repeat?Assessment · Occasionally · confidence 61 %
The team’s own knowledge is enoughThe questionCan you speak to customers, users or people outside your organisation?Assessment · The team’s own knowledge is enough
IITen axes
The dot shows which end the model favours. A hollow dot means no clear preference.
DirectionExecutionThe questionAre you setting direction or improving day-to-day operations?Assessment · Execution · confidence 64 %
Top-downBottom-upThe questionShould leadership set the direction, or should the answer come from the people doing the work?Assessment · Mostly bottom-up · confidence 62 %
PeopleProcessesThe questionIs this mainly a people problem or a process problem?Assessment · Processes · confidence 76 %
Generate optionsNarrow down optionsThe questionDo you need to generate more options or narrow them down?Assessment · Mostly narrow down options · confidence 77 %
Step-by-step analysisIntuition and experienceThe questionWould you rather work through the evidence step by step or draw on the group’s experience?Assessment · Mostly analysis · confidence 79 %
A strict sequence of stepsmixedA flexible frameworkThe questionWould you prefer a precise set of steps or a framework you can adapt?Assessment · no clear preference (probability is spread across several levels)
Protect what we haveTake a riskThe questionDo you need to protect what you have or take a chance on something new?Assessment · Mostly protect · confidence 74 %
Improve what we havemixedFundamental changeThe questionDo you want to improve what you have or change it fundamentally?Assessment · no clear preference (probability is spread across several levels)
Inside the organisationOutside the organisationThe questionWhere do you expect to find the answer, inside your organisation or in the market?Assessment · Outside the organisation · confidence 50 %
Understand firstAct nowThe questionDo you need to understand the situation first or act now and learn as you go?Assessment · Mostly understand first · confidence 75 %
IVUseful when
We may be fooling ourselvesThe questionWhich of these situations sounds familiar?Assessment · a situation I face → useful · 82 %
Applicable traits
What it helps you understandWhy a problem occurredThe questionWhat are you trying to understand?Assessment · Why a problem occurred · 87 %
How was this profile calculated?
An automated system reads each model card and answers the same questions for every model. This profile has answers for 77 of 77. No answers are entered by hand.
A very high probability counts as “yes” and a very low one as “no”. Intermediate answers are hidden.
On the axes, mixed means the model favours neither end.
Pearl, J. (1995). Causal diagrams for empirical research. Biometrika 82(4), 669-688.Crossref record lists Pearl as author, 1995, Biometrika. The doi.org page itself returned 403 (Cloudflare), so verification rests on the Crossref API; page range not checked.View source: Causal diagrams for empirical research (opens in a new tab) ↗
Pearl, J. (2009). Causality: Models, Reasoning, and Inference. Cambridge University Press.doi.org returned 200 with the title 'Causality' and Crossref lists Pearl as author. This is the second edition (2009); the first edition appeared in 2000.View source: Causality: Models, Reasoning, and Inference (opens in a new tab) ↗
Key development
Greenland, S., Pearl, J. and Robins, J. M. (1999). Causal Diagrams for Epidemiologic Research. Epidemiology 10(1), 37-48.doi.org returned 200 and Crossref confirms title, three authors, Epidemiology, January 1999, pages 37-48. Introduces the method to applied researchers.View source: Causal Diagrams for Epidemiologic Research (opens in a new tab) ↗
Critique
Krieger, N. and Smith, G. D. (2016). The tale wagged by the DAG: broadening the scope of causal inference and explanation for epidemiology. International Journal of Epidemiology.Objects that DAG/potential-outcome methods should not alone 'wag the causal tale': they can narrow who and what counts as a cause and lead to erroneous inference when the biological and social assumptions behind the graph are poorly conceived; proposes inference to the best explanation.View source: The tale wagged by the DAG: broadening the scope of causal inference and explanation for epidemiology (opens in a new tab) ↗