<< All versions
Skill v1.0.0
currentAutomated scan100/100mkurman/zorai/dowhy
──Details
PublishedJuly 29, 2026 at 12:06 PM
Content Hashsha256:b68b15c1592fc5aa...
Git SHAd0acbfaf3d62
──Files
Files (1 file, 1.4 KB)
SKILL.md1.4 KBactive
SKILL.md · 43 lines · 1.4 KB
version: "1.0.0" name: dowhy description: "DoWhy (Microsoft) — causal inference library. Causal graph modeling, identification (back-door, front-door, IV), estimation (matching, IPW, double-ML), and refutation/robustness checks for causal claims." tags: [dowhy, causal-inference, causal-graph, identification, estimation, microsoft, zorai]
Overview
DoWhy (Microsoft/py-why) provides end-to-end causal inference: causal graph modeling (DAG), identification strategies (back-door, front-door, instrumental variables), estimation (linear regression, matching, IV, double-ML), and refutation tests (placebo, bootstrap, random common cause, data subset).
Installation
bash
uv pip install dowhy
Full Workflow
python
from dowhy import CausalModelmodel = CausalModel(data=df,treatment="treatment",outcome="outcome",common_causes=["age", "gender", "income"],)# 1. Identifyidentified = model.identify_effect(proceed_when_unidentifiable=True)# 2. Estimateestimate = model.estimate_effect(identified, method_name="backdoor.linear_regression")print(f"ATE: {estimate.value:.4f} (p={estimate.p_value:.4f})")# 3. Refuterefute = model.refute_estimate(identified, estimate, method_name="placebo_treatment_refuter")print(f"Refutation passed: {refute.refutation_result}")