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.

DoWhy causal workflow DAG connecting treatment, outcome, confounders, and observed variables
Figure: A DoWhy causal workflow DAG used to connect assumptions, identification, estimation, and refutation (adapted from Tutorial 01: Core Workflow, From Question To Refutation).

Tutorial Sequence

00: Environment And Library Tour

Sets up the DoWhy environment, introduces the library objects, and uses a compact synthetic decision problem to show how graphs, data, and estimands enter the workflow.

02: Causal Graphs, DAGs, And Assumptions

Focuses on graph construction, variable roles, adjustment sets, and common DAG mistakes so the package API remains tied to explicit assumptions rather than decoration.

03: Backdoor Adjustment And Confounding

Shows how backdoor adjustment works in DoWhy, why confounding changes treated-control comparisons, and how adjustment choices affect an estimated treatment effect.

05: Weighting, Overlap, And Common Support

Studies inverse-probability weighting as an implementation and a diagnostic problem, with attention to overlap, weight instability, and whether the target population is credible.

07: CATE And Heterogeneous Effects

Moves from average effects to variation across units, using CATE-style thinking to support targeting, subgroup interpretation, and decision rules.

10: GCM Structural Causal Models

Introduces DoWhy’s graphical causal model tools for modeling mechanisms, fitting structural relationships, and checking whether the generated world resembles the observed one.

14: End-To-End Observational Case Study

Pulls the workflow together in an observational project, moving from problem setup through graph construction, estimation, diagnostics, sensitivity, and a final summary written for practical decision-making.