Causal paths vs bias

Pallium’s Paths overlay colors directed walks between selected nodes. That is only one of the ways two variables can be connected in a DAG. The others matter for confounding and for what you must not condition on.

Three unshielded motifs

Same three the Network panel counts as open triples.

MotifPatternWhat it is
Chain (mediated)(A \rightarrow M \rightarrow Y)A causal path from A to Y. Paths highlights these.
Fork (confounding)(A \leftarrow C \rightarrow Y)A back-door / biasing path. Common cause. Paths stays grey.
Collider(A \rightarrow K \leftarrow Y)Not a causal path. Conditioning on K (or its descendants) opens a biasing path. Paths stays grey.

“Unshielded” means no extra edge between the two endpoints. A triangle (closed triple) mixes these motifs; Network counts the triangle once under Closed Triples and still counts shielded chains for transitivity.

Why Paths ignores back-doors

The overlay is path tracing for “how does A get to Y along the arrows?” A confounder does not send an arrow from A to Y; it sends arrows into both. A collider does not connect A to Y by following arrows either. If you need those on the canvas, that is a different overlay (Pallium does not yet have DAGitty’s magenta biasing-path paint).

The Causal panel does use back-doors: adjustment sets are exactly the covariates that block biasing paths without blocking proper causal paths.

Proper causal path

In the adjustment-set code, nodes on directed paths from exposures X to outcomes Y (including X and Y when they sit on such a path). First edges out of X along those paths are stripped to build the back-door graph. Descendants of mediators on those paths must not be adjusted.