DoWhy: An End-to-End Library for Causal Inference
Not on the map. Why?
Abstract (arXiv)
In addition to efficient statistical estimators of a treatment's effect, successful application of causal inference requires specifying assumptions about the mechanisms underlying observed data and testing whether they are valid, and to what extent. However, most libraries for causal inference focus only on the task of providing powerful statistical estimators. We describe DoWhy, an open-source Python library that is built with causal assumptions as its first-class citizens, based on the formal framework of causal graphs to specify and test causal assumptions. DoWhy presents an API for the four steps common to any causal analysis---1) modeling the data using a causal graph and structural assumptions, 2) identifying whether the desired effect is estimable under the causal model, 3) estimating the effect using statistical estimators, and finally 4) refuting the obtained estimate through robustness checks and sensitivity analyses. In particular, DoWhy implements a number of robustness checks including placebo tests, bootstrap tests, and tests for unoberved confounding. DoWhy is an extensible library that supports interoperability with other implementations, such as EconML and CausalML for the the estimation step. The library is available at https://github.com/microsoft/dowhy
Key facts. Cited by 92 papers in the map (data through 7 Oct 2026). First posted on arXiv 9 Nov 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 6; 2022: 12; 2023: 18; 2024: 14; 2025: 21; 2026: 21.
92 papers.
Sort:
By area:
- 2021D'ya like DAGs? A Survey on Structure Learning and Causal Discoverycited by 209
- 2023Causal-learn: Causal Discovery in Pythoncited by 108
- 2021gCastle: A Python Toolbox for Causal Discoverycited by 60
- 2023Causal Order: The Key to Leveraging Imperfect Experts in Causal Inferencecited by 46
- 2025Do-PFN: In-Context Learning for Causal Effect Estimationcited by 46
- 2022DoWhy-GCM: An extension of DoWhy for causal inference in graphical causal modelscited by 40
- 2021Interventional Sum-Product Networks: Causal Inference with Tractable Probabilistic Modelscited by 22
- 2024ChatDiet: Empowering Personalized Nutrition-Oriented Food Recommender Chatbots through an LLM-Augmented Frameworkcited by 20
- 2025CounterBench: Evaluating and Improving Counterfactual Reasoning in Large Language Modelscited by 19
- 2024Causal Evaluation of Language Modelscited by 18
- 2022Membership Inference Attacks and Generalization: A Causal Perspectivecited by 17
- 2025Causal-Copilot: An Autonomous Causal Analysis Agentcited by 14
38 more
- 2021Through the Data Management Lens: Experimental Analysis and Evaluation of Fair Classificationcited by 13
- 2022Applications of statistical causal inference in software engineeringcited by 12
- 2025FairPFN: A Tabular Foundation Model for Causal Fairnesscited by 9
- 2023Evaluation of Induced Expert Knowledge in Causal Structure Learning by NOTEARScited by 8
- 2024FairPFN: Transformers Can do Counterfactual Fairnesscited by 8
- 2022Evaluating Digital Agriculture Recommendations with Causal Inferencecited by 7
- 2023TRIALSCOPE: A Unifying Causal Framework for Scaling Real-World Evidence Generation with Biomedical Language Modelscited by 7
- 2024Causality for Tabular Data Synthesis: A High-Order Structure Causal Benchmark Frameworkcited by 7
- 2022Causal inference in drug discovery and developmentcited by 6
- 2022On Root Cause Localization and Anomaly Mitigation through Causal Inferencecited by 6
- 2023Predictive Coding beyond Correlationscited by 6
- 2023Causal Inference for Banking Finance and Insurance A Surveycited by 5
- 2023Extracting Self-Consistent Causal Insights from Users Feedback with LLMs and In-context Learningcited by 5
- 2024Modifying AI, Enhancing Essays: How Active Engagement with Generative AI Boosts Writing Qualitycited by 5
- 2024CausalPlayground: Addressing Data-Generation Requirements in Cutting-Edge Causality Researchcited by 4
- 2025Robust Root Cause Diagnosis using In-Distribution Interventionscited by 4
- 2025Root Cause Analysis of Outliers in Unknown Cyclic Graphscited by 4
- 2023Causal Analysis of Customer Churn Using Deep Learningcited by 3
- 2023Benchmarking Bayesian Causal Discovery Methods for Downstream Treatment Effect Estimationcited by 3
- 2024Multiply-Robust Causal Change Attributioncited by 3
- 2025Reimagining Urban Science: Scaling Causal Inference with Large Language Modelscited by 3
- 2026Causal Data Augmentation for Robust Fine-Tuning of Tabular Foundation Modelscited by 3
- 2026FoundCause: Causal Discovery with Latent Confounders from Observational Datacited by 3
- 2021Stochastic Intervention for Causal Effect Estimationcited by 2
- 2022Grasping Causality for the Explanation of Criticality for Automated Drivingcited by 2
- 2022Evaluating Digital Tools for Sustainable Agriculture using Causal Inferencecited by 2
- 2023Causal Dependence Plotscited by 2
- 2024Causality for Earth Science -- A Review on Time-series and Spatiotemporal Causality Methodscited by 2
- 2024Weakly-supervised causal discovery based on fuzzy knowledge and complex data complementaritycited by 2
- 2024Exploratory Models of Human-AI Teams: Leveraging Human Digital Twins to Investigate Trust Developmentcited by 2
- 2024Causal Invariance Learning via Efficient Nonconvex Optimizationcited by 2
- 2025Causal DAG Summarization (Full Version)cited by 2
- 2026Can Post-Training Transform LLMs into Causal Reasoners?cited by 2
- 2022On How AI Needs to Change to Advance the Science of Drug Discoverycited by 1
- 2023Salesforce CausalAI Library: A Fast and Scalable Framework for Causal Analysis of Time Series and Tabular Datacited by 1
- 2023balance -- a Python package for balancing biased data samplescited by 1
- 2023VISPUR: Visual Aids for Identifying and Interpreting Spurious Associations in Data-Driven Decisionscited by 1
- 2023Assessing the Causal Impact of Humanitarian Aid on Food Securitycited by 1
50 most cited of 92 All 92 (JSON)
- 2026What You Observe Determines How You Identify Causal Effects: Evaluating Causal Models across Observational Views29 Sep 2026
- 2026Concept Drift from a Causal Perspective21 Sep 2026
- 2026Credit Access is Associated with Improved Food Security in the Horn of Africa21 Sep 2026
- 2026F-DACE: Fuzzy Disagreement-Aware Causal Evidence Fusion for Abstention-Safe Conversational Retail Decision Support16 Sep 2026
- 2026Causal-TS: A Python Library for Causal Discovery in High-Dimensional and Nonstationary Time Series27 Jul 2026
- 2026Reason-Mediated Behavioral Models for Auditing LLM Social Simulators27 Jul 2026
- 2026proxymate: Diagnosis and Adjustment of Proxy Estimates for Reliable Inference27 Jul 2026
- 2026EviDAG: Auditable Causal DAG Authoring with Biomedical Literature23 Jul 2026
- 2026teLLMe Why (Ain't Nothing but a Jam): Exploratory Causal Analysis of Urban Driving Data16 Jul 2026
- 2026CausalDS: Benchmarking Causal Reasoning in Data-Science Agents9 Jul 2026
- 2026A Step Towards Inherently Interpretable Causal Machine Learning Models For Decision Support23 Jun 2026
- 2026FoundCause: Causal Discovery with Latent Confounders from Observational Data16 Jun 2026
38 more
- 2026Causal Parametric Drift Simulation: A Digital Twin Framework for Classifier Robustness Evaluation10 May 2026
- 2026Towards Reliable Testing of Machine Unlearning16 Apr 2026
- 2026Beyond Correlation: Refutation-Validated Aspect-Based Sentiment Analysis for Explainable Energy Market Returns23 Mar 2026
- 2026Effect-Level Validation for Causal Discovery9 Feb 2026
- 2026Can Post-Training Transform LLMs into Causal Reasoners?6 Feb 2026
- 2026Causal explanations of outliers in systems with lagged time-dependencies4 Feb 2026
- 2026Building Interpretable Models for Moral Decision-Making3 Feb 2026
- 2026Uncertainty-aware Causal Decision Making via Effect Bound Decomposition30 Jan 2026
- 2026Causal Data Augmentation for Robust Fine-Tuning of Tabular Foundation Models7 Jan 2026
- 2025How Do Semantically Equivalent Code Transformations Impact Membership Inference on LLMs for Code?17 Dec 2025
- 2025Understanding Privacy Risks in Code Models Through Training Dynamics: A Causal Approach8 Dec 2025
- 2025QML-HCS: A Hypercausal Quantum Machine Learning Framework for Non-Stationary Environments18 Nov 2025
- 2025Causal Reinforcement Learning based Agent-Patient Interaction with Clinical Domain Knowledge17 Nov 2025
- 2025The Causal Round Trip: Generating Authentic Counterfactuals by Eliminating Information Loss7 Nov 2025
- 2025Root Cause Analysis of Outliers in Unknown Cyclic Graphs8 Oct 2025
- 2025ORCA: ORchestrating Causal Agent29 Aug 2025
- 2025Root Cause Analysis of Hydrogen Bond Separation in Spatio-Temporal Molecular Dynamics using Causal Models17 Aug 2025
- 2025Causal identification with Y05 Aug 2025
- 2025Evaluating and Learning Robust Bandit Policies Under Uncertain Causal Mechanisms4 Aug 2025
- 2025Measurement as Bricolage: Examining How Data Scientists Construct Target Variables for Predictive Modeling Tasks3 Jul 2025
- 2025From Images to Insights: Explainable Biodiversity Monitoring with Plain Language Habitat Explanations12 Jun 2025
- 2025FairPFN: A Tabular Foundation Model for Causal Fairness8 Jun 2025
- 2025Do-PFN: In-Context Learning for Causal Effect Estimation6 Jun 2025
- 2025Robust Root Cause Diagnosis using In-Distribution Interventions2 May 2025
- 2025Consistent Causal Inference of Group Effects in Non-Targeted Trials with Finitely Many Effect Levels22 Apr 2025
- 2025Causal DAG Summarization (Full Version)21 Apr 2025
- 2025Causal-Copilot: An Autonomous Causal Analysis Agent17 Apr 2025
- 2025Reimagining Urban Science: Scaling Causal Inference with Large Language Models15 Apr 2025
- 2025A Computational Theory for Efficient Mini Agent Evaluation with Causal Guarantees27 Mar 2025
- 2025CounterBench: Evaluating and Improving Counterfactual Reasoning in Large Language Models16 Feb 2025
- 2024Causal Invariance Learning via Efficient Nonconvex Optimization16 Dec 2024
- 2024Modifying AI, Enhancing Essays: How Active Engagement with Generative AI Boosts Writing Quality10 Dec 2024
- 2024Exploratory Models of Human-AI Teams: Leveraging Human Digital Twins to Investigate Trust Development1 Nov 2024
- 2024Valuing an Engagement Surface using a Large Scale Dynamic Causal Model21 Aug 2024
- 2024FairPFN: Transformers Can do Counterfactual Fairness8 Jul 2024
- 2024Causality for Tabular Data Synthesis: A High-Order Structure Causal Benchmark Framework12 Jun 2024
- 2024IncomeSCM: From tabular data set to time-series simulator and causal estimation benchmark25 May 2024
- 2024CausalPlayground: Addressing Data-Generation Requirements in Cutting-Edge Causality Research21 May 2024
50 newest of 92 All 92 (JSON)
- 2025CounterBench: Evaluating and Improving Counterfactual Reasoning in Large Language Modelscited by 19
- 2024Causal Evaluation of Language Modelscited by 18
- 2026Can Post-Training Transform LLMs into Causal Reasoners?cited by 2
- 2026CausalDS: Benchmarking Causal Reasoning in Data-Science Agentscited by 1
- 2026Reason-Mediated Behavioral Models for Auditing LLM Social Simulatorscited by 0
- 2026Reason-Mediated Behavioral Models for Auditing LLM Social Simulators27 Jul 2026
- 2026CausalDS: Benchmarking Causal Reasoning in Data-Science Agents9 Jul 2026
- 2026Can Post-Training Transform LLMs into Causal Reasoners?6 Feb 2026
- 2025CounterBench: Evaluating and Improving Counterfactual Reasoning in Large Language Models16 Feb 2025
- 2024Causal Evaluation of Language Models1 May 2024
- 2025Causal Reinforcement Learning based Agent-Patient Interaction with Clinical Domain Knowledge17 Nov 2025
- 2025ORCA: ORchestrating Causal Agent29 Aug 2025
- 2025Causal-Copilot: An Autonomous Causal Analysis Agent17 Apr 2025
- 2021D'ya like DAGs? A Survey on Structure Learning and Causal Discoverycited by 209
- 2023Causal-learn: Causal Discovery in Pythoncited by 108
- 2021gCastle: A Python Toolbox for Causal Discoverycited by 60
- 2023Causal Order: The Key to Leveraging Imperfect Experts in Causal Inferencecited by 46
- 2025Do-PFN: In-Context Learning for Causal Effect Estimationcited by 46
- 2022DoWhy-GCM: An extension of DoWhy for causal inference in graphical causal modelscited by 40
- 2021Interventional Sum-Product Networks: Causal Inference with Tractable Probabilistic Modelscited by 22
- 2024ChatDiet: Empowering Personalized Nutrition-Oriented Food Recommender Chatbots through an LLM-Augmented Frameworkcited by 20
- 2021Through the Data Management Lens: Experimental Analysis and Evaluation of Fair Classificationcited by 13
- 2022Applications of statistical causal inference in software engineeringcited by 12
- 2025FairPFN: A Tabular Foundation Model for Causal Fairnesscited by 9
- 2023Evaluation of Induced Expert Knowledge in Causal Structure Learning by NOTEARScited by 8
12 most cited of 81 All 81 (JSON)
- 2026What You Observe Determines How You Identify Causal Effects: Evaluating Causal Models across Observational Views29 Sep 2026
- 2026Concept Drift from a Causal Perspective21 Sep 2026
- 2026Credit Access is Associated with Improved Food Security in the Horn of Africa21 Sep 2026
- 2026F-DACE: Fuzzy Disagreement-Aware Causal Evidence Fusion for Abstention-Safe Conversational Retail Decision Support16 Sep 2026
- 2026Causal-TS: A Python Library for Causal Discovery in High-Dimensional and Nonstationary Time Series27 Jul 2026
- 2026proxymate: Diagnosis and Adjustment of Proxy Estimates for Reliable Inference27 Jul 2026
- 2026EviDAG: Auditable Causal DAG Authoring with Biomedical Literature23 Jul 2026
- 2026teLLMe Why (Ain't Nothing but a Jam): Exploratory Causal Analysis of Urban Driving Data16 Jul 2026
- 2026A Step Towards Inherently Interpretable Causal Machine Learning Models For Decision Support23 Jun 2026
- 2026FoundCause: Causal Discovery with Latent Confounders from Observational Data16 Jun 2026
- 2026Causal Parametric Drift Simulation: A Digital Twin Framework for Classifier Robustness Evaluation10 May 2026
- 2026Beyond Correlation: Refutation-Validated Aspect-Based Sentiment Analysis for Explainable Energy Market Returns23 Mar 2026
12 newest of 81 All 81 (JSON)