Causal Inference Mixtape
Guides identification strategy, code implementation, and diagnostics for causal inference methods in Python, R, and Stata.
Causal Inference Mixtape brings the econometrics methodologies of Scott Cunningham's Causal Inference: The Mixtape directly into Claude Code. It guides users from raw assignment mechanisms to robust empirical designs, providing runnable, validated templates across Python (StatsPAI, pyfixest), R, and Stata. Covering difference-in-differences, event studies, staggered DiD (Callaway-Sant'Anna, Sun-Abraham), regression discontinuity (RDD), instrumental variables (IV/2SLS), synthetic control, matching/IPW, and Double Machine Learning (DML), this skill helps researchers and data scientists choose appropriate estimators, execute essential diagnostics, avoid common econometric pitfalls, and write rigorous identification sections.