Free tools & games for everyone
Free · No sign-up · No accounts
Draw a causal diagram, test d-separation, find the variables to adjust for (back-door criterion), simulate data and watch Simpson's paradox happen.
| Tab | Move between tabs, boxes and buttons |
|---|---|
| Enter | In a box: work it out |
Paths and independence follow Judea Pearl's d-separation: a path is blocked by a non-collider you adjust for, or by a collider that neither it nor any of its descendants is adjusted for. The lab checks independence with the moralised ancestral graph and lists the paths separately. Adjustment sets satisfy the back-door criterion: no descendant of X, and every path that starts with an arrow into X is blocked.
The simulation is a linear model with standard normal noise, estimated by least squares; the true total effect is the sum over directed paths of the products of effect sizes. Real data has measurement error and hidden variables, so a diagram is an assumption to be argued, not a fact. Everything runs in your browser.
A fresh daily puzzle every morning, and new tools added every month.
Browse every product