DoWhy: An End-to-End Library for Causal Inference

11/09/2020
by   Amit Sharma, et al.
0

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

READ FULL TEXT
research
06/14/2022

DoWhy-GCM: An extension of DoWhy for causal inference in graphical causal models

We introduce DoWhy-GCM, an extension of the DoWhy Python library, that l...
research
06/15/2021

CausalNLP: A Practical Toolkit for Causal Inference with Text

The vast majority of existing methods and systems for causal inference a...
research
03/07/2021

Causal Inference in the Time of Covid-19

In this paper we develop statistical methods for causal inference in epi...
research
07/18/2021

A Topological Perspective on Causal Inference

This paper presents a topological learning-theoretic perspective on caus...
research
09/08/2021

Parameterizing and Simulating from Causal Models

Many statistical problems in causal inference involve a probability dist...
research
10/29/2022

Causal DAG extraction from a library of books or videos/movies

Determining a causal DAG (directed acyclic graph) for a problem under co...
research
07/26/2023

Learning sources of variability from high-dimensional observational studies

Causal inference studies whether the presence of a variable influences a...

Please sign up or login with your details

Forgot password? Click here to reset