DoWhy tutorial series
DoWhy
Python
Causal Graphs
Refutation
A hands-on tutorial series for causal graphs, identification, estimation, refutation, GCM workflows, and reporting with DoWhy.
DoWhy is the tutorial track for explicit causal assumptions: model the graph, identify the estimand, estimate the effect, and refute or stress-test the result.
Notebook links open rendered HTML pages generated from the source notebooks under notebooks/tutorials/. Rendering is configured not to execute notebooks during site builds, so the pages are safe to publish even when a notebook contains heavier optional cells.
Notebook Sequence
- DoWhy Tutorial 00: Environment And Library Tour
- DoWhy Tutorial 01: Core Workflow, From Question To Refutation
- DoWhy Tutorial 02: Causal Graphs, DAGs, And Assumptions
- DoWhy Tutorial 03: Backdoor Adjustment And Confounding
- DoWhy Tutorial 04: Regression, Matching, And Propensity Estimators
- DoWhy Tutorial 05: Weighting, Overlap, And Common Support
- DoWhy Tutorial 06: Frontdoor, IV, And Natural Experiments
- DoWhy Tutorial 07: CATE And Heterogeneous Effects
- DoWhy Tutorial 08: Refuters, Placebos, Negative Controls, And Sensitivity
- DoWhy Tutorial 09: Graph Discovery And Graph Refutation
- DoWhy Tutorial 10: GCM Structural Causal Models
- DoWhy Tutorial 11: Interventions And Counterfactuals With GCM
- DoWhy Tutorial 12: Mediation, Direct, And Indirect Effects
- DoWhy Tutorial 13: Root Cause, Anomaly, And Distribution Change
- DoWhy Tutorial 14: End-To-End Observational Case Study
- DoWhy Tutorial 15: Common Pitfalls, Debugging, And Reporting
How To Use This Tutorial Series
- Start with the environment and library-tour notebook.
- Continue in order if you want a coherent package course.
- Jump to individual notebooks when you need a specific estimator, diagnostic, or reporting pattern.
- Keep the causal design separate from the package API: the library helps implement the workflow, but the assumptions still need to be stated and defended.