PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Econometrics Python Packages

Python packages with the GitHub topic econometrics. Sorted by monthly downloads, with stars and forks.
statsmodels
statsmodels

Statsmodels: statistical modeling and econometrics in Python

33.6M 12K 4K
alkaline-ml
pmdarima

A statistical library designed to fill the void in Python's time series analysis capabilities, including the equivalent of R's auto.arima function.

1.6M 2K 256
Nixtla
statsforecast

Lightning ⚡️ fast forecasting with statistical and econometric models.

1.6M 5K 408
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.

369K 5K 828
Nixtla
hierarchicalforecast

Probabilistic Hierarchical forecasting 👑 with statistical and econometric methods.

176K 760 99
py-econometrics
pyfixest

Fast High-Dimensional Fixed Effects Regression in Python following fixest-syntax

130K 355 108
pysal
spreg

Spatial econometric regression in Python

101K 90 30
nikhilxsunder
fedfred

A feature-rich python package for interacting with the Federal Reserve Bank of St. Louis Economic Database: FRED

36K 9 0
DoubleML
doubleml

DoubleML - Double Machine Learning in Python

33K 793 127
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.

30K 405 55
sepinetam
stata-mcp

Stata-MCP: A MCP server for integrating Stata into your agent loop with a safety-first design.

13K 265 36
brycewang-stanford
statspai

StatsPAI is the first 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.

12K 332 71
luanborelli
ipeadatapy

ipeadatapy is a data and metadata extraction package made in Python using Ipeadata database official API. In it's essence it is an API wrapper.

7K 82 13
spring-haru
wooldridge

A Python package containing 111 data sets of Introductory Econometrics: A Modern Approach (7th ed, J.M. Wooldridge)

7K 64 28
tmonk
mcp-stata

A lightweight Model Context Protocol (MCP) server for Stata. Execute commands, inspect data, retrieve stored results (r()/e()), and view graphs in your chat interface. Built for economists who want to integrate LLM assistance into their Stata workflow.

7K 86 20
davidesg
drvarma

drvarma (Python) — exact-ML multivariate VARMA estimation, forecasting, IRF/FEVD and diagnostics. Ships sima, an MCP server for LLM-driven VARMA analysis

7K 0 0
jalonso1979
puremacro

Browser-runnable empirical macroeconomics in pure Python: VAR/SVAR/LP/GARCH/inference/VFI/DSGE/narrative, with built-in validation & replication galleries (Pyodide-compatible).

6K 20 5
GongJr0
symbolicdsge

A first and second-order DSGE engine with a fully symbolic and modifiable model backend. Includes estimation, monte carlo pipeline costruction, and regression-based equation augmentation capabilities

6K 2 0
google
lightweight-mmm

LightweightMMM 🦇 is a lightweight Bayesian Marketing Mix Modeling (MMM) library that allows users to easily train MMMs and obtain channel attribution information.

5K 1K 237
bernardodionisi
differences

difference-in-differences in Python

3K 115 26
brycewang-stanford
stata-code

Agent-native Stata bridge for empirical research — run DiD/IV/RDD and publication-ready tables from Claude Code, Jupyter, or VS Code on one token-economy result schema, with StatsPAI cross-validation. | 面向实证研究的智能体 Stata 桥接器——在 Claude Code、Jupyter、VS Code 中用一套省 token 的结果格式跑 DiD/IV/RDD 与出版级表格,并支持 StatsPAI 跨栈交叉验证。

3K 49 5
davidesg
atsw

ART (art-tseries) — Box-Jenkins-Treadway model-building toolkit + MCP server; includes the atsw umbrella meta-package. Part of the ATSW suite.

3K 0 0
jackdark425
aigroup-econ-mcp

Econometrics MCP server for regression, causal inference, time series, panel data, and statistical analysis workflows.

2K 10 4
NextStat
nextstat

Universal differentiable statistical inference engine (Rust + GPU). High-performance Frequentist & Bayesian modeling, RL environments, and end-to-end optimization for Science, Pharma, and Finance

2K 12 1
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology