At this point, StatsPAI has already surpassed Stata and R in the causal inference domain and is beginning to reshape the Python ecosystem. The remaining step is to formalize key empirical results and publish them in a top statistical journal to provide strong academic validation.
StatsPAI 1.6.0: 250,000 lines of code, 925 functions
I originally planned to release version 1.0.0, but ended up writing another 30,000 lines overnight and jumped straight to 1.6. This is simply the pace of the AI era—tools like this are being rapidly brought into existence.
StatsPAI is an agent-native causal inference and econometrics library for Python, with 900+ functions covering DiD, IV, RD, synthetic control, DML, Bayesian methods, causal discovery, and structural modeling. For both AI agents & human researchers. Aligned with Stata and R.
🔗 Repo: https://t.co/7Nd4Kapy9F
PRs and forks very welcome — whether it's a new estimator, a bug fix, or a doc tweak. Star ⭐ if it saves you a regression. 🙏
StatsPAI v0.9.1 — the RD release.
sp.rd is now the most comprehensive RD toolkit in any language (Python/R/Stata):
• 18+ estimators across 14 modules (~10.3k LOC) • Sharp · Fuzzy · Kink · 2D · Multi-cutoff · RDiT • CCT robust inference, CJM density tests, AK honest CIs!
🔗 Repo: https://t.co/7Nd4Kapy9F
PRs and forks very welcome — whether it's a new estimator, a bug fix, or a doc tweak. Star ⭐ if it saves you a regression. 🙏
Meet https://t.co/zv6oNjD5yJ — from Stanford's REAP program.
Your AI research co-author. Faster. More rigorous. Covers everything from OLS, Logit, DiD, IV to causal forests.
Full code. Reproducible papers. Built for economists & social scientists.
🔗 https://t.co/bxTQP4giD0
23,000 AI Agent Skills for empirical research — open source.
Causal inference, econometrics, literature review, paper reproduction — one command.
Built by Stanford REAP.
https://t.co/KjcV0IOzPk
AI Tools for Economists Training Claude Code × Codex × https://t.co/zv6oNjD5yJ × VS Code Data → Stata/Python → Paper, end-to-end 2 days / 12 hours / hands-on
Finally, a Stata Graph Editor clone for matplotlib.
29 themes, auto-generates Python code, one line to use.
pip install statspai
Open source. Your reproducible workflow just got a lot smoother.
Long-term vision: bring the mature causal inference & econometrics capabilities of Stata and R into a complete Python ecosystem.
No more juggling statsmodels, linearmodels, EconML, and differences with incompatible APIs.
One unified package for Python researchers.
Introducing StatsPAI — an open-source econometrics toolkit for the AI agent era.
150+ functions. One unified API. From OLS to causal forests.
pip install statspai
https://t.co/LGZ72gsY3B
What it covers:
- Classic econometrics (IV, panel, Heckman)
- DID, synthetic control, RDD
- ML causal (DML, causal forest, TMLE)
- Publication-ready output (.docx, .latex, .xlsx)
Built for AI agents with standardized interfaces.
MIT licensed, open source forever.
Introducing StatsPAI (Stanford REAP & https://t.co/zv6oNjD5yJ): our vision is to build the unified Python toolkit for causal inference & econometrics.
One import, every method: DID, synthetic control, IV, RDD, matching, and more.
pip install statspai
💻 https://t.co/j7cJL7J0Uy
🔬 We open-sourced 23,000+ agent skills for empirical research across 8 social science disciplines.
Skills encode full research methodology — so AI agents know what a complete DID/IV/RDD analysis looks like, not just individual steps.
https://t.co/KjcV0IOzPk