Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Covers causal identification and estimation: IV/2SLS, difference-in-differences, regression discontinuity, synthetic control, matching.
86% 95%+9 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 19 of 22 without it.
3 of 3 safety checks passed
Not used yet
Reference for implementing causal inference methods: from identification strategy to estimation to diagnostics and robustness. Covers the major quasi-experimental and observational methods used in applied economics and quantitative social science.
Use when the user is:
Skip when:
structural-modeling skill)numerical-auditor agent)references/method-implementations.md for complete implementationsTwo complementary frameworks underpin all causal inference:
Potential Outcomes (Rubin): Define Y(1), Y(0) as potential outcomes under treatment and control. The causal effect is τ = Y(1) - Y(0). The fundamental problem: we never observe both for the same unit. All methods are strategies for constructing valid counterfactuals.
DAGs (Pearl): Graphical models encoding conditional independence assumptions. Use d-separation to determine what must be conditioned on (and what must NOT be conditioned on) to identify causal effects. Particularly useful for reasoning about bad controls (colliders, mediators), overcontrol bias, and which instruments satisfy the exclusion restriction.
| Method | Key Assumption | Target Parameter | Key Package |
|---|---|---|---|
| IV/2SLS | Exclusion restriction, monotonicity | LATE | linearmodels (Py), fixest (R), ivregress (Stata) |
| DiD | Parallel trends | ATT | fixest (R), reghdfe (Stata), linearmodels (Py) |
| RDD | No manipulation, local continuity | LATE at cutoff | rdrobust (all) |
| Synthetic Control | Weights reproduce pre-treatment trends | ATT (single unit) | Synth/augsynth (R) |
| Matching/AIPW | Selection on observables | ATE or ATT | econml (Py), MatchIt/WeightIt (R) |
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.