SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2011.04216 · 2020

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

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 6 functions out of this paper's own repositories and ran 6 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
py-why/dowhy canonical 6 of 6
FunctionStatusWhere it lives
choose_variables Ran py-why/dowhy/dowhy/causal_refuter.py
code served (permissive licence) · get_code("36145701d6e173b8")
get_ordered_predecessors Ran py-why/dowhy/dowhy/graph.py
code served (permissive licence) · get_code("e6ae681a5991d9cf")
is_root_node Ran py-why/dowhy/dowhy/graph.py
code served (permissive licence) · get_code("21cf2805cc097d4e")
node_connected_subgraph_view Ran py-why/dowhy/dowhy/graph.py
code served (permissive licence) · get_code("63538d4b9bf66f8d")
perform_bootstrap_test Ran py-why/dowhy/dowhy/causal_refuter.py
code served (permissive licence) · get_code("80b0ffe65b0c7576")
perform_normal_distribution_test Ran py-why/dowhy/dowhy/causal_refuter.py
code served (permissive licence) · get_code("f00b9d8cb7351187")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2011.04216")
get_code_for_paper("2011.04216")
have("2011.04216")

Connect an agent — have() is free.