equivalence causal frameworks: sems, graphical models and potential outcomes
TRANSCRIPT
![Page 1: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/1.jpg)
EQUIVALENCE OF SEM, POTENTIAL OUTCOMES AND CAUSAL GRAPHICAL MODELSAMIT SHARMAPOSTDOCTORAL RESEARCHERMICROSOFT
http://www.amitsharma.in@amt_shrma
![Page 2: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/2.jpg)
WHAT IS CAUSALITY?
• Debatable, from the times of Aristotle and Hume.
• Practical definition:
• Interventionist causality: X causes Y if changing X leads to a change in Y, keeping everything else constant.
![Page 3: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/3.jpg)
CAUSALITY IS MEANINGLESS WITHOUT A MODEL
• “Keeping everything else constant” requires knowing what everything else is.
• Demand increases price is valid in most economies. So seems a universal causal law.
• … except in a fully regulated economy.
• Model: Explicit specification of “everything else” that can affect causal estimate.
![Page 4: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/4.jpg)
WITHOUT A MODEL, EVEN EXPERIMENTS DO NOT TELL YOU ANYTHING ABOUT THE FUTURE
• A/B experiments study the past.
• Provide a counterfactual answer.
• But we want to use the results for the future.
• Model: The world stays the same between:
• When the experiment was run, and
• When its results will be applied.
![Page 5: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/5.jpg)
HOW MIGHT WE SPECIFY A MODEL?
• By qualitative knowledge about how the world works.
Encouragement Effort Outcome
![Page 6: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/6.jpg)
HOW MIGHT WE SPECIFY A MODEL?
• By writing equations about how the world works.
• E.g. F = ma
• Encouragement (Z)• Effort (X)• Outcome (Y)
![Page 7: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/7.jpg)
HOW MIGHT WE SPECIFY A MODEL?
• By thinking about the different worlds that changing the causal variable creates (inspired by a randomized experiment).
• Effort (X)• Outcome (Y)
• Encouragement (Z)
![Page 8: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/8.jpg)
THREE MAJOR FRAMEWORKS FOR SPECIFYING A CAUSAL MODEL
• Causal Graphical model
• Structural Equation Model
• Potential Outcomes Framework
Encouragement Effort Outcome
![Page 9: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/9.jpg)
ALL THREE ARE EQUIVALENT
• A theorem in one is a theorem in another (See Pearl [2009]).
• So what’s the problem?
• Different disciplines prefer one over another.
• Misconceptions abound about the frameworks.
• In general, no unified causal inference course in major universities.
![Page 10: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/10.jpg)
A HISTORICAL TOUR OF CAUSALITY
• 1850s: John Snow uses a natural experiment to detect causal connection between water and cholera.
• 1910s: Buoyed by triumphs in physics, Bertrand Russell argues that causality is irrevelant.
• 1920s: Sewall and Philip Wright develop path diagrams and simultaneous equation modelling (SEM) for determining supply or demand from price and quantity.
• 1920s: Neyman uses potential outcomes to analyze experiments.
• 1930s: Ronald Fisher popularizes the randomized experiment.
![Page 11: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/11.jpg)
A HISTORICAL TOUR OF CAUSALITY
• 1960s: Blalock and Duncan solve path diagrams using regression equations.
• 1960-now?: Age of regression.
• Path diagrams lose their original causal interpretation.
• SEMs, Path diagrams and regression become entangled.
• 1970s: Rubin builds on potential outcomes framework.
• Becomes popular with social scientists.
• 1980s: Pearl builds on SEM framework.
• Starting to become popular with computer scientists.
![Page 12: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/12.jpg)
EQUIVALENCE OF GRAPHICAL MODELS AND SEM
Encouragement(Z)
Effort(X)
Outcome(Y)
P(X, Y, Z ) = P(Y|X) P(X|Z) P(Z)
![Page 13: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/13.jpg)
EQUIVALENCE OF GRAPHICAL MODELS AND SEM
Encouragement(Z)
Effort(X)
Outcome(Y)
P(Y|do(X)) = P(Y|X) Effect =
![Page 14: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/14.jpg)
EQUIVALENCE OF POTENTIAL OUTCOMES AND SEM
Encouragement(Z)
Effort(X)
Outcome(Y)
![Page 15: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/15.jpg)
EQUIVALENCE OF POTENTIAL OUTCOMES AND SEM
Encouragement(Z)
Effort(X)
Outcome(Y)
Effect = Effect =
![Page 16: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/16.jpg)
INSTRUMENTAL VARIABLES IN ALL THREE FRAMEWORKS
![Page 17: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/17.jpg)
IV BY GRAPHICAL MODEL
Encouragement(Z)
Effort(X)
Outcome(Y)
Unobserved Confounders
(U)
Average Causal Effect =
![Page 18: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/18.jpg)
IV BY STRUCTURAL EQUATIONS
Local average Causal effect =
![Page 19: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/19.jpg)
IV IN POTENTIAL OUTCOMES
• Assumptions:
Local average Causal Effect =
![Page 20: Equivalence causal frameworks: SEMs, Graphical models and Potential Outcomes](https://reader035.vdocuments.site/reader035/viewer/2022062503/58a7538e1a28ab9f5a8b6849/html5/thumbnails/20.jpg)
BEST PRACTICES
• A randomized experiment, or a problem with few variables:
• Use Potential outcomes framework: Simple and practical.
• An observational study with many confounders, or any problem with many variables:
• Use graphical models to encode causal assumptions.
• If functional forms unknown, use graphical criteria or do-calculus to estimate causal effect.
• Else, a domain where functional forms are known or can be approximated• Use structural equation models to solve for causal effects, based on the
causal graph.