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.
Why this job: works in the areas we cover, but does not say which job it does
What it does
StatsPAI is for empirical researchers who would normally jump between Stata, R, and Python. Its goal is to make common Stata/R econometrics and causal-inference workflows feel native in Python: load a dataset, estimate a model, inspect diagnostics, export tables, and hand the result to an agent or notebook without leaving one API.
Get started
pip install statspai- Maintenance
- Active
- Last commit today
- Stars
- 373
- +6 this week
- Licence
- MIT
- Allows business use
- Downloads for
- None listed
- No release files
- Latest version
- v1.23.0
- Released 2 months ago
- Built with
- Python
- 93% of the code
Is it looked after?
- Contributors
- 1
- Last 90 days
- Issues
- 100% closed
- 0 still open
- Pull requests
- 22 merged
- 0 waiting
- Releases
- 27
- 27 in the last year
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| DoubleML / doubleml-for-py | 799 | yesterday | BSD-3-Clause | No downloads |
| py-why / EconML | 4,850 | 9 days ago | Custom | No downloads |
| scikit-learn / scikit-learn | 68,154 | today | BSD-3-Clause | No downloads |
More: languages, topics and project record
Languages
- Python 93%
- R 3%
- TeX 2%
- Stata 2%
Topics
- agent-native
- ai-agents
- causal-discovery
- causal-inference
- data-science
- difference-in-differences
- double-machine-learning
- econometrics
- instrumental-variables
- llm
- mcp
- panel-data
Project record
- JobOther AI tools
- StatusListed
- Commits3,572
- Forks76
- Watching2
- Stars in 28 days+36
- CreatedJul 26, 2025
- First seen by usNov 7, 2026
- CheckedNov 12, 2026
