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

Panel Data Python Packages

Python packages with the GitHub topic panel-data. Sorted by monthly downloads, with stars and forks.
bashtage
linearmodels

Additional linear models including instrumental variable and panel data models that are missing from statsmodels.

370K 1K 204
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
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
bernardodionisi
differences

difference-in-differences in Python

3K 115 26
4Freye
panelsplit

A tool for performing cross-validation with panel data

1K 20 2
mrcsvg
geoexp

Geo-experiment design on top of augsynth-py: market selection, power-based design ranking, and experiment reporting

822 0 0
csmar432
finai-research-workflow

Evidence-first AI workflow for economic and financial research: literature → identification → data → econometrics → verifiable LaTeX. 43 data sources, 58 method modules, 18 AI skills, 30 journal templates.

699 110 4
ksecology
fixedeffectmodel

Fixedeffectmodel: panel data modeling in Python

678 77 22
ZhenHaoFu810
stataflow

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

674 167 2
sii-research
socioverse2

SocioVerse2: A Longitudinal Dynamic Social Simulation Framework under a Human-AI Co-evolutionary Paradigm

514 13 1
cupidthatbtc
panelcast

Hierarchical Bayesian prediction for bounded scores of events nested in entities over time — configured by one YAML descriptor.

441 2 1
stemmatics
paneldx

Validate longitudinal dataset as what it claims to be. Entity-key verification, leakage detection, cumulative-counter traps and naive baselines, as a library, a CLI and a CI gate.

398 5 0
Kahindo048
pyxtabond2

PyXtabond2: Dynamic Panel Data Estimation in Python

299 1 0
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).

281 0 0
aaivu
panelformer

Transformer-based model for accurate and scalable panel time series forecasting. Builds on Temporal Fusion Transformer with innovations like segment-wise attention, multi-scale decomposition, and cross-entity attention.

230 0 1
quarcs-lab
scspill

Bayesian Synthetic Control with Spillovers in Python

200 0 0
random-walks
factor-factory

Domain-agnostic factor-model + analysis-pipeline framework with Protocol-based pluggable engines (DiD, SDID, SCM, RDD, survival, event study, mediation, het-TE, …) and first-class jellycell tearsheet integration.

199 1 0
michadenheijer
groupedpaneldatamodels

A Python package that implements the most commonly used Grouped Panel Data Models

145 0 0
Kahindo048
pyxthreg

High-Performance Panel Threshold Regression in Python

134 0 0
gorgeousfish
equitrends

Equivalence tests for pre-trends in Difference-in-Differences estimation. Implements max, mean, and RMS tests from Dette & Schumann (2024, JBES).

134 0 0
gmarinichev
did-imputation

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

125 0 0
actcwlf
panelexpr

A simple panel data evaluator

105 0 0
gorgeousfish
xtbreak

Bai–Perron structural break detection and estimation for time series and panel data. Tests for breaks, estimates break dates with confidence intervals, and selects break counts via sequential testing or information criteria.

104 1 1
KamilMakiela
stochastic-frontier-analysis

Stochastic Frontier Analysis with Python. ML and Bayesian estimation.

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