← All posts

Causal vs Non-Causal Paths in DAGs — How to Detect Bias and Adjust Causal Paths in Clinical Research Using DAGs

Clinical Epidemiology ResearchUniqcret doctor knowledgesMethodology and Research DesignEtiology [Methodology]

🎯 Objectives

By the end, you’ll be able to:

✅ Distinguish causal from non-causal paths ✅ Diagnose if a path is open or closed ✅ Know when to adjust to block bias ✅ Simulate path logic using DAGitty


🩺 Fresh Clinical Setup (New Example)

Does giving intravenous fluids within 15 minutes reduce the incidence of hypotension in dengue shock patients in the ED?


🧬 1. Causal Path = What You Want to Measure

🔗 Causal Path Example:

EarlyFluids → BloodVolumeRecovery → Hypotension

🧠 Total Effect = Direct + Indirect


⚠️ 2. Non-Causal Path = Where Bias Leaks In

These are routes that mimic the association between exposure and outcome but aren’t due to the intervention.

🛑 Non-Causal Path #1: Confounding (Backdoor)

EarlyFluids ← ShockSeverity → Hypotension

Action: Adjust for ShockSeverity to close this path

🧨 Non-Causal Path #2: Collider Bias

EarlyFluids → EDLengthOfStay ← Hypotension

Never adjust for colliders

🔍 Secret Insight: Colliders are seductive—they feel like good control variables. Don’t fall for it.


📊 3. Open vs Closed: The Real Mechanism

Path TypeExampleOpen/Closed?Adjust?Why?
Causal PathX → M → Y✅ OpenTransmits treatment effect
Backdoor ConfounderX ← C → Y✅ OpenOpens false link unless blocked
Collider PathX → Z ← Y❌ ClosedAdjusting opens bias

DAG Rule of Thumb:


🧮 4. Visualized in DAGitty

dagitty

dag {

ShockSeverity -> EarlyFluids

ShockSeverity -> Hypotension

EarlyFluids -> BloodVolumeRecovery

BloodVolumeRecovery -> Hypotension

EarlyFluids -> EDLengthOfStay

Hypotension -> EDLengthOfStay

}

✅ Adjustment Set: ShockSeverity 🚫 Avoid adjusting: EDLengthOfStay, BloodVolumeRecovery (if total effect)

🔗 Test it in DAGitty


📋 5. DAG Path Review Table

PathTypeAdjust?Why?
EarlyFluids → HypotensionDirect causalThis is your effect of interest
EarlyFluids → Volume → HypoMediated causalLeave open for total effect
EarlyFluids ← Severity → HypoConfoundingMust close this bias path
EarlyFluids → LOS ← HypoColliderClosed by default; adjusting creates false path

✅ Key Takeaways