Mental model
Testing Causal Assumptions
Methods for verifying whether causal model assumptions hold in observational data, including conditional independence tests and falsification checks.
Discover
You've drawn a causal diagram showing that exercise improves mood. Before trusting this conclusion, you need to test whether your assumptions about the data actually hold. What's the first step in validating your causal model?
Order the steps for testing assumptions
Learn how to validate your causal model against data
Understand
Understand
Testing causal assumptions means checking whether the patterns in your actual data match what your causal diagram predicts should happen. If your diagram claims two variables are unrelated after accounting for other factors, but your data shows they're still connected, your assumption is wrong. This is like a scientist designing an experiment—the first step is always deriving what you expect to observe before you run the test. When you draw a causal diagram, you make predictions about which variables should be independent of each other. You can then use statistical tests on your data to verify whether these independencies actually hold. If they don't, your diagram needs revision. Try this: Pick one claimed independence in your model and test whether it holds in your data.
Full explanation
Full explanation
How testing works
First, you derive testable implications from your causal diagram using d-separation, which tells you which variables should be statistically independent given other variables. Every causal graph makes predictions about conditional independence relationships—these are called the graph's testable implications. For example, if your diagram shows that education affects income only through job skills, then education and income should be independent once you control for job skills.
The testing process
You run conditional independence tests on your data to check these predictions. Common tests include chi-square tests for categorical data, partial correlation tests for continuous data, or more flexible non-parametric tests. If the tests show independence where your diagram predicts it, this supports your assumptions. If they show dependence where you predicted independence, your causal model is likely wrong or missing important variables.
Practical examples
Medicine: Researchers testing whether a drug causes recovery must verify that patient assignment is independent of potential outcomes after controlling for observed factors. If they find hidden dependencies, it suggests unmeasured confounding—perhaps healthier patients were selectively given the drug.
Economics: An analyst studying whether minimum wage increases affect unemployment must test whether regional economic indicators explain both variables. If conditional independence fails after controlling for these factors, the causal claim is unsupported.
Product decisions: A company testing whether a new feature causes user engagement must verify that early adopters aren't systematically different from other users. Conditional independence tests can reveal hidden selection bias.
Key limitations
Many core causal assumptions cannot be tested with data alone. The assumption of no unmeasured confounders—that you've measured every relevant variable affecting both treatment and outcome—is fundamentally untestable using only observational data. This is why sensitivity analysis and domain knowledge remain essential tools in causal inference.
Research
Research
Causal assumptions are tested through conditional independence relationships derived from the causal Markov condition, which states that variables are independent of their non-descendants given their direct causes in the graph. The key insight is that every well-specified causal model makes testable predictions about statistical independencies that must hold if the model is correct. These are identified through d-separation criteria in the graph structure.
- Pearl (2009): The causal Markov condition implies that every d-separation in the graph corresponds to a statistical independence in the data distribution, providing testable implications for causal models [1].
- Spirtes, Glymour, and Scheines (2000): The PC algorithm demonstrates how conditional independence tests can systematically discover causal structure from observational data under assumptions of causal sufficiency and faithfulness [2].
- Textor et al. (2016): Software tools like dagitty can automatically derive testable implications from causal diagrams and check them against data, though core assumptions like no unmeasured confounding remain untestable [3].
- Zhang (2008): Extended causal discovery methods that rely only on testable assumptions, showing how weaker versions of do-calculus can operate without requiring complete causal structure knowledge [4].
Limitations
Limitations
Testing causal assumptions faces fundamental limitations. The faithfulness assumption—that observed independencies reflect causal structure rather than parameter cancellations—may fail when causal pathways exactly cancel out. More critically, the assumption of no unmeasured confounding is untestable using only observational data; you can never prove you've measured all relevant variables. Sensitivity analysis can show how strong unmeasured confounding would need to be to overturn conclusions, but cannot rule it out. Additionally, conditional independence tests require large sample sizes to detect subtle dependencies, and multiple testing corrections reduce power. When assumptions fail, the resulting causal inferences may be dramatically wrong.
Try it
Synthesize
Choose a pattern from the guide, then pick an action to try with it.
Which pattern stands out?
What will you try?
Choose a pattern above to select an action.
Sources
Sources
- [1] Causality: Models, Reasoning, and InferenceJudea Pearl - 2009
- [2] Causation, Prediction, and SearchPeter Spirtes, Clark Glymour, Richard Scheines - 2000
- [3] dagitty: Graphical Analysis of Structural Causal ModelsJohannes Textor et al. - 2016
- [4] Generalized Do-Calculus with Testable Causal AssumptionsJiji Zhang - 2008
- [5] Causal Inference: What IfMiguel Hernán, Jamie Robins - 2020
Try it
Check your understanding
A researcher proposes that training program A causes better job outcomes. Their diagram shows that only work experience affects both program participation and job outcomes. They test whether program participation is independent of job outcomes after controlling for work experience. The test shows significant remaining dependence. What does this mean?
Show the guide's explanation
Answer: There are likely unmeasured confounders or the causal model is wrong
When a conditional independence test reveals dependence where the causal diagram predicts independence, it means the model's assumptions are violated. This could indicate unmeasured confounders (variables affecting both treatment and outcome that weren't included), incorrect causal direction, or missing pathways. The model needs revision before causal claims can be trusted.
What is the correct sequence for testing causal assumptions derived from a DAG?
Show the guide's explanation
Answer: Draw diagram → Derive testable implications → Run conditional independence tests → Revise or accept model
The proper sequence begins with your causal diagram, from which you derive testable predictions (conditional independencies) using d-separation. Only then can you run appropriate statistical tests to check whether your data matches these predictions. Finally, you either accept the model if supported or revise it if tests fail. This is the falsification process central to validating causal assumptions.
True or False: If all conditional independence tests pass, this proves that your causal diagram is correct and there are no unmeasured confounders.
Show the guide's explanation
Answer: False
Passing conditional independence tests provides evidence for your model's testable implications, but it cannot prove the model is correct or rule out unmeasured confounders. Many different causal structures can produce the same set of conditional independencies (Markov equivalence), and the assumption of no unmeasured confounding is fundamentally untestable using only observational data. Tests can falsify assumptions but never fully prove them.
Keep exploring
Find another idea for the decision in front of you.
The complete Reframo library is free to read. Explore another guide whenever you are ready.