Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Treatment Effects Python Packages

Python packages with the GitHub topic treatment-effects. Sorted by monthly downloads, with stars and forks.
py-why
econml

ALICE (Automated Learning and Intelligence for Causation and Economics) is a Microsoft Research project aimed at applying Artificial Intelligence concepts to economic decision making. One of its goals is to build a toolkit that combines state-of-the-art machine learning techniques with econometrics in order to bring automation to complex causal inference problems. To date, the ALICE Python SDK (econml) implements orthogonal machine learning algorithms such as the double machine learning work of Chernozhukov et al. This toolkit is designed to measure the causal effect of some treatment variable(s) t on an outcome variable y, controlling for a set of features x.

414K 5K 838
py-why
dowhy

DoWhy is a Python library for causal inference that supports explicit modeling and testing of causal assumptions. DoWhy is based on a unified language for causal inference, combining causal graphical models and potential outcomes frameworks.

206K 8K 1K
igerber
diff-diff

Difference-in-Differences causal inference in Python. Callaway-Sant'Anna, Synthetic DiD, Honest DiD, event studies. sklearn-like API, validated against R.

33K 415 57
rdpackages
rdrobust

Robust Local Polynomial Methods for RD Designs

27K 99 44
brycewang-stanford
statspai

StatsPAI is an Agent-native Python library for causal inference and applied econometrics — unified API, broad cross-method coverage, structured result objects, machine-readable schemas, Skills, an MCP server, and R/Stata parity validation.

18K 389 78
rdpackages
rddensity

Manipulation Testing Using Local Polynomial Density Methods

5K 12 9
brycewang-stanford
statspai-hdfe

StatsPAI is an Agent-native Python library for causal inference and applied econometrics — unified API, broad cross-method coverage, structured result objects, machine-readable schemas, Skills, an MCP server, and R/Stata parity validation.

3K 389 78
kirilklein
causalestimate

Lightweight causal inference from precomputed propensity scores and outcome predictions: IPW, AIPW, TMLE, matching, bootstrap CIs. Pandas-native.

2K 2 3
andrewtavis
causeinfer

Machine learning based causal inference/uplift in Python. Mirror of https://codeberg.org/andrewtavis/causeinfer.

2K 65 15
SUwonglab
causalegm

CausalEGM: an encoding generative modeling approach to dimension reduction and covariate adjustment in causal inference with observational studies

704 74 12
asmahani
metacausal

Cross-framework causal-ML ensembles for average and heterogeneous treatment effects, with full-pipeline bootstrap inference.

670 0 0
rdpackages
rdlocrand

Local Randomization Methods for RD Designs

597 9 10
cantinilab
recon

Exploring multicellular coordination from single-cell gene expression / multi-omics using mutlilayer network representations

422 11 1
ShaokunAn
sccausalvi

A deep causality-aware model for disentangling treatment effects at single-cell resolution for perturbational scRNA-seq data

329 24 3
puhazoli
asbe

Active Learning for treatment effect estimation

316 1 0
rdpackages
rdpower

Power and Sample Size Calculations for RD designs

287 4 3
asmahani
xcausal

Cross-framework causal-ML ensembles for ATE and CATE with full-pipeline bootstrap inference

278 0 1
duketemon
pyuplift

Lightweight uplift modeling framework for Python

271 30 3
gorgeousfish
diddesign

Double Difference-in-Differences for Python — GMM-optimal combination of multiple pre-treatment periods with bootstrap inference, diagnostic tools, and publication-ready plotting (Egami & Yamauchi, 2023).

254 0 0
rdpackages
rdmulti

Robust Local Polynomial Methods for RD designs with Multiple Cutoffs or Multiple Scores

237 5 9
Microsoft
beat-test

ALICE (Automated Learning and Intelligence for Causation and Economics) is a Microsoft Research project aimed at applying Artificial Intelligence concepts to economic decision making. One of its goals is to build a toolkit that combines state-of-the-art machine learning techniques with econometrics in order to bring automation to complex causal inference problems. To date, the ALICE Python SDK (econml) implements orthogonal machine learning algorithms such as the double machine learning work of Chernozhukov et al. This toolkit is designed to measure the causal effect of some treatment variable(s) t on an outcome variable y, controlling for a set of features x.

160 5K 838
Microsoft
beat-ml1

This package contains several methods for calculating Conditional Average Treatment Effects

146 5K 838
Microsoft
beataalu

This package contains several methods for calculating Conditional Average Treatment Effects

142 5K 838
Microsoft
guangtestbeat

This package contains several methods for calculating Conditional Average Treatment Effects

97 5K 838
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology