Skip to content
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

42.7M 12K 4K
Nixtla
statsforecast

Lightning ⚡️ fast forecasting with statistical and econometric models.

1.9M 5K 446
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 258
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
Nixtla
hierarchicalforecast

Probabilistic Hierarchical forecasting 👑 with statistical and econometric methods.

268K 770 101
py-econometrics
pyfixest

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

203K 370 118
pysal
spreg

Spatial econometric regression in Python

82K 90 30
DoubleML
doubleml

DoubleML - Double Machine Learning in Python

53K 805 135
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
davidesg
drvarma

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

27K 0 0
nikhilxsunder
fedfred

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

23K 9 0
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
sepinetam
stata-mcp

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

14K 285 36
spring-haru
wooldridge

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

12K 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.

11K 92 21
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
jalonso1979
puremacro

Macroeconometrics and structural modeling on the core scientific-Python stack, with reproducible workflows and scoped validation.

6K 21 6
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.

5K 84 13
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
dvbn
powermean

Powermean package (Python version)

5K 0 0
bernardodionisi
differences

difference-in-differences in Python

5K 116 25
davidesg
art-tseries

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

4K 0 0
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
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
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology