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

Difference In Differences Python Packages

Python packages with the GitHub topic difference-in-differences. Sorted by monthly downloads, with stars and forks.
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
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
bernardodionisi
differences

difference-in-differences in Python

5K 116 25
rootcoder007
crimlab

Statistical Toolkit for Criminology and Sociolegal Research: R, Python, the command line, Go, Rust, Java and JavaScript over one C++17 core

4K 0 0
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
AluminumShark
sdid

Synthetic Difference-in-Differences (SDID) for causal inference in Python

2K 3 0
jordandeklerk
moderndid

Modern difference-in-differences in Python.

1K 30 3
nithinvargese09-cmyk
didcheck

Research software for pretreatment mean and demeaned-variance diagnostics in difference-in-differences designs

1K 0 0
TheOmarLab
sctrial

Participant-level differential analysis for longitudinal single-cell experiments: DiD, paired comparisons, module scoring, pseudobulk, and power analysis.

646 4 0
VivekReddyGaddam
probative-labs

Independent checks of what AI agents actually resolved. Open-source method, a free check that runs in your browser, validated on real ServiceNow data.

608 0 0
ZhenHaoFu810
stataflow

Stata-aligned econometrics for Python, with field-level validation across the documented support surface.

520 171 2
burning-cost
insurance-causal-policy

SDID for causal rate change evaluation in insurance pricing — event study, HonestDiD sensitivity, FCA evidence pack (170 tests)

383 0 0
csmar432
finai-research-workflow

经济金融领域 AI 学术研究工作流 — 论文写作(JF/JFE/RFS/经济研究/金融研究)与金融研报生成。集成 MCP 数据获取、因果推断(DID/IV/PSM/GMM)、LaTeX 排版和对抗性 review 循环。

283 112 4
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
random-walks
factor-factory

Shared factor-model + analysis-pipeline framework with first-class jellycell integration

219 1 0
gmarinichev
did-imputation

Borusyak, Jaravel & Spiess (2024) difference-in-differences imputation estimator with event-study plots.

126 0 0
gorgeousfish
equitrends

Python port of EquiTrends pre-trend equivalence testing tools.

126 0 0
gorgeousfish
contdid

Continuous Treatment Difference-in-Differences for Python

107 0 0
gorgeousfish
pretest-did

Conditional extrapolation pre-testing for difference-in-differences in Python

100 0 0
Aman12x
decisive

A causal-read and cheap-experimentation toolkit for teams without experimentation infrastructure.

88 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology