Causal analytics
Causal mode is DAGitty-style identification on the current canvas, not on a stored snapshot. Roles on the nodes (exposure / outcome) drive it. Canvas Paths is a different tool: it traces directed walks among selected nodes and ignores roles.
Open Causal on the left. Two blocks, plus a search box pinned at the bottom, then View mode radios.
Conditional independencies
Pallium lists implied independencies of the form
[ A \perp B \mid Z ]
including the empty conditioning set ((A \perp B)). These are the testable missing-edge implications of the DAG: pairs that should be independent given some (Z) if the graph is correct.
The search is a Bayes-ball / minimal-separator walk in the spirit of Textor et al. / DAGitty. To keep the WASM thread usable it returns one minimal (Z) per non-adjacent pair, not every alternative separator, and caps the list (about 2,000 rows). A hint under the list tells you when the list was truncated.
Filter with Filter independencies at the bottom: case-insensitive match against the rendered string and the raw names ((A), (B), members of (Z)).
Empty list: the graph implies no testable CI among observed structure (pairs or conditioning sets that include an unobserved node are omitted). Load a graph first if you see the “Load a graph…” hint.
These independencies do not require exposure/outcome roles.
Identification
This block does require roles. Set at least one node to exposure and at least one to outcome (E on the node). Use the Identification dropdown.
Unobserved (latent) nodes are excluded from every set: you cannot condition on a variable that is not in the data. Nodes marked adjusted (A) are treated as already conditioned (must-include). Capped at about 24 alternative sets so the search cannot freeze the browser.
These covariates are names from the DAG, not a regression Pallium runs. If the DAG is wrong, the sets are wrong.
Adjustment (total effect)
Purpose: covariates that (asymptotically) identify the total causal effect of the exposure(s) on the outcome(s) — every directed path from X to Y.
How: back-door graph (strip the first edges of proper causal paths out of exposures), then ancestor graph, moral graph, Takata minimal separators. Must-not-adjust: latents, exposures, outcomes, descendants of proper causal-path mediators. Selection nodes, if present, are must-include; if the outcome is still d-connected to selection in the back-door graph, no set exists.
Multiple exposures and outcomes are allowed; the sets are for the joint total effect.
| What you see | Meaning |
|---|---|
| Hint: set an exposure | No exposure role on the canvas |
| Hint: set an outcome | Exposure is set; no outcome |
{ A, B } | Adjust for those covariates (any one listed set is enough) |
∅ (empty set — no adjustment necessary) | The empty set is valid; you do not need to condition |
| Hint: no valid minimal set | Total effect is not identifiable by covariate adjustment on this DAG |
| Hint: list truncated | There are more legal sets than the cap |
An empty set in the list is not “none found.” “No valid minimal adjustment set” is a different hint, used when the search returns nothing.
Adjustment (direct effect)
Purpose: isolate the direct arrow X → Y (if any), blocking indirect causal paths as well as back-doors.
How: same separator search on the indirect graph (strip X → Y), with descendants of Y-on-causal-paths forbidden. Selection nodes are not supported — Pallium returns no sets if any node is marked selected.
Instrumental variable
Purpose: find Z (or Z given W) that can identify X → Y when covariate adjustment is not enough.
Needs exactly one exposure and exactly one outcome. Mediators
are treated as latent so you do not condition on the causal path.
Listed as Z or Z | W1, W2.
Causal odds ratio
Purpose: identify the causal odds ratio under selection / case-control sampling (DAGitty).
Needs a unique exposure, unique outcome, and unique selection node (S). A set (Z) works when
[ X \perp S \mid Y \cup Z ]
and (Z) is a total-effect adjustment set computed as if there were no selection. Pallium lists those (Z) and says whether the nodes already marked adjusted are valid.
View mode
Radios in the Causal panel replace the canvas display. The authored DAG is unchanged: Shift-click still edits the model; saving still writes the model.
| Mode | Purpose | What you see |
|---|---|---|
| normal | Edit and read the DAG | The model |
| moral graph | Hand-check adjustment: co-parents are married, arrows dropped | Ancestor moral graph of the back-door graph. Needs exposure and outcome; otherwise the canvas shows no derived edges. |
| correlation graph | Which pairs can be dependent given the empty set | Undirected dependency graph (skeleton of the transitive closure, plus common children) |
| equivalence class | Markov-equivalent DAGs | CPDAG: arrows that are not strongly protected become undirected (Meek) |
atomic direct effects (checkbox): thicken directed arrows that have no mediator (DAGitty pure-direct / transitive reduction). Works on the normal view.
View mode is local. Live-session peers keep seeing the model unless they pick the same radio.
Paths vs this panel
| Causal panel | Paths overlay | |
|---|---|---|
| Endpoints | Exposure / outcome roles | Canvas selection |
| Question | What do I adjust for? What CIs are implied? | Which directed edges lie on walks between these nodes? |
| Back-doors / colliders | Used inside the criterion | Not highlighted |
| Live session | Recomputed locally from the shared DAG | Local view |
With Paths off and exposure + outcome set, the canvas also paints lime causal paths and magenta biasing paths on the model (normal view). Turn Paths on to switch to selection-based tracing.