Causal inference · Module 2: Thinking in causal maps

Three shapes

What are chains, forks and colliders in a causal diagram?

2.2 · 3 min 53 s · published

They are the three shapes every causal map is built from. In a chain, one thing affects a second, which affects a third. In a fork, one thing affects two others. In a collider, two arrows point into the same box. Chains and forks pass association along unless you hold the middle fixed; colliders block it unless you do.

Key points

  • Holding the middle of a chain fixed blocks the route the effect travels.
  • Bran is a possible common cause of grain zinc and fibre: a fork.
  • Choosing which samples reach the lab can hold a collider fixed and create a link from nowhere.
  • To know which routes between a treatment and an outcome are open, trace each one shape by shape.

Chapters

  1. 0:00 Recap: the missing arrow
  2. 0:22 The chain
  3. 0:59 The fork
  4. 2:01 The collider
  5. 2:55 The whole rule

Key terms

Chain
Three variables in a line, where one affects a second that affects a third, like a foliar zinc spray raising leaf zinc, which raises grain zinc. Association flows along a chain, but holding the middle fixed blocks it, which is why adjusting for a mediator removes part of the effect.
Fork
One variable affecting two others, like bran fraction raising both zinc and fibre in grain. The two outer variables move together although neither causes the other. Holding the middle fixed removes the link, if the fork is the whole story. When the shared cause also drives a treatment, it is a confounder.
Collider
A variable with two arrows pointing into it, such as whether a grain sample reaches the lab when either good soil or a new treatment can send it there. A collider blocks association between its causes until you hold it fixed, by adjusting for it or selecting on it. Then a link appears from nowhere.
Confounder
Something that affects both a decision and its outcome, so a comparison mixes the treatment’s effect with its own. At a feedlot, the risk a vet sees on arrival drives both which groups get antibiotics and which animals die. When the confounder is the very reason for treating, it is called confounding by indication.

Transcript

Last time: a missing arrow claims there is no direct effect, and it's the boldest claim on any map. Today: the three shapes every map is built from, and how association travels through each one. The first shape is a chain: one thing affects a second, which affects a third. Spray zinc on the leaves, zinc builds up in the leaf, and some of it moves into the grain. Along a chain, association flows. Sprayed fields will tend to have more grain zinc, and that's the effect we're after.

Now hold the middle fixed. Compare only plants with the same leaf zinc, and whether they were sprayed tells you nothing more about the grain. The route ran through the leaf, and you've blocked it. Remember that. It comes back when we meet mediators. The second shape is a fork: one thing affects two others.

Remember the farm where grain zinc tracked fibre almost perfectly across five wheat samples? Here's one possible reason. Zinc and fibre are both concentrated in the outer layers of the grain, the bran. A sample with more bran will tend to have more of both.

So zinc and fibre move together, but neither causes the other. Bran is a common cause, and association runs out along both prongs of the fork. Hold the middle fixed. Compare only samples with the same bran fraction, and if the fork is the whole story, the link between zinc and fibre disappears. That's exactly what the published case proposes to check, by measuring bran fraction alongside the grain.

And when a common cause also drives a treatment, it has a name you already know from the prologue: a confounder. The third shape is the odd one out: a collider, where two arrows point into the same box. Suppose farmers send grain to the lab when something looks promising: either the soil is unusually good, or they've tried a new treatment and want to see whether it worked.

Out in the fields, soil quality and the new treatment have nothing to do with each other. Now look only at the samples that reached the lab. If a sample came from ordinary soil, it was probably sent because of the treatment. If it wasn't treated, the soil was probably good. So among lab samples, treated fields tend to have poorer soil. A link has appeared from nowhere.

At a collider, association is blocked until you hold the collider fixed; then it opens. Choosing which samples to study is one way of holding it fixed, and it's how many real data sets get built. So here's the whole rule in one line. Chains and forks let association through, unless you hold the middle fixed. Colliders block it, unless you hold the middle fixed.

Every map, however tangled, is made of these three shapes. To know which routes between a treatment and an outcome are open, you trace each one, shape by shape. Next: how to use these shapes to find, and close, the routes that would fool you. They're called back doors.

Questions

Why can zinc and fibre move together without one causing the other?

Both are concentrated in the outer layers of the grain, the bran, so a sample with more bran tends to have more of both. Bran is a common cause: a fork. Compare samples with the same bran fraction and, if the fork is the whole story, the link between zinc and fibre disappears.

How can choosing samples create a false link?

If farmers send grain to the lab when the soil is unusually good or when they’ve tried a new treatment, the lab sample is a collider. Among lab samples, one from ordinary soil was probably sent because of the treatment, so treated fields seem to have poorer soil, although out in the fields the two have nothing to do with each other.

Sources

  1. Vitagri (n.d.). Barn Door Farm wheat, harvest 2025: grain zinc and fibre across five samples [published case study]. vitagri.org. vitagri.org/predictive-model/

All 30 films · Glossary · The Vitagri Academy

Follow the change in farming

Causal evidence is changing how farming is measured and rewarded. Leave your email and we will tell you when new films, courses and findings are published.

Prefer to read online? Vitagri also writes on Substack. See our privacy policy for how we use your email.