Packages

527 packages for ML, causal inference, time series, and more.

Browse by topic:
527 packages

Structural Econometrics & Estimation

Greeners Comprehensive Rust econometrics library with OLS, IV, panel data estimators, fixed effects, DiD, and heteroskedasticity-robust standard errors (HC0-HC3).

Comprehensive Rust econometrics library with OLS, IV, panel data estimators, fixed effects, DiD, and heteroskedasticity-robust standard errors (HC0-HC3).

rust econometrics IV panel data robust SE
ruspy Python package for simulation and estimation of Rust (1987) bus engine replacement model. Implements the nested fixed point (NFXP) algorithm for dynamic discrete choice. The reference implementation for learning structural estimation.

Python package for simulation and estimation of Rust (1987) bus engine replacement model. Implements the nested fixed point (NFXP) algorithm for dynamic discrete choice. The reference implementation for learning structural estimation.

structural estimation dynamic discrete choice econometrics
pynare Python wrapper/interface to Dynare for DSGE model solving. Bridge between Python workflows and Dynare.

Python wrapper/interface to Dynare for DSGE model solving. Bridge between Python workflows and Dynare.

structural DSGE Dynare
econpizza Solve nonlinear heterogeneous agent models (HANK) with perfect foresight. Efficient perturbation and projection methods.

Solve nonlinear heterogeneous agent models (HANK) with perfect foresight. Efficient perturbation and projection methods.

structural DSGE HANK
gEconpy DSGE modeling tools inspired by R's gEcon. Automatic first-order condition derivation with Dynare export.

DSGE modeling tools inspired by R's gEcon. Automatic first-order condition derivation with Dynare export.

structural DSGE estimation
pydsge DSGE model simulation, filtering, and Bayesian estimation. Handles occasionally binding constraints.

DSGE model simulation, filtering, and Bayesian estimation. Handles occasionally binding constraints.

structural DSGE Bayesian
upper-envelope Fast upper envelope scan for discrete-continuous dynamic programming. JAX and numba implementations.

Fast upper envelope scan for discrete-continuous dynamic programming. JAX and numba implementations.

structural dynamic programming optimization
dcegm JAX-compatible DC-EGM algorithm for discrete-continuous dynamic programming (Iskhakov et al. 2017).

JAX-compatible DC-EGM algorithm for discrete-continuous dynamic programming (Iskhakov et al. 2017).

structural dynamic programming JAX
gegravity General equilibrium structural gravity modeling for trade policy analysis. Only Python package for Anderson-van Wincoop GE gravity.

General equilibrium structural gravity modeling for trade policy analysis. Only Python package for Anderson-van Wincoop GE gravity.

trade gravity models structural
revealedPrefs R package for testing revealed preference axioms (GARP, WARP, SARP) on consumer choice data. Detects violations of utility maximization assumptions.

R package for testing revealed preference axioms (GARP, WARP, SARP) on consumer choice data. Detects violations of utility maximization assumptions.

revealed preference GARP WARP SARP utility theory consumer choice axiom testing
Dolo Framework for describing and solving economic models (DSGE, OLG, etc.) using a declarative YAML-based format.

Framework for describing and solving economic models (DSGE, OLG, etc.) using a declarative YAML-based format.

structural estimation
HARK Toolkit for solving, simulating, and estimating models with heterogeneous agents (e.g., consumption-saving).

Toolkit for solving, simulating, and estimating models with heterogeneous agents (e.g., consumption-saving).

structural estimation
InvOpt Inverse optimization library that infers utility/cost functions from observed decisions. Learns the objective function that makes observed choices optimal given constraints.

Inverse optimization library that infers utility/cost functions from observed decisions. Learns the objective function that makes observed choices optimal given constraints.

inverse optimization revealed preference utility estimation mechanism design decision modeling
PyInvo Lightweight inverse optimization library for fitting models where the forward problem is a linear program. Recovers utility function weights from observed optimal decisions.

Lightweight inverse optimization library for fitting models where the forward problem is a linear program. Recovers utility function weights from observed optimal decisions.

inverse optimization linear programming utility estimation revealed preference
QuantEcon.py Core library for quantitative economics: dynamic programming, Markov chains, game theory, numerical methods.

Core library for quantitative economics: dynamic programming, Markov chains, game theory, numerical methods.

structural estimation
pyStoNED Multivariate convex regression, stochastic frontier analysis, and data envelopment analysis (DEA). Implements Afriat inequalities for global concavity constraints in convex nonparametric least squares.

Multivariate convex regression, stochastic frontier analysis, and data envelopment analysis (DEA). Implements Afriat inequalities for global concavity constraints in convex nonparametric least squares.

convex regression stochastic frontier DEA efficiency analysis Afriat
respy Simulation and estimation of finite-horizon dynamic discrete choice (DDC) models (e.g., labor/education choice).

Simulation and estimation of finite-horizon dynamic discrete choice (DDC) models (e.g., labor/education choice).

structural estimation

Causal Inference (Synthetic Control)

scpi Provides rigorous prediction intervals for synthetic control methods following Cattaneo et al. (2021, 2025). Supports staggered adoption designs with valid uncertainty quantification.

Provides rigorous prediction intervals for synthetic control methods following Cattaneo et al. (2021, 2025). Supports staggered adoption designs with valid uncertainty quantification.

synthetic-control prediction-intervals uncertainty-quantification staggered-adoption inference
augsynth Implements the Augmented Synthetic Control Method, which uses an outcome model (ridge regression by default) to correct for bias when pre-treatment fit is imperfect. Uniquely supports staggered adoption across multiple treated units via multisynth() function.

Implements the Augmented Synthetic Control Method, which uses an outcome model (ridge regression by default) to correct for bias when pre-treatment fit is imperfect. Uniquely supports staggered adoption across multiple treated units via multisynth() function.

augmented-synthetic-control bias-correction staggered-adoption ridge-regression imperfect-fit
microsynth Extends synthetic control method to micro-level data with many units. Implements permutation inference and handles high-dimensional settings where traditional SCM struggles.

Extends synthetic control method to micro-level data with many units. Implements permutation inference and handles high-dimensional settings where traditional SCM struggles.

synthetic-control micro-data permutation-inference high-dimensional many-units
synthdid Implements synthetic difference-in-differences, a hybrid method combining insights from both DiD and synthetic control that reweights and matches pre-treatment trends. Provides improved robustness properties compared to either method alone by combining their strengths.

Implements synthetic difference-in-differences, a hybrid method combining insights from both DiD and synthetic control that reweights and matches pre-treatment trends. Provides improved robustness properties compared to either method alone by combining their strengths.

synthetic-control difference-in-differences hybrid-estimator panel-data robust-estimation
Synth The original synthetic control method implementation for comparative case studies. Constructs a weighted combination of comparison units to create a synthetic counterfactual for estimating effects of interventions on a single treated unit, as used in seminal studies of California tobacco program and German reunification.

The original synthetic control method implementation for comparative case studies. Constructs a weighted combination of comparison units to create a synthetic counterfactual for estimating effects of interventions on a single treated unit, as used in seminal studies of California tobacco program and German reunification.

synthetic-control comparative-case-studies counterfactual policy-evaluation single-unit-treatment
gsynth Implements generalized synthetic control with interactive fixed effects, extending SCM to multiple treated units with variable treatment timing. Uses factor models to impute counterfactuals, handling unbalanced panels and complex treatment patterns with latent factor structures.

Implements generalized synthetic control with interactive fixed effects, extending SCM to multiple treated units with variable treatment timing. Uses factor models to impute counterfactuals, handling unbalanced panels and complex treatment patterns with latent factor structures.

generalized-synthetic-control interactive-fixed-effects factor-models multiple-treated-units unbalanced-panels
pensynth Implements penalized synthetic control method from Abadie & L'Hour (2021). Adds regularization to improve pre-treatment fit and reduce interpolation bias in sparse donor pools.

Implements penalized synthetic control method from Abadie & L'Hour (2021). Adds regularization to improve pre-treatment fit and reduce interpolation bias in sparse donor pools.

synthetic-control penalized regularization interpolation-bias sparse-donors
tidysynth Brings synthetic control method into the tidyverse with cleaner syntax and built-in placebo inference. Provides pipe-friendly workflows for SCM estimation and visualization.

Brings synthetic control method into the tidyverse with cleaner syntax and built-in placebo inference. Provides pipe-friendly workflows for SCM estimation and visualization.

synthetic-control tidyverse placebo-inference causal-inference policy-evaluation
SCtools Automates placebo tests and multi-treated-unit ATT calculations for synthetic control. Provides utilities for generating in-space and in-time placebos with visualization.

Automates placebo tests and multi-treated-unit ATT calculations for synthetic control. Provides utilities for generating in-space and in-time placebos with visualization.

synthetic-control placebo-tests multi-unit ATT visualization

Program Evaluation Methods (DiD, SC, RDD)

didet DiD with general treatment patterns. Handles effective treatment timing beyond simple staggered adoption.

DiD with general treatment patterns. Handles effective treatment timing beyond simple staggered adoption.

DiD treatment timing causal inference
didhetero Doubly robust estimation for group-time conditional average treatment effects. UCB for heterogeneous DiD.

Doubly robust estimation for group-time conditional average treatment effects. UCB for heterogeneous DiD.

DiD heterogeneous effects doubly robust
pysyncon Synthetic control method implementation compatible with R's Synth and augsynth packages.

Synthetic control method implementation compatible with R's Synth and augsynth packages.

synthetic control causal inference panel data
synthlearners Fast synthetic control estimators for panel data problems. Optimized ATT estimation with multiple SC algorithms.

Fast synthetic control estimators for panel data problems. Optimized ATT estimation with multiple SC algorithms.

synthetic control causal inference panel data
CausalImpact Python port of Google's R package for estimating causal effects of interventions on time series using Bayesian structural time-series models.

Python port of Google's R package for estimating causal effects of interventions on time series using Bayesian structural time-series models.

DiD synthetic control RDD Bayesian
Differences Implements modern difference-in-differences methods for staggered adoption designs (e.g., Callaway & Sant'Anna).

Implements modern difference-in-differences methods for staggered adoption designs (e.g., Callaway & Sant'Anna).

DiD synthetic control RDD
SyntheticControlMethods Implementation of synthetic control methods for comparative case studies when panel data is available.

Implementation of synthetic control methods for comparative case studies when panel data is available.

DiD synthetic control RDD
TFP CausalImpact TensorFlow Probability port of Google's CausalImpact. Bayesian structural time-series for intervention effects.

TensorFlow Probability port of Google's CausalImpact. Bayesian structural time-series for intervention effects.

causal impact time series Bayesian
csdid Python adaptation of the R `did` package. Implements multi-period DiD with staggered treatment timing (Callaway & Sant’Anna).

Python adaptation of the R `did` package. Implements multi-period DiD with staggered treatment timing (Callaway & Sant’Anna).

DiD synthetic control RDD
mlsynth Implements advanced synthetic control methods: forward DiD, cluster SC, factor models, and proximal SC. Designed for single-treated-unit settings.

Implements advanced synthetic control methods: forward DiD, cluster SC, factor models, and proximal SC. Designed for single-treated-unit settings.

DiD synthetic control RDD
pycinc Changes‑in‑Changes (CiC) estimator for distributional treatment effects (Athey & Imbens 2006).

Changes‑in‑Changes (CiC) estimator for distributional treatment effects (Athey & Imbens 2006).

DiD synthetic control RDD causal inference
pyleebounds Lee (2009) sample‑selection bounds for treatment effects; trims treated distribution to match selection rates.

Lee (2009) sample‑selection bounds for treatment effects; trims treated distribution to match selection rates.

DiD synthetic control RDD causal inference
rdd Toolkit for sharp RDD analysis, including bandwidth calculation and estimation, integrating with pandas.

Toolkit for sharp RDD analysis, including bandwidth calculation and estimation, integrating with pandas.

DiD synthetic control RDD
rdrobust Comprehensive tools for Regression Discontinuity Designs (RDD), including optimal bandwidth selection, estimation, inference.

Comprehensive tools for Regression Discontinuity Designs (RDD), including optimal bandwidth selection, estimation, inference.

DiD synthetic control RDD

Double/Debiased Machine Learning (DML)

Doubly-Debiased-Lasso High-dimensional inference under hidden confounding. Doubly debiased Lasso for valid inference.

High-dimensional inference under hidden confounding. Doubly debiased Lasso for valid inference.

high-dimensional Lasso debiased
SynapseML Microsoft's distributed ML library with native Double ML (DoubleMLEstimator) for heterogeneous treatment effects at scale.

Microsoft's distributed ML library with native Double ML (DoubleMLEstimator) for heterogeneous treatment effects at scale.

spark causal inference double ML distributed
DoubleML Implements the double/debiased ML framework (Chernozhukov et al.) for estimating causal parameters (ATE, LATE, POM) with ML nuisances.

Implements the double/debiased ML framework (Chernozhukov et al.) for estimating causal parameters (ATE, LATE, POM) with ML nuisances.

machine learning causal inference
EconML Microsoft toolkit for estimating heterogeneous treatment effects using DML, causal forests, meta-learners, and orthogonal ML methods.

Microsoft toolkit for estimating heterogeneous treatment effects using DML, causal forests, meta-learners, and orthogonal ML methods.

machine learning causal inference
pydoublelasso Double‑post Lasso estimator for high‑dimensional treatment effects (Belloni‑Chernozhukov‑Hansen 2014).

Double‑post Lasso estimator for high‑dimensional treatment effects (Belloni‑Chernozhukov‑Hansen 2014).

machine learning causal inference
pyhtelasso Debiased‑Lasso detector of heterogeneous treatment effects in randomized experiments.

Debiased‑Lasso detector of heterogeneous treatment effects in randomized experiments.

machine learning causal inference

Adaptive Experimentation & Bandits

Ax (Meta Adaptive Experimentation) Meta's open-source platform for adaptive experimentation. Bayesian optimization, multi-objective optimization, and automated experiment design. Built on BoTorch for AI-assisted experimentation.

Meta's open-source platform for adaptive experimentation. Bayesian optimization, multi-objective optimization, and automated experiment design. Built on BoTorch for AI-assisted experimentation.

adaptive experimentation Bayesian optimization multi-objective
abracadabra Sequential testing with always-valid inference. Supports continuous monitoring of A/B tests.

Sequential testing with always-valid inference. Supports continuous monitoring of A/B tests.

sequential testing A/B testing always-valid
BayesianBandits Lightweight microframework for Bayesian bandits (Thompson Sampling) with support for contextual/restless/delayed rewards.

Lightweight microframework for Bayesian bandits (Thompson Sampling) with support for contextual/restless/delayed rewards.

A/B testing experimentation Bayesian
ContextualBandits Implements a wide range of contextual bandit algorithms (linear, tree-based, neural) and off-policy evaluation methods.

Implements a wide range of contextual bandit algorithms (linear, tree-based, neural) and off-policy evaluation methods.

A/B testing experimentation machine learning
MABWiser Production-ready, scikit-learn style library for contextual & stochastic bandits with parallelism and simulation tools.

Production-ready, scikit-learn style library for contextual & stochastic bandits with parallelism and simulation tools.

A/B testing experimentation
Open Bandit Pipeline (OBP) Framework for **offline evaluation (OPE)** of bandit policies using logged data. Implements IPS, DR, DM estimators.

Framework for **offline evaluation (OPE)** of bandit policies using logged data. Implements IPS, DR, DM estimators.

A/B testing experimentation
PyXAB Library for advanced bandit problems: X-armed bandits (continuous/structured action spaces) and online optimization.

Library for advanced bandit problems: X-armed bandits (continuous/structured action spaces) and online optimization.

A/B testing experimentation
SMPyBandits Comprehensive research framework for single/multi-player MAB algorithms (stochastic, adversarial, contextual).

Comprehensive research framework for single/multi-player MAB algorithms (stochastic, adversarial, contextual).

A/B testing experimentation

Causal Inference (DiD)

did Implements group-time average treatment effects (ATT(g,t)) for staggered DiD designs with multiple periods and variation in treatment timing. Provides flexible aggregation into event-study plots or overall treatment effect estimates, addressing the well-documented negative weighting issues with conventional TWFE under staggered adoption.

Implements group-time average treatment effects (ATT(g,t)) for staggered DiD designs with multiple periods and variation in treatment timing. Provides flexible aggregation into event-study plots or overall treatment effect estimates, addressing the well-documented negative weighting issues with conventional TWFE under staggered adoption.

difference-in-differences staggered-adoption event-study treatment-effects panel-data
didimputation Implements the imputation-based DiD estimator that first estimates Y(0) counterfactuals from untreated observations using two-way fixed effects, then imputes treatment effects for treated units. Avoids negative weighting problems of conventional TWFE under heterogeneous treatment effects.

Implements the imputation-based DiD estimator that first estimates Y(0) counterfactuals from untreated observations using two-way fixed effects, then imputes treatment effects for treated units. Avoids negative weighting problems of conventional TWFE under heterogeneous treatment effects.

imputation two-way-fixed-effects event-study counterfactual robust-estimation
DRDID Implements locally efficient doubly robust DiD estimators that combine inverse probability weighting and outcome regression for improved statistical properties. Handles both panel data and repeated cross-sections in the canonical 2x2 DiD setting with covariates, providing robustness against model misspecification.

Implements locally efficient doubly robust DiD estimators that combine inverse probability weighting and outcome regression for improved statistical properties. Handles both panel data and repeated cross-sections in the canonical 2x2 DiD setting with covariates, providing robustness against model misspecification.

doubly-robust difference-in-differences inverse-probability-weighting ATT covariates
bacondecomp Performs Goodman-Bacon decomposition showing how two-way fixed effects (TWFE) estimates are weighted averages of all possible 2×2 DiD comparisons. Essential for diagnosing negative weights problems in staggered adoption designs.

Performs Goodman-Bacon decomposition showing how two-way fixed effects (TWFE) estimates are weighted averages of all possible 2×2 DiD comparisons. Essential for diagnosing negative weights problems in staggered adoption designs.

DiD TWFE Goodman-Bacon decomposition staggered-adoption
staggered Provides the efficient estimator for randomized staggered rollout designs, offering optimal weighting schemes for treatment effect estimation. Also implements Callaway & Sant'Anna and Sun & Abraham estimators with design-based Fisher inference for randomized experiments.

Provides the efficient estimator for randomized staggered rollout designs, offering optimal weighting schemes for treatment effect estimation. Also implements Callaway & Sant'Anna and Sun & Abraham estimators with design-based Fisher inference for randomized experiments.

staggered-rollout randomized-experiments efficient-estimation event-study fisher-inference
diff-diff Comprehensive Difference-in-Differences library with sklearn-like API and statsmodels-style output. Implements Callaway-Sant'Anna, Sun-Abraham, Synthetic DiD, Triple Difference (DDD), Honest DiD sensitivity analysis, and extensive robustness diagnostics.

Comprehensive Difference-in-Differences library with sklearn-like API and statsmodels-style output. Implements Callaway-Sant'Anna, Sun-Abraham, Synthetic DiD, Triple Difference (DDD), Honest DiD sensitivity analysis, and extensive robustness diagnostics.

DiD difference-in-differences Callaway-SantAnna synthetic-DiD event-study triple-difference
HonestDiD Constructs robust confidence intervals for DiD and event-study designs under violations of parallel trends. Allows researchers to conduct sensitivity analysis by relaxing the parallel trends assumption using smoothness or relative magnitude restrictions on pre-trend violations.

Constructs robust confidence intervals for DiD and event-study designs under violations of parallel trends. Allows researchers to conduct sensitivity analysis by relaxing the parallel trends assumption using smoothness or relative magnitude restrictions on pre-trend violations.

sensitivity-analysis parallel-trends robust-inference confidence-intervals event-study
fastdid High-performance implementation of Callaway & Sant'Anna estimators optimized for large datasets with millions of observations. Reduces computation time from hours to seconds while supporting time-varying covariates and multiple events per unit.

High-performance implementation of Callaway & Sant'Anna estimators optimized for large datasets with millions of observations. Reduces computation time from hours to seconds while supporting time-varying covariates and multiple events per unit.

high-performance large-scale staggered-DiD time-varying-covariates fast-computation
fect Fixed Effects Counterfactual Estimators (v2.0+) incorporating gsynth functionality. Supports treatment switching on/off with carryover effects, matrix completion methods, and Rambachan & Roth sensitivity analysis for parallel trends violations.

Fixed Effects Counterfactual Estimators (v2.0+) incorporating gsynth functionality. Supports treatment switching on/off with carryover effects, matrix completion methods, and Rambachan & Roth sensitivity analysis for parallel trends violations.

counterfactual matrix-completion interactive-fixed-effects sensitivity-analysis carryover
etwfe Extended Two-Way Fixed Effects estimator implementing Wooldridge (2021, 2023). Saturated interaction effects to overcome bias in vanilla TWFE for difference-in-differences with staggered treatment adoption. Built on pyfixest and marginaleffects.

Extended Two-Way Fixed Effects estimator implementing Wooldridge (2021, 2023). Saturated interaction effects to overcome bias in vanilla TWFE for difference-in-differences with staggered treatment adoption. Built on pyfixest and marginaleffects.

DiD two-way-fixed-effects Wooldridge staggered-treatment panel-data

Time Series Econometrics

TS-Flint Two Sigma's time-series library for Spark with optimized temporal joins, as-of joins, and distributed OLS for high-frequency data.

Two Sigma's time-series library for Spark with optimized temporal joins, as-of joins, and distributed OLS for high-frequency data.

spark time series temporal joins fintech
urca Implements unit root and cointegration tests commonly used in applied econometric analysis. Includes Augmented Dickey-Fuller, Phillips-Perron, KPSS, Elliott-Rothenberg-Stock, and Zivot-Andrews tests, plus Johansen's cointegration procedure for multivariate series.

Implements unit root and cointegration tests commonly used in applied econometric analysis. Includes Augmented Dickey-Fuller, Phillips-Perron, KPSS, Elliott-Rothenberg-Stock, and Zivot-Andrews tests, plus Johansen's cointegration procedure for multivariate series.

unit-root cointegration ADF-test KPSS Johansen
KFAS State space modeling framework for exponential family time series with computationally efficient Kalman filtering, smoothing, forecasting, and simulation. Supports observations from Gaussian, Poisson, binomial, negative binomial, and gamma distributions.

State space modeling framework for exponential family time series with computationally efficient Kalman filtering, smoothing, forecasting, and simulation. Supports observations from Gaussian, Poisson, binomial, negative binomial, and gamma distributions.

state-space kalman-filter time-series forecasting exponential-family
dlm Maximum likelihood and Bayesian analysis of Normal linear state space models (Dynamic Linear Models). Features numerically stable SVD-based algorithms for Kalman filtering and smoothing, plus tools for MCMC-based Bayesian inference including forward filtering backward sampling (FFBS).

Maximum likelihood and Bayesian analysis of Normal linear state space models (Dynamic Linear Models). Features numerically stable SVD-based algorithms for Kalman filtering and smoothing, plus tools for MCMC-based Bayesian inference including forward filtering backward sampling (FFBS).

state-space kalman-filter Bayesian time-series dynamic-linear-models
dynlm Provides an interface for fitting dynamic linear regression models with extended formula syntax. Supports convenient lag operators L(), differencing d(), trend(), season(), and harmonic components while preserving time series attributes.

Provides an interface for fitting dynamic linear regression models with extended formula syntax. Supports convenient lag operators L(), differencing d(), trend(), season(), and harmonic components while preserving time series attributes.

dynamic-regression lag-operator time-series-regression distributed-lags formula-syntax
mFilter Implements time series filters for extracting trend and cyclical components. Includes Hodrick-Prescott, Baxter-King, Christiano-Fitzgerald, Butterworth, and trigonometric regression filters commonly used in macroeconomics and business cycle analysis.

Implements time series filters for extracting trend and cyclical components. Includes Hodrick-Prescott, Baxter-King, Christiano-Fitzgerald, Butterworth, and trigonometric regression filters commonly used in macroeconomics and business cycle analysis.

HP-filter Baxter-King trend-extraction business-cycles detrending
strucchange Testing, monitoring, and dating structural changes in linear regression models. Implements the generalized fluctuation test framework (CUSUM, MOSUM, recursive estimates) and F-test framework (Chow test, supF, aveF, expF) with breakpoint estimation and confidence intervals.

Testing, monitoring, and dating structural changes in linear regression models. Implements the generalized fluctuation test framework (CUSUM, MOSUM, recursive estimates) and F-test framework (Chow test, supF, aveF, expF) with breakpoint estimation and confidence intervals.

structural-break CUSUM Chow-test breakpoints parameter-stability
tsDyn Implements nonlinear autoregressive time series models including threshold AR (TAR/SETAR), smooth transition AR (STAR, LSTAR), and multivariate extensions (TVAR, TVECM). Enables regime-switching dynamics analysis with parametric and non-parametric approaches.

Implements nonlinear autoregressive time series models including threshold AR (TAR/SETAR), smooth transition AR (STAR, LSTAR), and multivariate extensions (TVAR, TVECM). Enables regime-switching dynamics analysis with parametric and non-parametric approaches.

nonlinear SETAR LSTAR threshold-VAR regime-switching
vars Comprehensive package for Vector Autoregression (VAR), Structural VAR (SVAR), and Structural Vector Error Correction (SVEC) models. Provides estimation, lag selection, diagnostic testing, forecasting, Granger causality analysis, impulse response functions, and forecast error variance decomposition.

Comprehensive package for Vector Autoregression (VAR), Structural VAR (SVAR), and Structural Vector Error Correction (SVEC) models. Provides estimation, lag selection, diagnostic testing, forecasting, Granger causality analysis, impulse response functions, and forecast error variance decomposition.

VAR SVAR impulse-response Granger-causality FEVD
ARCH Specialized library for modeling and forecasting conditional volatility using ARCH, GARCH, EGARCH, and related models.

Specialized library for modeling and forecasting conditional volatility using ARCH, GARCH, EGARCH, and related models.

time series econometrics
Kats Broad toolkit for time series analysis, including multivariate analysis, detection (outliers, change points, trends), feature extraction.

Broad toolkit for time series analysis, including multivariate analysis, detection (outliers, change points, trends), feature extraction.

time series econometrics
LocalProjections Community implementations of Jordà (2005) Local Projections for estimating impulse responses without VAR assumptions.

Community implementations of Jordà (2005) Local Projections for estimating impulse responses without VAR assumptions.

time series econometrics

Causal Inference

GeoLift Meta's geo-experimental methodology combining Augmented Synthetic Control with power analysis

Meta's geo-experimental methodology combining Augmented Synthetic Control with power analysis

geo experiments synthetic control power analysis Meta

Discrete Choice Models

choice-learn Discrete choice modeling with deep learning (e.g., TasteNet) for assortment and pricing optimization. Supports single-choice and basket models on large datasets. Published in JOSS.

Discrete choice modeling with deep learning (e.g., TasteNet) for assortment and pricing optimization. Supports single-choice and basket models on large datasets. Published in JOSS.

discrete-choice deep-learning TasteNet assortment-optimization pricing
Biogeme Maximum likelihood estimation of parametric models, with strong support for complex discrete choice models.

Maximum likelihood estimation of parametric models, with strong support for complex discrete choice models.

discrete choice logit
Prest Desktop application for computational revealed preference analysis. GUI written in Python with Rust backend for performance. Analyzes choice datasets for rationality and behavioral consistency.

Desktop application for computational revealed preference analysis. GUI written in Python with Rust backend for performance. Analyzes choice datasets for rationality and behavioral consistency.

revealed preference rationality testing GARP behavioral economics GUI
PyBLP Tools for estimating demand for differentiated products using the Berry-Levinsohn-Pakes (BLP) method.

Tools for estimating demand for differentiated products using the Berry-Levinsohn-Pakes (BLP) method.

discrete choice logit
PyLogit Flexible implementation of conditional/multinomial logit models with utilities for data preparation.

Flexible implementation of conditional/multinomial logit models with utilities for data preparation.

discrete choice logit
XLogit Fast estimation of Multinomial Logit and Mixed Logit models, optimized for performance.

Fast estimation of Multinomial Logit and Mixed Logit models, optimized for performance.

discrete choice logit
choix Inference algorithms for probabilistic choice models based on Luce's choice axiom. Supports Bradley-Terry (pairwise comparisons), Plackett-Luce (partial rankings), and Network Choice Models.

Inference algorithms for probabilistic choice models based on Luce's choice axiom. Supports Bradley-Terry (pairwise comparisons), Plackett-Luce (partial rankings), and Network Choice Models.

ranking Bradley-Terry Plackett-Luce pairwise comparisons choice axiom
torch-choice PyTorch framework for flexible estimation of complex discrete choice models, leveraging GPU acceleration.

PyTorch framework for flexible estimation of complex discrete choice models, leveraging GPU acceleration.

discrete choice logit

Insurance & Actuarial

actuar Actuarial science functions for R including loss distributions, credibility theory, ruin theory, and simulation of compound models

Actuarial science functions for R including loss distributions, credibility theory, ruin theory, and simulation of compound models

actuarial loss-distributions credibility ruin-theory aggregate-claims
extRemes Comprehensive toolkit for extreme value analysis with diagnostic plots, return level estimation, and non-stationary models for climate-related risks

Comprehensive toolkit for extreme value analysis with diagnostic plots, return level estimation, and non-stationary models for climate-related risks

extreme-values return-levels climate-risk non-stationary catastrophe
OasisLMF Open-source catastrophe modeling platform used by major reinsurers, supporting custom hazard/vulnerability models with standardized data formats

Open-source catastrophe modeling platform used by major reinsurers, supporting custom hazard/vulnerability models with standardized data formats

catastrophe-modeling reinsurance exposure-management loss-modeling open-source
chainladder-python Python library for actuarial reserving implementing chain-ladder, Bornhuetter-Ferguson, Cape Cod, and stochastic methods for loss reserve estimation

Python library for actuarial reserving implementing chain-ladder, Bornhuetter-Ferguson, Cape Cod, and stochastic methods for loss reserve estimation

actuarial reserving chain-ladder loss-triangles P&C-insurance
flexsurv Flexible parametric survival models including spline-based hazards, multi-state models, and cure models for complex time-to-event data

Flexible parametric survival models including spline-based hazards, multi-state models, and cure models for complex time-to-event data

flexible-survival parametric-models splines multi-state cure-models
lifelib Open-source actuarial library with complete life insurance projection models including term, whole life, universal life, and variable annuities

Open-source actuarial library with complete life insurance projection models including term, whole life, universal life, and variable annuities

life-insurance actuarial-modeling cash-flow-projection reserving ALM
scikit-survival Machine learning for survival analysis compatible with scikit-learn, including gradient boosted models, random survival forests, and Cox neural networks

Machine learning for survival analysis compatible with scikit-learn, including gradient boosted models, random survival forests, and Cox neural networks

survival-analysis machine-learning scikit-learn random-forests gradient-boosting
survival Core R package for survival analysis with Cox regression, Kaplan-Meier estimation, and parametric survival models - the foundation for time-to-event analysis

Core R package for survival analysis with Cox regression, Kaplan-Meier estimation, and parametric survival models - the foundation for time-to-event analysis

survival-analysis Cox-regression Kaplan-Meier time-to-event hazard-models
survminer Visualization tools for survival analysis in R with publication-ready Kaplan-Meier plots, risk tables, and Cox model forest plots

Visualization tools for survival analysis in R with publication-ready Kaplan-Meier plots, risk tables, and Cox model forest plots

survival-visualization Kaplan-Meier-plots ggplot2 publication-ready risk-tables
ChainLadder Comprehensive R package for claims reserving methods including Mack, Munich, and bootstrap chain-ladder with full uncertainty quantification

Comprehensive R package for claims reserving methods including Mack, Munich, and bootstrap chain-ladder with full uncertainty quantification

actuarial reserving chain-ladder Mack-model bootstrap
Fairlearn Microsoft toolkit for assessing and improving ML model fairness, critical for insurance pricing compliance and avoiding discriminatory outcomes

Microsoft toolkit for assessing and improving ML model fairness, critical for insurance pricing compliance and avoiding discriminatory outcomes

fairness bias-mitigation regulatory-compliance discrimination model-auditing
SHAP Model-agnostic explainability using Shapley values for any ML model, essential for actuarial model interpretability and regulatory compliance

Model-agnostic explainability using Shapley values for any ML model, essential for actuarial model interpretability and regulatory compliance

explainability interpretability Shapley-values model-agnostic feature-importance
cplm Compound Poisson linear models for insurance claims with exact zero mass - handles the mixed discrete-continuous nature of claims data

Compound Poisson linear models for insurance claims with exact zero mass - handles the mixed discrete-continuous nature of claims data

Tweedie compound-Poisson claims-modeling zero-inflation GLM
evd Functions for extreme value distributions including GEV, GPD, and point process models essential for catastrophe modeling

Functions for extreme value distributions including GEV, GPD, and point process models essential for catastrophe modeling

extreme-values GEV GPD catastrophe-modeling tail-risk
lifecontingencies R package for life insurance mathematics including life tables, annuities, and insurance present value calculations following actuarial notation

R package for life insurance mathematics including life tables, annuities, and insurance present value calculations following actuarial notation

life-insurance actuarial annuities life-tables present-values
pyliferisk Python library for life actuarial calculations including commutation functions, life annuities, and insurance present values

Python library for life actuarial calculations including commutation functions, life annuities, and insurance present values

life-insurance actuarial annuities mortality commutation-functions

Bayesian Econometrics

Bambi High-level interface for building Bayesian GLMMs, built on top of PyMC. Uses formula syntax similar to R's `lme4`.

High-level interface for building Bayesian GLMMs, built on top of PyMC. Uses formula syntax similar to R's `lme4`.

Bayesian inference
LightweightMMM Bayesian Marketing Mix Modeling (see Marketing Mix Models section).

Bayesian Marketing Mix Modeling (see Marketing Mix Models section).

Bayesian inference
NumPyro Probabilistic programming library built on JAX for scalable Bayesian inference, often faster than PyMC.

Probabilistic programming library built on JAX for scalable Bayesian inference, often faster than PyMC.

Bayesian inference
PyMC Flexible probabilistic programming library for Bayesian modeling and inference using MCMC algorithms (NUTS).

Flexible probabilistic programming library for Bayesian modeling and inference using MCMC algorithms (NUTS).

Bayesian inference

Healthcare Economics & Health-Tech

BCEA Bayesian Cost-Effectiveness Analysis in R. Processes MCMC output from JAGS/Stan, generates CEACs, CEAFs, and expected value of information calculations.

Bayesian Cost-Effectiveness Analysis in R. Processes MCMC output from JAGS/Stan, generates CEACs, CEAFs, and expected value of information calculations.

Bayesian cost-effectiveness VOI R
MONAI Medical Open Network for AI - PyTorch-based framework for deep learning in healthcare imaging. Domain-specific transforms, pre-built architectures (UNet, SegResNet), and MONAI Label for annotation.

Medical Open Network for AI - PyTorch-based framework for deep learning in healthcare imaging. Domain-specific transforms, pre-built architectures (UNet, SegResNet), and MONAI Label for annotation.

medical imaging deep learning PyTorch segmentation
heemod Markov models for cost-effectiveness analysis in R. Define states, transitions, and costs/utilities with intuitive syntax. Includes DSA, PSA, and scenario analysis.

Markov models for cost-effectiveness analysis in R. Define states, transitions, and costs/utilities with intuitive syntax. Includes DSA, PSA, and scenario analysis.

health economics Markov models cost-effectiveness R
mstate Multi-state models in R. Handles competing risks, illness-death models, and complex disease progressions. Estimation, prediction, and visualization.

Multi-state models in R. Handles competing risks, illness-death models, and complex disease progressions. Estimation, prediction, and visualization.

multi-state models competing risks survival R
fhirclient Official SMART on FHIR Python client. OAuth 2.0 authentication, resource CRUD operations, and search. Essential for building apps that connect to EHR systems.

Official SMART on FHIR Python client. OAuth 2.0 authentication, resource CRUD operations, and search. Essential for building apps that connect to EHR systems.

FHIR interoperability EHR API
hesim R package for health economic simulation modeling. Cohort discrete-time state transition models, partitioned survival analysis, and probabilistic sensitivity analysis with parallelization.

R package for health economic simulation modeling. Cohort discrete-time state transition models, partitioned survival analysis, and probabilistic sensitivity analysis with parallelization.

health economics simulation cost-effectiveness R
survHE Survival analysis for health economics in R. Fits multiple parametric distributions, extrapolates survival curves, and integrates with cost-effectiveness models.

Survival analysis for health economics in R. Fits multiple parametric distributions, extrapolates survival curves, and integrates with cost-effectiveness models.

survival analysis health economics extrapolation R

MarTech & Customer Analytics

BTYDplus Extended BTYD models for R including MBG/NBD, Pareto/GGG, and hierarchical Bayesian variants. Handles regular purchasing patterns and incorporates purchase timing.

Extended BTYD models for R including MBG/NBD, Pareto/GGG, and hierarchical Bayesian variants. Handles regular purchasing patterns and incorporates purchase timing.

CLV BTYD R hierarchical-Bayes
CLVTools R package for probabilistic CLV modeling. Implements Pareto/NBD and BG/NBD with time-varying covariates, spending models, and customer-level predictions.

R package for probabilistic CLV modeling. Implements Pareto/NBD and BG/NBD with time-varying covariates, spending models, and customer-level predictions.

CLV BTYD R customer-analytics
RecBole Comprehensive recommendation library with 100+ algorithms spanning general, sequential, context-aware, and knowledge-based approaches. Built on PyTorch with unified data loading and evaluation.

Comprehensive recommendation library with 100+ algorithms spanning general, sequential, context-aware, and knowledge-based approaches. Built on PyTorch with unified data loading and evaluation.

recommendations deep-learning sequential benchmark
lifetimes Industry-standard library for CLV modeling. Implements BG/NBD, Pareto/NBD for transaction prediction and Gamma-Gamma for monetary value modeling in non-contractual settings.

Industry-standard library for CLV modeling. Implements BG/NBD, Pareto/NBD for transaction prediction and Gamma-Gamma for monetary value modeling in non-contractual settings.

CLV BTYD customer-analytics RFM
recommenderlab R infrastructure for developing and evaluating recommender systems. Provides UBCF, IBCF, SVD, popular/random baselines with unified evaluation framework.

R infrastructure for developing and evaluating recommender systems. Provides UBCF, IBCF, SVD, popular/random baselines with unified evaluation framework.

recommendations R collaborative-filtering evaluation
Implicit GPU-accelerated library for collaborative filtering on implicit feedback data. Implements ALS, BPR, and logistic matrix factorization with CUDA support for scale.

GPU-accelerated library for collaborative filtering on implicit feedback data. Implements ALS, BPR, and logistic matrix factorization with CUDA support for scale.

recommendations implicit-feedback GPU ALS
LightFM Hybrid recommendation library that handles cold-start by incorporating content features. Uses factorization machines to learn embeddings for users, items, and their features simultaneously.

Hybrid recommendation library that handles cold-start by incorporating content features. Uses factorization machines to learn embeddings for users, items, and their features simultaneously.

recommendations hybrid cold-start factorization-machines

Bunching Estimation

bunching Implements Kleven-Waseem style bunching estimation for kink and notch designs. Calculates parametric elasticities from bunching at tax thresholds with publication-ready output.

Implements Kleven-Waseem style bunching estimation for kink and notch designs. Calculates parametric elasticities from bunching at tax thresholds with publication-ready output.

bunching kink-design notch-design tax-research elasticity

Optimization

Argmin Numerical optimization framework for Rust with Newton, BFGS, L-BFGS, trust region, and derivative-free methods for MLE/GMM.

Numerical optimization framework for Rust with Newton, BFGS, L-BFGS, trust region, and derivative-free methods for MLE/GMM.

rust optimization BFGS MLE GMM
gurobipy Python interface for Gurobi, the best-in-class commercial solver. LP, QP, MIP, and MIQP.

Python interface for Gurobi, the best-in-class commercial solver. LP, QP, MIP, and MIQP.

optimization solver MIP commercial
ortools Google's operations research toolkit. Constraint programming, routing, linear/integer programming, and scheduling.

Google's operations research toolkit. Constraint programming, routing, linear/integer programming, and scheduling.

OR routing scheduling constraint programming
cvxpy Domain-specific language for convex optimization problems. Write math as code — the standard for convex problems.

Domain-specific language for convex optimization problems. Write math as code — the standard for convex problems.

convex optimization linear programming quadratic programming
scipy.optimize Optimization algorithms built into SciPy. Minimization, root finding, curve fitting, and linear programming.

Optimization algorithms built into SciPy. Minimization, root finding, curve fitting, and linear programming.

optimization minimization root finding

Transportation Economics & Technology

Apollo Comprehensive R package for advanced choice modeling including mixed logit, latent class, hybrid choice, and integrated choice-latent variable models.

Comprehensive R package for advanced choice modeling including mixed logit, latent class, hybrid choice, and integrated choice-latent variable models.

discrete choice R mixed logit latent class
OSMnx Download, model, analyze, and visualize street networks and urban infrastructure from OpenStreetMap. Essential for transportation network analysis.

Download, model, analyze, and visualize street networks and urban infrastructure from OpenStreetMap. Essential for transportation network analysis.

networks OpenStreetMap urban GIS routing
SUMO Simulation of Urban Mobility - open source traffic simulation suite for modeling road networks, public transit, pedestrians, and multimodal scenarios.

Simulation of Urban Mobility - open source traffic simulation suite for modeling road networks, public transit, pedestrians, and multimodal scenarios.

simulation traffic microsimulation multimodal
mixl Fast maximum simulated likelihood estimation of mixed logit models in R. Optimized for speed with large datasets.

Fast maximum simulated likelihood estimation of mixed logit models in R. Optimized for speed with large datasets.

discrete choice R mixed logit performance
mlogit The standard R package for multinomial logit estimation. Clean formula interface, nested logit support, and integration with R's modeling ecosystem.

The standard R package for multinomial logit estimation. Clean formula interface, nested logit support, and integration with R's modeling ecosystem.

discrete choice R logit econometrics
OpenTripPlanner Open source multimodal trip planning engine. Combines GTFS transit, OpenStreetMap streets, and bike-share for routing and isochrone analysis.

Open source multimodal trip planning engine. Combines GTFS transit, OpenStreetMap streets, and bike-share for routing and isochrone analysis.

routing multimodal GTFS isochrones accessibility
gmnl R package for generalized multinomial logit models including G-MNL, LC-MNL, and MM-MNL for flexible preference heterogeneity.

R package for generalized multinomial logit models including G-MNL, LC-MNL, and MM-MNL for flexible preference heterogeneity.

discrete choice R heterogeneity mixed logit
gtfs-kit Analyze General Transit Feed Specification (GTFS) data. Compute route statistics, service frequencies, and visualize transit networks.

Analyze General Transit Feed Specification (GTFS) data. Compute route statistics, service frequencies, and visualize transit networks.

GTFS transit public transportation scheduling
tidytransit Read and analyze GTFS transit feeds in the tidyverse style. Integrates with sf for spatial analysis and dplyr for data manipulation.

Read and analyze GTFS transit feeds in the tidyverse style. Integrates with sf for spatial analysis and dplyr for data manipulation.

GTFS transit R tidyverse spatial
xlogit GPU-accelerated estimation of mixed logit models using CuPy/NumPy. Orders of magnitude faster than traditional packages for large datasets.

GPU-accelerated estimation of mixed logit models using CuPy/NumPy. Orders of magnitude faster than traditional packages for large datasets.

discrete choice mixed logit GPU machine learning

Simulation & Computational Economics

ABCE Agent-Based Computational Economics library from Oxford INET. Automatically handles trade with physically consistent goods, includes built-in Firm/Household archetypes.

Agent-Based Computational Economics library from Oxford INET. Automatically handles trade with physically consistent goods, includes built-in Firm/Household archetypes.

agent-based-modeling economics trade macroeconomics Oxford-INET
ABIDES JPMorgan's agent-based interactive discrete event simulation for market microstructure research. NASDAQ-like exchange with multiple agent types.

JPMorgan's agent-based interactive discrete event simulation for market microstructure research. NASDAQ-like exchange with multiple agent types.

market-simulation order-book agent-based microstructure JPMorgan
AI Economist Salesforce's two-level RL environment for tax policy design. Published in Science Advances 2022. Includes COVID-19 economic simulation.

Salesforce's two-level RL environment for tax policy design. Published in Science Advances 2022. Includes COVID-19 economic simulation.

economic-simulation tax-policy multi-agent mechanism-design Salesforce
AuctionGym Amazon's ad auction simulator for first/second-price auctions with RL bidding agents. Best Paper at AdKDD 2022.

Amazon's ad auction simulator for first/second-price auctions with RL bidding agents. Best Paper at AdKDD 2022.

auction-simulation mechanism-design advertising bidding Amazon
Gymnasium Farama Foundation's successor to OpenAI Gym. Standard single-agent reinforcement learning API for environment development and benchmarking.

Farama Foundation's successor to OpenAI Gym. Standard single-agent reinforcement learning API for environment development and benchmarking.

reinforcement-learning environments RL OpenAI-Gym benchmarking
MO-Gymnasium Multi-objective reinforcement learning environments for Pareto-optimal policy learning with conflicting objectives.

Multi-objective reinforcement learning environments for Pareto-optimal policy learning with conflicting objectives.

multi-objective reinforcement-learning Pareto trade-offs
Mesa Leading open-source Python framework for agent-based modeling with spatial grids, agent schedulers, and Solara visualization. Mesa 3 (2025) requires Python 3.12+.

Leading open-source Python framework for agent-based modeling with spatial grids, agent schedulers, and Solara visualization. Mesa 3 (2025) requires Python 3.12+.

agent-based-modeling simulation ABM multi-agent complexity
OR-Gym Operations research environments for RL including knapsack, bin packing, supply chain, newsvendor, and portfolio optimization.

Operations research environments for RL including knapsack, bin packing, supply chain, newsvendor, and portfolio optimization.

operations-research inventory supply-chain optimization newsvendor
PettingZoo Multi-agent version of Gymnasium with Agent-Environment-Cycle (AEC) model. Includes card games, MPE, and cooperative environments. NeurIPS 2021.

Multi-agent version of Gymnasium with Agent-Environment-Cycle (AEC) model. Includes card games, MPE, and cooperative environments. NeurIPS 2021.

multi-agent-RL environments games cooperative competitive
RLlib Industry-grade scalable reinforcement learning library from Ray. Native multi-agent support for distributed training at scale.

Industry-grade scalable reinforcement learning library from Ray. Native multi-agent support for distributed training at scale.

reinforcement-learning distributed multi-agent scalable Ray
Stable-Baselines3 Reliable PyTorch implementations of A2C, DDPG, DQN, PPO, SAC, TD3 RL algorithms. Published in JMLR 2021.

Reliable PyTorch implementations of A2C, DDPG, DQN, PPO, SAC, TD3 RL algorithms. Published in JMLR 2021.

reinforcement-learning PyTorch PPO DQN SAC algorithms
SuperSuit Wrapper library for PettingZoo preprocessing including frame stacking, normalization, and action masking.

Wrapper library for PettingZoo preprocessing including frame stacking, normalization, and action masking.

multi-agent-RL preprocessing wrappers PettingZoo
mbt_gym Model-based trading environments for market-making and optimal execution RL. Implements Avellaneda-Stoikov and Cartea-Jaimungal models.

Model-based trading environments for market-making and optimal execution RL. Implements Avellaneda-Stoikov and Cartea-Jaimungal models.

market-making trading high-frequency optimal-execution reinforcement-learning
nlrx rOpenSci package for NetLogo simulation via XML with BehaviorSpace support. Enables systematic NetLogo experiments from R.

rOpenSci package for NetLogo simulation via XML with BehaviorSpace support. Enables systematic NetLogo experiments from R.

NetLogo agent-based-modeling R experiment-design rOpenSci
pyNetLogo Python-NetLogo interface enabling SALib sensitivity analysis integration and parallel NetLogo simulations. Published in JASSS (2018).

Python-NetLogo interface enabling SALib sensitivity analysis integration and parallel NetLogo simulations. Published in JASSS (2018).

NetLogo agent-based-modeling sensitivity-analysis simulation
AgentPy Modern Python framework for agent-based modeling integrating model design with SALib sensitivity analysis and NetworkX network structures.

Modern Python framework for agent-based modeling integrating model design with SALib sensitivity analysis and NetworkX network structures.

agent-based-modeling simulation sensitivity-analysis networks
AnyLogic Multi-method simulation platform supporting discrete-event, agent-based, and system dynamics modeling. Free Personal Learning Edition available.

Multi-method simulation platform supporting discrete-event, agent-based, and system dynamics modeling. Free Personal Learning Edition available.

simulation multi-method agent-based system-dynamics commercial
Arena Simulation Industry-leading discrete-event simulation software from Rockwell Automation. Used by majority of Fortune 100 companies for process optimization.

Industry-leading discrete-event simulation software from Rockwell Automation. Used by majority of Fortune 100 companies for process optimization.

simulation discrete-event commercial enterprise manufacturing
Ciw Discrete-event simulation library specializing in open queueing networks. Supports multiple customer classes, blocking, baulking, reneging, and priority classes.

Discrete-event simulation library specializing in open queueing networks. Supports multiple customer classes, blocking, baulking, reneging, and priority classes.

simulation queueing networks blocking reneging
CleanRL Single-file RL algorithm implementations (~340 lines each) for educational purposes and research. Published in JMLR 2022.

Single-file RL algorithm implementations (~340 lines each) for educational purposes and research. Published in JMLR 2022.

reinforcement-learning educational single-file reproducible
FinRL First open-source deep reinforcement learning framework for quantitative finance. Train-test-trade pipeline for NASDAQ, DJIA, S&P 500.

First open-source deep reinforcement learning framework for quantitative finance. Train-test-trade pipeline for NASDAQ, DJIA, S&P 500.

finance trading reinforcement-learning quantitative portfolio
NetLogoR Pure R implementation of NetLogo framework—no NetLogo installation required. Benefits from ggplot2 integration and R spatial objects.

Pure R implementation of NetLogo framework—no NetLogo installation required. Benefits from ggplot2 integration and R spatial objects.

NetLogo agent-based-modeling R spatial-modeling
RNetLogo Embeds NetLogo into R for statistical analysis integration. Enables running NetLogo models and analyzing results in R environment.

Embeds NetLogo into R for statistical analysis integration. Enables running NetLogo models and analyzing results in R environment.

NetLogo agent-based-modeling R integration
SimPy Process-based discrete-event simulation framework using Python generators. The standard for DES in Python with MIT license, requiring Python 3.8+.

Process-based discrete-event simulation framework using Python generators. The standard for DES in Python with MIT license, requiring Python 3.8+.

simulation discrete-event queueing process-based DES
Simio Object-oriented discrete-event simulation with Process Digital Twin capabilities. Academic program offers free licenses for teaching.

Object-oriented discrete-event simulation with Process Digital Twin capabilities. Academic program offers free licenses for teaching.

simulation discrete-event digital-twin commercial 3D
TorchRL Official PyTorch reinforcement learning library with TensorDict abstraction for modular RL development.

Official PyTorch reinforcement learning library with TensorDict abstraction for modular RL development.

reinforcement-learning PyTorch modular TensorDict
queueing Analytical solver for Markovian queueing models and product-form queueing networks in R. Computes steady-state probabilities and performance metrics.

Analytical solver for Markovian queueing models and product-form queueing networks in R. Computes steady-state probabilities and performance metrics.

queueing Markov analytical steady-state M/M/c
simmer Process-oriented discrete-event simulation for R with C++ core via Rcpp. Supports magrittr pipe workflow for building simulation models fluently.

Process-oriented discrete-event simulation for R with C++ core via Rcpp. Supports magrittr pipe workflow for building simulation models fluently.

simulation discrete-event queueing Rcpp process-oriented

Numerical Optimization & Computational Tools

jaxonometrics JAX-ecosystem implementations of standard econometrics routines for GPU computation.

JAX-ecosystem implementations of standard econometrics routines for GPU computation.

optimization JAX GPU
torchonometrics Econometrics implementations in PyTorch. Leverages autodiff and GPU acceleration for econometric methods.

Econometrics implementations in PyTorch. Leverages autodiff and GPU acceleration for econometric methods.

optimization computation PyTorch
Faer State-of-the-art linear algebra for Rust with Cholesky, QR, SVD decompositions and multithreaded solvers for large systems.

State-of-the-art linear algebra for Rust with Cholesky, QR, SVD decompositions and multithreaded solvers for large systems.

rust linear algebra matrix performance
JAX High-performance numerical computing with autograd and XLA compilation on CPU/GPU/TPU.

High-performance numerical computing with autograd and XLA compilation on CPU/GPU/TPU.

optimization computation
Nalgebra General-purpose linear algebra library for Rust with dense and sparse matrices, widely used in graphics and physics.

General-purpose linear algebra library for Rust with dense and sparse matrices, widely used in graphics and physics.

rust linear algebra matrix sparse
Ndarray N-dimensional array library for Rust—the NumPy equivalent with slicing, broadcasting, and BLAS/LAPACK integration.

N-dimensional array library for Rust—the NumPy equivalent with slicing, broadcasting, and BLAS/LAPACK integration.

rust arrays numpy scientific computing
PyTorch Popular deep learning framework with flexible automatic differentiation.

Popular deep learning framework with flexible automatic differentiation.

optimization computation machine learning

Experimental Design

randomizr Proper randomization procedures for experiments with known assignment probabilities. Implements simple, complete, block, and cluster randomization with exact probability calculations for IPW estimation.

Proper randomization procedures for experiments with known assignment probabilities. Implements simple, complete, block, and cluster randomization with exact probability calculations for IPW estimation.

randomization block-randomization cluster-randomization assignment-probability experiments
DeclareDesign Ex ante experimental design declaration and diagnosis. Enables researchers to formally describe their research design, diagnose statistical properties via simulation, and improve designs before data collection.

Ex ante experimental design declaration and diagnosis. Enables researchers to formally describe their research design, diagnose statistical properties via simulation, and improve designs before data collection.

experimental-design pre-registration power-analysis simulation design-diagnosis
contextual Multi-armed bandit algorithms including Thompson Sampling, UCB, and LinUCB. Directly applicable to adaptive A/B testing and recommendation optimization with simulation and evaluation tools.

Multi-armed bandit algorithms including Thompson Sampling, UCB, and LinUCB. Directly applicable to adaptive A/B testing and recommendation optimization with simulation and evaluation tools.

bandits Thompson-sampling UCB adaptive-experiments A/B-testing
fabricatr Simulates realistic social science data for power analysis and design testing. Creates hierarchical data structures with correlated variables matching real-world patterns.

Simulates realistic social science data for power analysis and design testing. Creates hierarchical data structures with correlated variables matching real-world patterns.

data-simulation power-analysis hierarchical-data synthetic-data design-testing

Energy & Utilities Economics

eiapy Python wrapper for the EIA Open Data API. Access generation, consumption, prices, and other energy data programmatically.

Python wrapper for the EIA Open Data API. Access generation, consumption, prices, and other energy data programmatically.

EIA API energy data
HiGHS State-of-the-art open-source LP/MIP solver. Now the default solver in PyPSA, JuMP, and SciPy. Competitive with commercial solvers on many problem types.

State-of-the-art open-source LP/MIP solver. Now the default solver in PyPSA, JuMP, and SciPy. Competitive with commercial solvers on many problem types.

solver optimization LP MIP
OpenDSS EPRI's open-source distribution system simulator. Quasi-static time-series analysis, DER integration, and comprehensive distribution modeling. Industry standard.

EPRI's open-source distribution system simulator. Quasi-static time-series analysis, DER integration, and comprehensive distribution modeling. Industry standard.

distribution simulation DER EPRI
Pyomo General-purpose algebraic optimization modeling in Python. Supports LP, MILP, NLP, and stochastic programming with interfaces to major solvers including HiGHS, Gurobi, and CPLEX.

General-purpose algebraic optimization modeling in Python. Supports LP, MILP, NLP, and stochastic programming with interfaces to major solvers including HiGHS, Gurobi, and CPLEX.

optimization mathematical programming modeling
GenX Capacity expansion model from MIT/Princeton in Julia. Highly configurable with unit commitment, long-duration storage, and transmission expansion. Used for Net-Zero America.

Capacity expansion model from MIT/Princeton in Julia. Highly configurable with unit commitment, long-duration storage, and transmission expansion. Used for Net-Zero America.

capacity expansion Julia decarbonization
PowerModels.jl Power network optimization in Julia. Supports AC/DC optimal power flow, transmission expansion, and custom formulations with strong mathematical rigor.

Power network optimization in Julia. Supports AC/DC optimal power flow, transmission expansion, and custom formulations with strong mathematical rigor.

power flow Julia OPF optimization
PyPSA Python for Power System Analysis - the workhorse for large-scale power system optimization. Static power flow, linear OPF, capacity expansion, unit commitment, and storage modeling.

Python for Power System Analysis - the workhorse for large-scale power system optimization. Static power flow, linear OPF, capacity expansion, unit commitment, and storage modeling.

power systems optimization capacity expansion
catalystcoop-pudl Public Utility Data Liberation - cleaned, integrated U.S. energy data. Combines EIA, FERC, and EPA data into analysis-ready formats with comprehensive documentation.

Public Utility Data Liberation - cleaned, integrated U.S. energy data. Combines EIA, FERC, and EPA data into analysis-ready formats with comprehensive documentation.

data integration EIA FERC EPA open source
pandapower Power system analysis for distribution networks. Newton-Raphson power flow, state estimation, short circuit calculations, and network visualization.

Power system analysis for distribution networks. Newton-Raphson power flow, state estimation, short circuit calculations, and network visualization.

power flow distribution networks

Data Access

gridstatus Unified Python interface for U.S. electricity grid data from all major ISOs

Unified Python interface for U.S. electricity grid data from all major ISOs

ISO electricity markets real-time data unified API

Geo-Experiments & Lift Measurement

matched_markets Google's time-based regression with greedy search for optimal geo experiment groups.

Google's time-based regression with greedy search for optimal geo experiment groups.

geo-experiments market matching incrementality
trimmed_match Google's robust analysis for paired geo experiments using trimmed statistics. Handles outliers in geo-level data.

Google's robust analysis for paired geo experiments using trimmed statistics. Handles outliers in geo-level data.

geo-experiments robust statistics incrementality

Causal Discovery & Graphical Models

Benchpress Benchmarking 41+ structure learning algorithms for causal discovery. Standardized evaluation framework.

Benchmarking 41+ structure learning algorithms for causal discovery. Standardized evaluation framework.

causal discovery benchmarking structure learning
MCD Mixture of Causal Graphs discovery for heterogeneous time series (ICML 2024). Finds time-varying causal structures.

Mixture of Causal Graphs discovery for heterogeneous time series (ICML 2024). Finds time-varying causal structures.

causal discovery time series heterogeneous
SDCI State-dependent causal inference for conditionally stationary processes (ICML 2025). Handles regime-switching causal graphs.

State-dependent causal inference for conditionally stationary processes (ICML 2025). Handles regime-switching causal graphs.

causal discovery time series regime switching
bnlearn Bayesian network structure learning, parameter estimation, and inference. Implements constraint-based (PC, GS), score-based (HC, TABU), and hybrid algorithms for DAG learning with discrete and continuous data.

Bayesian network structure learning, parameter estimation, and inference. Implements constraint-based (PC, GS), score-based (HC, TABU), and hybrid algorithms for DAG learning with discrete and continuous data.

Bayesian-networks structure-learning parameter-estimation probabilistic-graphical-models inference
causal-llm-bfs LLM + BFS hybrid for efficient causal graph discovery. Uses language models to guide structure search.

LLM + BFS hybrid for efficient causal graph discovery. Uses language models to guide structure search.

causal discovery LLM graphs
dagitty Analysis of structural causal models represented as DAGs. Computes adjustment sets, identifies instrumental variables, tests conditional independencies, and finds minimal sufficient adjustment sets for causal identification.

Analysis of structural causal models represented as DAGs. Computes adjustment sets, identifies instrumental variables, tests conditional independencies, and finds minimal sufficient adjustment sets for causal identification.

DAG causal-graphs adjustment-sets d-separation instrumental-variables
ggdag Visualize and analyze causal DAGs using ggplot2. Provides tidy interface to dagitty with publication-quality DAG plots, path highlighting, and adjustment set visualization.

Visualize and analyze causal DAGs using ggplot2. Provides tidy interface to dagitty with publication-quality DAG plots, path highlighting, and adjustment set visualization.

DAG visualization ggplot2 causal-diagrams adjustment-sets
pcalg Causal structure learning from observational data using the PC algorithm and variants. Estimates Markov equivalence class of DAGs from conditional independence tests with intervention support.

Causal structure learning from observational data using the PC algorithm and variants. Estimates Markov equivalence class of DAGs from conditional independence tests with intervention support.

causal-discovery PC-algorithm structure-learning DAG conditional-independence
Ananke Causal inference using graphical models (DAGs), including identification theory and effect estimation.

Causal inference using graphical models (DAGs), including identification theory and effect estimation.

causal inference graphs
Causal Discovery Toolbox (CDT) Implements algorithms for causal discovery (recovering causal graph structure) from observational data.

Implements algorithms for causal discovery (recovering causal graph structure) from observational data.

causal inference graphs
CausalNex Uses Bayesian Networks for causal reasoning, combining ML with expert knowledge to model relationships.

Uses Bayesian Networks for causal reasoning, combining ML with expert knowledge to model relationships.

causal inference graphs Bayesian
LiNGAM Specialized package for learning non-Gaussian linear causal models, implementing various versions of the LiNGAM algorithm including ICA-based methods.

Specialized package for learning non-Gaussian linear causal models, implementing various versions of the LiNGAM algorithm including ICA-based methods.

causal inference graphs
Tigramite Specialized package for causal inference in time series data implementing PCMCI, PCMCIplus, LPCMCI algorithms with conditional independence tests.

Specialized package for causal inference in time series data implementing PCMCI, PCMCIplus, LPCMCI algorithms with conditional independence tests.

causal inference graphs
causal-learn Comprehensive Python package serving as Python translation and extension of Java-based Tetrad toolkit for causal discovery algorithms.

Comprehensive Python package serving as Python translation and extension of Java-based Tetrad toolkit for causal discovery algorithms.

causal inference graphs
gCastle Huawei Noah's Ark Lab end-to-end causal structure learning toolchain emphasizing gradient-based methods with GPU acceleration (NOTEARS, GOLEM).

Huawei Noah's Ark Lab end-to-end causal structure learning toolchain emphasizing gradient-based methods with GPU acceleration (NOTEARS, GOLEM).

causal inference graphs
py-tetrad Python interface to Tetrad Java library using JPype, providing direct access to Tetrad's causal discovery algorithms with efficient data translation.

Python interface to Tetrad Java library using JPype, providing direct access to Tetrad's causal discovery algorithms with efficient data translation.

causal inference graphs

Agentic AI

anthropic Official Python SDK for Claude and Anthropic's API. Build AI applications with Claude models.

Official Python SDK for Claude and Anthropic's API. Build AI applications with Claude models.

LLM Claude API Anthropic
openai Official Python SDK for OpenAI's API. Access GPT-4, o1, DALL-E, embeddings, and other OpenAI models.

Official Python SDK for OpenAI's API. Access GPT-4, o1, DALL-E, embeddings, and other OpenAI models.

LLM GPT API OpenAI embeddings
langchain Framework for developing LLM-powered applications. Chains, tools, memory, and retrieval.

Framework for developing LLM-powered applications. Chains, tools, memory, and retrieval.

LLM chains tools RAG
EDSL Expected Parrot Domain-Specific Language for designing and running LLM-powered surveys and experiments. Create AI agent personas with demographic traits for homo silicus research.

Expected Parrot Domain-Specific Language for designing and running LLM-powered surveys and experiments. Create AI agent personas with demographic traits for homo silicus research.

LLM surveys experiments homo-silicus synthetic-agents
crewai Framework for orchestrating role-playing autonomous AI agents. Multi-agent collaboration made intuitive.

Framework for orchestrating role-playing autonomous AI agents. Multi-agent collaboration made intuitive.

agents multi-agent orchestration roles
langgraph Framework for building stateful, multi-actor LLM applications. Graph-based agent workflows with persistence.

Framework for building stateful, multi-actor LLM applications. Graph-based agent workflows with persistence.

agents LLM workflows multi-agent
openai-agents OpenAI's lightweight, production-ready SDK for building agentic AI applications. Fast prototyping.

OpenAI's lightweight, production-ready SDK for building agentic AI applications. Fast prototyping.

agents OpenAI tools lightweight

Natural Language Processing for Economics

CausalNLP Causal inference for text data. Estimate treatment effects from unstructured text using NLP.

Causal inference for text data. Estimate treatment effects from unstructured text using NLP.

NLP causal inference text
sentence-transformers Framework for state-of-the-art sentence, text and image embeddings. Powers semantic search and similarity applications.

Framework for state-of-the-art sentence, text and image embeddings. Powers semantic search and similarity applications.

embeddings semantic-search NLP transformers
Gensim Library focused on topic modeling (LDA, LSI) and document similarity analysis.

Library focused on topic modeling (LDA, LSI) and document similarity analysis.

NLP text analysis
NLTK Natural Language Toolkit - comprehensive library for NLP research and education with 50+ corpora and lexical resources.

Natural Language Toolkit - comprehensive library for NLP research and education with 50+ corpora and lexical resources.

NLP text-analysis corpora tokenization
Transformers Access to thousands of pre-trained models for NLP tasks like text classification, summarization, embeddings, etc.

Access to thousands of pre-trained models for NLP tasks like text classification, summarization, embeddings, etc.

NLP text analysis
spaCy Industrial-strength NLP library for efficient text processing pipelines (NER, POS tagging, etc.).

Industrial-strength NLP library for efficient text processing pipelines (NER, POS tagging, etc.).

NLP text analysis

Meta-Analysis & Systematic Review

meta General package for meta-analysis providing fixed and random effects models, subgroup analysis, meta-regression, and publication bias tests. User-friendly interface for common meta-analytic tasks.

General package for meta-analysis providing fixed and random effects models, subgroup analysis, meta-regression, and publication bias tests. User-friendly interface for common meta-analytic tasks.

meta-analysis random-effects publication-bias subgroup-analysis
litsearchr Automated search term identification for systematic reviews via keyword co-occurrence networks. Helps build comprehensive search strategies by identifying relevant terms from seed articles.

Automated search term identification for systematic reviews via keyword co-occurrence networks. Helps build comprehensive search strategies by identifying relevant terms from seed articles.

systematic-review search-strategy keyword-extraction co-occurrence-network
metafor The gold standard for meta-analysis in R. Fixed/random/mixed-effects models, multivariate meta-analysis, network meta-analysis, forest/funnel/GOSH plots. Comprehensive and well-documented.

The gold standard for meta-analysis in R. Fixed/random/mixed-effects models, multivariate meta-analysis, network meta-analysis, forest/funnel/GOSH plots. Comprehensive and well-documented.

meta-analysis random-effects forest-plot funnel-plot network-meta-analysis
metagear Comprehensive systematic review toolkit with multi-reviewer assignment, figure extraction from PDFs, PRISMA diagram generation, and effect size calculation. Designed for research synthesis workflows.

Comprehensive systematic review toolkit with multi-reviewer assignment, figure extraction from PDFs, PRISMA diagram generation, and effect size calculation. Designed for research synthesis workflows.

systematic-review prisma figure-extraction effect-size research-synthesis
revtools Tools for evidence synthesis and systematic reviews. Duplicate detection, topic modeling for screening, title/abstract screening GUI, and import from multiple bibliography formats.

Tools for evidence synthesis and systematic reviews. Duplicate detection, topic modeling for screening, title/abstract screening GUI, and import from multiple bibliography formats.

systematic-review evidence-synthesis duplicate-detection screening topic-modeling

Causal Inference & Matching

KECENI Doubly robust, non-parametric estimation of node-wise counterfactual means under network interference (arXiv 2024).

Doubly robust, non-parametric estimation of node-wise counterfactual means under network interference (arXiv 2024).

networks spillovers causal inference
NetworkCausalTree Estimates both direct treatment effects and spillover effects under clustered network interference (Bargagli-Stoffi et al. 2025).

Estimates both direct treatment effects and spillover effects under clustered network interference (Bargagli-Stoffi et al. 2025).

causal inference networks spillovers
PySensemakr Implements Cinelli-Hazlett framework for assessing robustness to unobserved confounding. Computes confounder strength needed to invalidate results.

Implements Cinelli-Hazlett framework for assessing robustness to unobserved confounding. Computes confounder strength needed to invalidate results.

causal inference sensitivity analysis robustness
aipyw Minimal, fast AIPW (Augmented Inverse Probability Weighting) implementation for discrete treatments. Sklearn-compatible with cross-fitting.

Minimal, fast AIPW (Augmented Inverse Probability Weighting) implementation for discrete treatments. Sklearn-compatible with cross-fitting.

causal inference AIPW treatment effects
causal-curve Continuous treatment dose-response curve estimation. GPS and TMLE methods for continuous treatments.

Continuous treatment dose-response curve estimation. GPS and TMLE methods for continuous treatments.

dose-response continuous treatment GPS
mcf (Modified Causal Forest) Comprehensive Python implementation for heterogeneous treatment effect estimation. Handles binary/multiple discrete treatments with optimal policy learning via Policy Trees.

Comprehensive Python implementation for heterogeneous treatment effect estimation. Handles binary/multiple discrete treatments with optimal policy learning via Policy Trees.

causal inference treatment effects policy learning
pydtr Dynamic treatment regimes using Iterative Q-Learning. Scikit-learn compatible for multi-stage optimal treatment sequencing.

Dynamic treatment regimes using Iterative Q-Learning. Scikit-learn compatible for multi-stage optimal treatment sequencing.

dynamic treatment reinforcement learning causal inference
pyregadj Regression and ML adjustments to treatment effects in RCTs. Implements List et al. (2024) methods.

Regression and ML adjustments to treatment effects in RCTs. Implements List et al. (2024) methods.

RCT regression adjustment treatment effects
CATENets JAX-accelerated neural network CATE estimators implementing SNet, FlexTENet, TARNet, CFRNet, and DragonNet architectures.

JAX-accelerated neural network CATE estimators implementing SNet, FlexTENet, TARNet, CFRNet, and DragonNet architectures.

causal inference deep learning JAX
CausalInference Implements classical causal inference methods like propensity score matching, inverse probability weighting, stratification.

Implements classical causal inference methods like propensity score matching, inverse probability weighting, stratification.

causal inference matching
CausalLib IBM-developed package that provides a scikit-learn-inspired API for causal inference with meta-algorithms supporting arbitrary machine learning models.

IBM-developed package that provides a scikit-learn-inspired API for causal inference with meta-algorithms supporting arbitrary machine learning models.

causal inference matching
CausalML Focuses on uplift modeling and heterogeneous treatment effect estimation using machine learning techniques.

Focuses on uplift modeling and heterogeneous treatment effect estimation using machine learning techniques.

causal inference matching
CausalMatch Implements Propensity Score Matching (PSM) and Coarsened Exact Matching (CEM) with ML flexibility for propensity score estimation.

Implements Propensity Score Matching (PSM) and Coarsened Exact Matching (CEM) with ML flexibility for propensity score estimation.

causal inference matching
CausalPlayground Python library for causal research that addresses the scarcity of real-world datasets with known causal relations. Provides fine-grained control over structural causal models.

Python library for causal research that addresses the scarcity of real-world datasets with known causal relations. Provides fine-grained control over structural causal models.

causal inference matching
CausalPy Developed by PyMC Labs, focuses specifically on causal inference in quasi-experimental settings. Specializes in scenarios where randomization is impossible or expensive.

Developed by PyMC Labs, focuses specifically on causal inference in quasi-experimental settings. Specializes in scenarios where randomization is impossible or expensive.

causal inference matching
DoWhy End-to-end framework for causal inference based on causal graphs (DAGs) and potential outcomes. Covers identification, estimation, refutation.

End-to-end framework for causal inference based on causal graphs (DAGs) and potential outcomes. Covers identification, estimation, refutation.

causal inference matching
fastmatch Fast k-nearest-neighbor matching for large datasets using Facebook's FAISS library.

Fast k-nearest-neighbor matching for large datasets using Facebook's FAISS library.

causal inference matching
scikit-uplift Focuses on uplift modeling and estimating heterogeneous treatment effects using various ML-based methods.

Focuses on uplift modeling and estimating heterogeneous treatment effects using various ML-based methods.

causal inference matching
y0 Causal inference framework providing tools for causal graph manipulation and effect identification.

Causal inference framework providing tools for causal graph manipulation and effect identification.

causal inference graphs identification

Panel Data & Fixed Effects

FixedEffectModel Panel data modeling with IV tests (weak IV, over-identification, endogeneity) and 2-step GMM estimation.

Panel data modeling with IV tests (weak IV, over-identification, endogeneity) and 2-step GMM estimation.

panel data fixed effects IV
fixest Fast and comprehensive package for estimating econometric models with multiple high-dimensional fixed effects, including OLS, GLM, Poisson, and negative binomial models. Features native support for clustered standard errors (up to four-way), instrumental variables, and modern difference-in-differences estimators including Sun-Abraham for staggered treatments.

Fast and comprehensive package for estimating econometric models with multiple high-dimensional fixed effects, including OLS, GLM, Poisson, and negative binomial models. Features native support for clustered standard errors (up to four-way), instrumental variables, and modern difference-in-differences estimators including Sun-Abraham for staggered treatments.

fixed-effects panel-data clustered-standard-errors difference-in-differences instrumental-variables
panelhetero Heterogeneity analysis across units in panel data. Detects and characterizes unit-level variation.

Heterogeneity analysis across units in panel data. Detects and characterizes unit-level variation.

panel data heterogeneity unit effects
panelr Automates within-between (hybrid) model specification for panel/longitudinal data, combining fixed effects robustness to time-invariant confounding with random effects ability to estimate time-invariant coefficients. Uses lme4 for multilevel estimation with optional Bayesian (brms) and GEE (geepack) backends.

Automates within-between (hybrid) model specification for panel/longitudinal data, combining fixed effects robustness to time-invariant confounding with random effects ability to estimate time-invariant coefficients. Uses lme4 for multilevel estimation with optional Bayesian (brms) and GEE (geepack) backends.

hybrid-models within-between panel-data longitudinal-analysis bell-jones
FixedEffectModelPyHDFE Solves linear models with high-dimensional fixed effects, supporting robust variance calculation and IV.

Solves linear models with high-dimensional fixed effects, supporting robust variance calculation and IV.

panel data fixed effects
Linearmodels Estimation of fixed, random, pooled OLS models for panel data. Also Fama-MacBeth and between/first-difference estimators.

Estimation of fixed, random, pooled OLS models for panel data. Also Fama-MacBeth and between/first-difference estimators.

panel data fixed effects
PyFixest Fast estimation of linear models with multiple high-dimensional fixed effects (like R's `fixest`). Supports OLS, IV, Poisson, robust/cluster SEs.

Fast estimation of linear models with multiple high-dimensional fixed effects (like R's `fixest`). Supports OLS, IV, Poisson, robust/cluster SEs.

panel data fixed effects
alpaca Fits generalized linear models (Poisson, negative binomial, logit, probit, Gamma) with high-dimensional k-way fixed effects. Partials out factors during log-likelihood optimization and provides robust/multi-way clustered standard errors, fixed effects recovery, and analytical bias corrections for binary choice models.

Fits generalized linear models (Poisson, negative binomial, logit, probit, Gamma) with high-dimensional k-way fixed effects. Partials out factors during log-likelihood optimization and provides robust/multi-way clustered standard errors, fixed effects recovery, and analytical bias corrections for binary choice models.

glm fixed-effects poisson-regression negative-binomial gravity-models
bife Estimates fixed effects binary choice models (logit and probit) with potentially many individual fixed effects using a pseudo-demeaning algorithm. Addresses the incidental parameters problem through analytical bias correction based on Fernández-Val (2009) and computes average partial effects.

Estimates fixed effects binary choice models (logit and probit) with potentially many individual fixed effects using a pseudo-demeaning algorithm. Addresses the incidental parameters problem through analytical bias correction based on Fernández-Val (2009) and computes average partial effects.

binary-choice fixed-effects logit-probit bias-correction panel-data
duckreg Out-of-core regression (OLS/IV) for very large datasets using DuckDB aggregation. Handles data that doesn't fit in memory.

Out-of-core regression (OLS/IV) for very large datasets using DuckDB aggregation. Handles data that doesn't fit in memory.

panel data fixed effects
lfe Efficiently estimates linear models with multiple high-dimensional fixed effects using the Method of Alternating Projections. Designed for datasets with factors having thousands of levels (hundreds of thousands of dummy variables), with full support for 2SLS instrumental variables and multi-way clustered standard errors.

Efficiently estimates linear models with multiple high-dimensional fixed effects using the Method of Alternating Projections. Designed for datasets with factors having thousands of levels (hundreds of thousands of dummy variables), with full support for 2SLS instrumental variables and multi-way clustered standard errors.

high-dimensional-fe worker-firm memory-efficient instrumental-variables clustered-se
plm Comprehensive econometrics package for linear panel models providing fixed effects (within), random effects, between, first-difference, Hausman-Taylor, and nested random effects estimators. Includes GMM, FGLS, and extensive diagnostic tests for serial correlation, cross-sectional dependence, and panel unit roots.

Comprehensive econometrics package for linear panel models providing fixed effects (within), random effects, between, first-difference, Hausman-Taylor, and nested random effects estimators. Includes GMM, FGLS, and extensive diagnostic tests for serial correlation, cross-sectional dependence, and panel unit roots.

panel-data econometrics fixed-effects random-effects hausman-test
pydynpd Estimation of dynamic panel data models using Arellano-Bond (Difference GMM) and Blundell-Bond (System GMM). Includes Windmeijer correction & tests.

Estimation of dynamic panel data models using Arellano-Bond (Difference GMM) and Blundell-Bond (System GMM). Includes Windmeijer correction & tests.

panel data fixed effects

Causal Inference (Matching)

CBPS Implements Covariate Balancing Propensity Score, which estimates propensity scores by jointly optimizing treatment prediction and covariate balance via generalized method of moments (GMM). Supports binary, multi-valued, and continuous treatments, as well as longitudinal settings for marginal structural models.

Implements Covariate Balancing Propensity Score, which estimates propensity scores by jointly optimizing treatment prediction and covariate balance via generalized method of moments (GMM). Supports binary, multi-valued, and continuous treatments, as well as longitudinal settings for marginal structural models.

propensity-score covariate-balance GMM weighting treatment-effects
MatchIt Comprehensive matching package that selects matched samples of treated and control groups with similar covariate distributions. Provides a unified interface to multiple matching methods including nearest neighbor, optimal pair, optimal full, genetic, exact, coarsened exact (CEM), cardinality matching, and subclassification with propensity score estimation via GLM, GAM, random forest, and BART.

Comprehensive matching package that selects matched samples of treated and control groups with similar covariate distributions. Provides a unified interface to multiple matching methods including nearest neighbor, optimal pair, optimal full, genetic, exact, coarsened exact (CEM), cardinality matching, and subclassification with propensity score estimation via GLM, GAM, random forest, and BART.

propensity-score-matching causal-inference observational-studies covariate-balance treatment-effects
cobalt Generates standardized balance tables and plots for covariates after preprocessing via matching, weighting, or subclassification. Provides unified balance assessment across multiple R packages (MatchIt, WeightIt, twang, Matching, optmatch, CBPS, ebal, cem, sbw, designmatch). Supports multi-category, continuous, and longitudinal treatments with clustered and multiply imputed data.

Generates standardized balance tables and plots for covariates after preprocessing via matching, weighting, or subclassification. Provides unified balance assessment across multiple R packages (MatchIt, WeightIt, twang, Matching, optmatch, CBPS, ebal, cem, sbw, designmatch). Supports multi-category, continuous, and longitudinal treatments with clustered and multiply imputed data.

covariate-balance balance-diagnostics love-plot standardized-mean-difference balance-tables
ebal Implements entropy balancing, a reweighting method that finds weights for control units such that specified covariate moment conditions (means, variances) are exactly satisfied while staying as close as possible to uniform weights by minimizing Kullback-Leibler divergence. Primarily designed for ATT estimation.

Implements entropy balancing, a reweighting method that finds weights for control units such that specified covariate moment conditions (means, variances) are exactly satisfied while staying as close as possible to uniform weights by minimizing Kullback-Leibler divergence. Primarily designed for ATT estimation.

entropy-balancing reweighting covariate-balance observational-studies ATT
optmatch Distance-based bipartite matching using minimum cost network flow algorithms, oriented to matching treatment and control groups in observational studies. Provides optimal full matching and pair matching with support for propensity score distances, Mahalanobis distance, calipers, and exact matching constraints.

Distance-based bipartite matching using minimum cost network flow algorithms, oriented to matching treatment and control groups in observational studies. Provides optimal full matching and pair matching with support for propensity score distances, Mahalanobis distance, calipers, and exact matching constraints.

optimal-matching propensity-score network-flow observational-studies full-matching
WeightIt Unified interface for generating balancing weights for causal effect estimation in observational studies. Supports binary, multi-category, and continuous treatments for point and longitudinal/marginal structural models. Methods include inverse probability weighting (IPW), entropy balancing, covariate balancing propensity score (CBPS), energy balancing, stable balancing weights, BART, and SuperLearner.

Unified interface for generating balancing weights for causal effect estimation in observational studies. Supports binary, multi-category, and continuous treatments for point and longitudinal/marginal structural models. Methods include inverse probability weighting (IPW), entropy balancing, covariate balancing propensity score (CBPS), energy balancing, stable balancing weights, BART, and SuperLearner.

propensity-score-weighting inverse-probability-weighting entropy-balancing CBPS marginal-structural-models

Causal Inference (RDD)

rdpower Provides tools for power, sample size, and minimum detectable effects (MDE) calculations in RD designs using robust bias-corrected local polynomial inference: rdpower() calculates power, rdsampsi() calculates required sample size for desired power, and rdmde() computes minimum detectable effects.

Provides tools for power, sample size, and minimum detectable effects (MDE) calculations in RD designs using robust bias-corrected local polynomial inference: rdpower() calculates power, rdsampsi() calculates required sample size for desired power, and rdmde() computes minimum detectable effects.

power-analysis sample-size MDE study-design ex-ante-analysis
rddensity Implements manipulation testing (density discontinuity testing) procedures using local polynomial density estimators to detect perfect self-selection around a cutoff. Provides rddensity() for hypothesis testing, rdbwdensity() for bandwidth selection, and rdplotdensity() for density plots with confidence bands.

Implements manipulation testing (density discontinuity testing) procedures using local polynomial density estimators to detect perfect self-selection around a cutoff. Provides rddensity() for hypothesis testing, rdbwdensity() for bandwidth selection, and rdplotdensity() for density plots with confidence bands.

manipulation-testing density-discontinuity McCrary-test falsification sorting
rddtools Regression discontinuity design toolkit with clustered inference for geographic discontinuities. Provides bandwidth selection, specification tests, and visualization tools.

Regression discontinuity design toolkit with clustered inference for geographic discontinuities. Provides bandwidth selection, specification tests, and visualization tools.

RDD clustered-inference bandwidth-selection geographic-discontinuity visualization
rdlocrand Provides tools for RD analysis under local randomization: rdrandinf() performs hypothesis testing using randomization inference, rdwinselect() selects a window around the cutoff where randomization likely holds, rdsensitivity() assesses sensitivity to different windows, and rdrbounds() constructs Rosenbaum bounds for unobserved confounders.

Provides tools for RD analysis under local randomization: rdrandinf() performs hypothesis testing using randomization inference, rdwinselect() selects a window around the cutoff where randomization likely holds, rdsensitivity() assesses sensitivity to different windows, and rdrbounds() constructs Rosenbaum bounds for unobserved confounders.

local-randomization randomization-inference finite-sample window-selection sensitivity-analysis
rdmulti Provides tools for RD designs with multiple cutoffs or scores: rdmc() estimates pooled and cutoff-specific effects in multi-cutoff designs, rdmcplot() draws RD plots for multi-cutoff designs, and rdms() estimates effects in cumulative cutoffs or multi-score (geographic/boundary) designs.

Provides tools for RD designs with multiple cutoffs or scores: rdmc() estimates pooled and cutoff-specific effects in multi-cutoff designs, rdmcplot() draws RD plots for multi-cutoff designs, and rdms() estimates effects in cumulative cutoffs or multi-score (geographic/boundary) designs.

multiple-cutoffs multi-score geographic-RD pooled-effects extrapolation
rddapp Supports multi-assignment RDD with two running variables, power analysis for RDD designs, and includes a Shiny interface for interactive analysis. Handles both sharp and fuzzy designs with bandwidth selection.

Supports multi-assignment RDD with two running variables, power analysis for RDD designs, and includes a Shiny interface for interactive analysis. Handles both sharp and fuzzy designs with bandwidth selection.

RDD multi-assignment power-analysis Shiny fuzzy-RDD
rdpackages/rdhte: Estimation and Inference for ... # Search code, repositories, users, issues, pull requests... You signed in with another tab or window. You signed out in another tab or window. You switched accounts on another tab or window. # rdpackages/rdhte. | Name | Name | Last commit message | Last commit date |. | Latest commit History23 Co

# Search code, repositories, users, issues, pull requests... You signed in with another tab or window. You signed out in another tab or window. You switched accounts on another tab or window. # rdpackages/rdhte. | Name | Name | Last commit message | Last commit date |. | Latest commit History23 Co

rdhte regression-discontinuity treatment-effect heterogeneous-treatment regression

Conformal Prediction & Uncertainty

MAPIE Scikit-learn-contrib library for conformal prediction intervals. Provides model-agnostic uncertainty quantification for regression and classification.

Scikit-learn-contrib library for conformal prediction intervals. Provides model-agnostic uncertainty quantification for regression and classification.

conformal prediction uncertainty intervals
TorchCP PyTorch-native conformal prediction for DNNs, GNNs, and LLMs with GPU acceleration.

PyTorch-native conformal prediction for DNNs, GNNs, and LLMs with GPU acceleration.

conformal prediction PyTorch deep learning
fortuna AWS library for uncertainty quantification in deep learning. Bayesian and conformal methods.

AWS library for uncertainty quantification in deep learning. Bayesian and conformal methods.

uncertainty Bayesian deep learning
puncc IRT Lab's library for predictive uncertainty with conformal prediction. Supports various conformal methods.

IRT Lab's library for predictive uncertainty with conformal prediction. Supports various conformal methods.

conformal prediction uncertainty calibration
crepes Lightweight library for conformal regressors and predictive systems. Simple API for calibrated prediction intervals.

Lightweight library for conformal regressors and predictive systems. Simple API for calibrated prediction intervals.

conformal prediction regression intervals

Instrumental Variables

ShiftShareSE Implements correct standard errors for Bartik/shift-share instrumental variables designs following Adão, Kolesár, and Morales (2019 QJE). Standard clustered SEs are typically incorrect for shift-share—this package provides econometrically valid inference.

Implements correct standard errors for Bartik/shift-share instrumental variables designs following Adão, Kolesár, and Morales (2019 QJE). Standard clustered SEs are typically incorrect for shift-share—this package provides econometrically valid inference.

shift-share Bartik instrumental-variables standard-errors regional-economics
gmm Generalized Method of Moments estimation implementing two-step GMM, iterated GMM, and continuous updated estimator (CUE) with HAC covariance matrices. Supports linear and nonlinear moment conditions.

Generalized Method of Moments estimation implementing two-step GMM, iterated GMM, and continuous updated estimator (CUE) with HAC covariance matrices. Supports linear and nonlinear moment conditions.

GMM method-of-moments HAC instrumental-variables CUE
ivmodel Specialized package for weak instrument diagnostics implementing Anderson-Rubin tests, k-class estimators (LIML, Fuller), and sensitivity analysis following Jiang et al. (2015). Essential when instrument strength is questionable.

Specialized package for weak instrument diagnostics implementing Anderson-Rubin tests, k-class estimators (LIML, Fuller), and sensitivity analysis following Jiang et al. (2015). Essential when instrument strength is questionable.

instrumental-variables weak-instruments Anderson-Rubin LIML sensitivity-analysis
ivreg Modern implementation of two-stage least squares (2SLS) instrumental variables regression with comprehensive diagnostics including hat values, studentized residuals, and component-plus-residual plots. Successor to AER's ivreg() function with superior diagnostic tools.

Modern implementation of two-stage least squares (2SLS) instrumental variables regression with comprehensive diagnostics including hat values, studentized residuals, and component-plus-residual plots. Successor to AER's ivreg() function with superior diagnostic tools.

instrumental-variables 2SLS IV-regression endogeneity diagnostics
momentfit Modern S4-based implementation of Generalized Method of Moments supporting systems of equations, nonlinear moment conditions, and hypothesis testing. Successor to gmm package with object-oriented design.

Modern S4-based implementation of Generalized Method of Moments supporting systems of equations, nonlinear moment conditions, and hypothesis testing. Successor to gmm package with object-oriented design.

GMM S4-class systems-estimation moment-conditions hypothesis-testing
systemfit Simultaneous systems estimation implementing Seemingly Unrelated Regression (SUR), two-stage least squares (2SLS), and three-stage least squares (3SLS). Critical for demand systems and structural macro models.

Simultaneous systems estimation implementing Seemingly Unrelated Regression (SUR), two-stage least squares (2SLS), and three-stage least squares (3SLS). Critical for demand systems and structural macro models.

SUR 2SLS 3SLS systems-estimation demand-systems

Bayesian Inference

bayesplot Extensive library of ggplot2-based plotting functions for posterior analysis, MCMC diagnostics, and prior/posterior predictive checks supporting the applied Bayesian workflow for any MCMC-fitted model.

Extensive library of ggplot2-based plotting functions for posterior analysis, MCMC diagnostics, and prior/posterior predictive checks supporting the applied Bayesian workflow for any MCMC-fitted model.

visualization MCMC-diagnostics posterior-predictive-checks ggplot2 Bayesian
brms High-level interface for fitting Bayesian generalized multilevel models using Stan, with lme4-style formula syntax supporting linear, count, survival, ordinal, zero-inflated, hurdle, and mixture models with flexible prior specification.

High-level interface for fitting Bayesian generalized multilevel models using Stan, with lme4-style formula syntax supporting linear, count, survival, ordinal, zero-inflated, hurdle, and mixture models with flexible prior specification.

Bayesian multilevel-models Stan regression distributional-regression
rstan Core R interface to the Stan probabilistic programming language, providing full Bayesian inference via NUTS/HMC, approximate inference via ADVI, and penalized maximum likelihood via L-BFGS for custom Bayesian models.

Core R interface to the Stan probabilistic programming language, providing full Bayesian inference via NUTS/HMC, approximate inference via ADVI, and penalized maximum likelihood via L-BFGS for custom Bayesian models.

Stan MCMC HMC probabilistic-programming Bayesian
rstanarm Pre-compiled Bayesian regression models using Stan that mimic familiar R functions (lm, glm, lmer) with customary formula syntax, weakly informative default priors, and zero model compilation time.

Pre-compiled Bayesian regression models using Stan that mimic familiar R functions (lm, glm, lmer) with customary formula syntax, weakly informative default priors, and zero model compilation time.

Bayesian Stan regression mixed-effects pre-compiled
Pyro Deep universal probabilistic programming on PyTorch. Special support for Bayesian neural networks, normalizing flows, and stochastic variational inference.

Deep universal probabilistic programming on PyTorch. Special support for Bayesian neural networks, normalizing flows, and stochastic variational inference.

probabilistic-programming Bayesian PyTorch variational-inference

Bootstrap & Inference

boot Classic bootstrap methods implementing the approaches described in Davison & Hinkley (1997). Provides functions for both parametric and nonparametric resampling with various confidence interval methods.

Classic bootstrap methods implementing the approaches described in Davison & Hinkley (1997). Provides functions for both parametric and nonparametric resampling with various confidence interval methods.

bootstrap resampling confidence-intervals nonparametric parametric
bootUR Bootstrap unit root tests with sieve and wild bootstrap methods for time series stationarity testing.

Bootstrap unit root tests with sieve and wild bootstrap methods for time series stationarity testing.

bootstrap unit-root time-series stationarity
fwildclusterboot Fast wild cluster bootstrap implementation following Roodman et al. (2019)—up to 1000× faster than alternatives. Critical for panel data with few clusters. Integrates with fixest and lfe for efficient inference.

Fast wild cluster bootstrap implementation following Roodman et al. (2019)—up to 1000× faster than alternatives. Critical for panel data with few clusters. Integrates with fixest and lfe for efficient inference.

wild-bootstrap cluster-robust few-clusters panel-data fixest
recombinator Block bootstrap methods including Moving Block, Circular Block, Stationary, and Tapered Block Bootstrap for time series.

Block bootstrap methods including Moving Block, Circular Block, Stationary, and Tapered Block Bootstrap for time series.

bootstrap time-series block-bootstrap resampling
rsample Modern tidyverse-compatible resampling infrastructure. Provides functions for creating resamples (bootstrap, cross-validation, time series splits) that integrate seamlessly with tidymodels workflows.

Modern tidyverse-compatible resampling infrastructure. Provides functions for creating resamples (bootstrap, cross-validation, time series splits) that integrate seamlessly with tidymodels workflows.

resampling cross-validation bootstrap tidymodels time-series-cv

Causal Inference (ML)

EValue Conducts sensitivity analyses for unmeasured confounding, selection bias, and measurement error in observational studies and meta-analyses. Computes E-values representing the minimum strength of association unmeasured confounders would need to fully explain away an observed effect.

Conducts sensitivity analyses for unmeasured confounding, selection bias, and measurement error in observational studies and meta-analyses. Computes E-values representing the minimum strength of association unmeasured confounders would need to fully explain away an observed effect.

E-value unmeasured-confounding sensitivity-analysis selection-bias meta-analysis
SuperLearner Implements the Super Learner algorithm for optimal ensemble prediction via cross-validation. Creates weighted combinations of multiple ML algorithms (XGBoost, Random Forest, glmnet, neural networks, SVM, BART) with guaranteed asymptotic optimality.

Implements the Super Learner algorithm for optimal ensemble prediction via cross-validation. Creates weighted combinations of multiple ML algorithms (XGBoost, Random Forest, glmnet, neural networks, SVM, BART) with guaranteed asymptotic optimality.

ensemble-learning cross-validation stacking prediction model-selection
causalweight Semiparametric causal inference methods based on inverse probability weighting and double machine learning for average treatment effects, causal mediation analysis (direct/indirect effects), and dynamic treatment evaluation. Supports LATE estimation with instrumental variables.

Semiparametric causal inference methods based on inverse probability weighting and double machine learning for average treatment effects, causal mediation analysis (direct/indirect effects), and dynamic treatment evaluation. Supports LATE estimation with instrumental variables.

inverse-probability-weighting causal-mediation double-machine-learning LATE instrumental-variables
ddml Streamlined double/debiased machine learning estimation with emphasis on (short-)stacking to combine multiple base learners, increasing robustness to unknown data generating processes. Designed as a complement to DoubleML with simpler syntax.

Streamlined double/debiased machine learning estimation with emphasis on (short-)stacking to combine multiple base learners, increasing robustness to unknown data generating processes. Designed as a complement to DoubleML with simpler syntax.

double-machine-learning stacking model-averaging treatment-effects causal-inference
hdm High-dimensional statistical methods featuring heteroscedasticity-robust LASSO with theoretically-grounded penalty selection, post-double-selection inference, and treatment effect estimation under sparsity assumptions for high-dimensional controls.

High-dimensional statistical methods featuring heteroscedasticity-robust LASSO with theoretically-grounded penalty selection, post-double-selection inference, and treatment effect estimation under sparsity assumptions for high-dimensional controls.

lasso post-double-selection high-dimensional instrumental-variables sparsity
ltmle Targeted maximum likelihood estimation for treatment/censoring-specific mean outcomes with time-varying treatments and confounders. Supports longitudinal settings, marginal structural models, and dynamic treatment regimes alongside IPTW and G-computation.

Targeted maximum likelihood estimation for treatment/censoring-specific mean outcomes with time-varying treatments and confounders. Supports longitudinal settings, marginal structural models, and dynamic treatment regimes alongside IPTW and G-computation.

TMLE longitudinal time-varying-treatment dynamic-regimes MSM
sensemakr Suite of sensitivity analysis tools extending the traditional omitted variable bias framework, computing robustness values, bias-adjusted estimates, and sensitivity contour plots for OLS regression to assess how strong unmeasured confounders would need to be to overturn conclusions.

Suite of sensitivity analysis tools extending the traditional omitted variable bias framework, computing robustness values, bias-adjusted estimates, and sensitivity contour plots for OLS regression to assess how strong unmeasured confounders would need to be to overturn conclusions.

sensitivity-analysis omitted-variable-bias robustness-value causal-inference regression
tmle Implements targeted maximum likelihood estimation for point treatment effects with binary or continuous outcomes. Estimates ATE, ATT, ATC, and supports marginal structural models. Integrates SuperLearner for data-adaptive nuisance parameter estimation.

Implements targeted maximum likelihood estimation for point treatment effects with binary or continuous outcomes. Estimates ATE, ATT, ATC, and supports marginal structural models. Integrates SuperLearner for data-adaptive nuisance parameter estimation.

TMLE causal-inference ATE doubly-robust propensity-score
tmle3 A modular, extensible framework for targeted minimum loss-based estimation supporting custom TMLE parameters through a unified interface. Part of the tlverse ecosystem, designed to be as general as the mathematical TMLE framework itself for complex analyses.

A modular, extensible framework for targeted minimum loss-based estimation supporting custom TMLE parameters through a unified interface. Part of the tlverse ecosystem, designed to be as general as the mathematical TMLE framework itself for complex analyses.

TMLE tlverse modular extensible stochastic-interventions
causal-bert-pytorch BERT-based causal inference from text. Implements methods from Veitch et al. (2020) showing representations must predict both treatment and outcome.

BERT-based causal inference from text. Implements methods from Veitch et al. (2020) showing representations must predict both treatment and outcome.

causal-inference BERT NLP text deep-learning
causalToolbox Implements meta-learner algorithms (S-learner, T-learner, X-learner) for heterogeneous treatment effect estimation using flexible base learners including honest Random Forests and BART for personalized CATE estimation.

Implements meta-learner algorithms (S-learner, T-learner, X-learner) for heterogeneous treatment effect estimation using flexible base learners including honest Random Forests and BART for personalized CATE estimation.

metalearners X-learner T-learner S-learner CATE
causalfe Causal Forests with Fixed Effects (CFFE) for estimating heterogeneous treatment effects in panel data and difference-in-differences settings. Node-level fixed-effect residualization during tree construction.

Causal Forests with Fixed Effects (CFFE) for estimating heterogeneous treatment effects in panel data and difference-in-differences settings. Node-level fixed-effect residualization during tree construction.

causal-forests fixed-effects panel-data heterogeneous-treatment-effects DiD
grf Forest-based statistical estimation and inference for heterogeneous treatment effects, supporting multiple treatment arms, instrumental variables, survival outcomes, and quantile regression—all with honest estimation and valid confidence intervals. The most widely-used R package for CATE estimation.

Forest-based statistical estimation and inference for heterogeneous treatment effects, supporting multiple treatment arms, instrumental variables, survival outcomes, and quantile regression—all with honest estimation and valid confidence intervals. The most widely-used R package for CATE estimation.

causal-forest heterogeneous-treatment-effects CATE machine-learning econometrics
grf_python Production-grade Python implementation of Generalized Random Forests for heterogeneous treatment effects. Multiple performance tiers (pure Python, Numba, Cython) with valid statistical inference via Infinitesimal Jackknife.

Production-grade Python implementation of Generalized Random Forests for heterogeneous treatment effects. Multiple performance tiers (pure Python, Numba, Cython) with valid statistical inference via Infinitesimal Jackknife.

causal-forests heterogeneous-treatment-effects GRF causal-inference Python

Power Simulation & Design of Experiments

Ambrosia End-to-end A/B testing from MobileTeleSystems with PySpark support. Covers experiment design, multi-group splitting, matching, and inference.

End-to-end A/B testing from MobileTeleSystems with PySpark support. Covers experiment design, multi-group splitting, matching, and inference.

A/B testing experimentation Spark
Superpower Simulation-based power analysis for factorial ANOVA designs (up to 3 factors). Includes Shiny app for interactive power analysis.

Simulation-based power analysis for factorial ANOVA designs (up to 3 factors). Includes Shiny app for interactive power analysis.

power-analysis ANOVA simulation factorial-design
mlpwr Machine learning-based power analysis using surrogate models. Efficient sample size planning for complex study designs.

Machine learning-based power analysis using surrogate models. Efficient sample size planning for complex study designs.

power-analysis machine-learning sample-size simulation
simChef DGP (Data Generating Process) framework for systematic simulation studies. Enables reproducible computational experiments.

DGP (Data Generating Process) framework for systematic simulation studies. Enables reproducible computational experiments.

simulation DGP experiments reproducibility statistics
tea-tasting Calculate A/B test statistics directly within data warehouses (BigQuery, ClickHouse, Snowflake, Spark) via Ibis interface. Supports CUPED/CUPAC.

Calculate A/B test statistics directly within data warehouses (BigQuery, ClickHouse, Snowflake, Spark) via Ibis interface. Supports CUPED/CUPAC.

A/B testing experimentation data warehouses
ADOpy Bayesian Adaptive Design Optimization (ADO) for tuning experiments in real-time, with models for psychometric tasks.

Bayesian Adaptive Design Optimization (ADO) for tuning experiments in real-time, with models for psychometric tasks.

power analysis experiments Bayesian
Adaptive Parallel active learning library for adaptive function sampling/evaluation, with live plotting for monitoring.

Parallel active learning library for adaptive function sampling/evaluation, with live plotting for monitoring.

power analysis experiments
DoEgen Automates generation and optimization of designs, especially for mixed factor-level experiments; computes efficiency metrics.

Automates generation and optimization of designs, especially for mixed factor-level experiments; computes efficiency metrics.

power analysis experiments
pyDOE2 Implements classical Design of Experiments: factorial (full/fractional), response surface (Box-Behnken, CCD), Latin Hypercube.

Implements classical Design of Experiments: factorial (full/fractional), response surface (Box-Behnken, CCD), Latin Hypercube.

power analysis experiments

Statistical Inference & Hypothesis Testing

HypoRS Hypothesis testing library for Rust with T-tests, Z-tests, ANOVA, Chi-square, designed to work seamlessly with Polars DataFrames.

Hypothesis testing library for Rust with T-tests, Z-tests, ANOVA, Chi-square, designed to work seamlessly with Polars DataFrames.

rust hypothesis testing t-test ANOVA polars
gcimpute Gaussian copula imputation for mixed variable types with streaming capability (Journal of Statistical Software 2024).

Gaussian copula imputation for mixed variable types with streaming capability (Journal of Statistical Software 2024).

missing data imputation
miceforest LightGBM-accelerated multiple imputation by chained equations. Fast MICE for large datasets.

LightGBM-accelerated multiple imputation by chained equations. Fast MICE for large datasets.

missing data imputation machine learning
savvi Safe Anytime Valid Inference using e-processes and confidence sequences (Ramdas et al. 2023). Valid inference at any stopping time.

Safe Anytime Valid Inference using e-processes and confidence sequences (Ramdas et al. 2023). Valid inference at any stopping time.

sequential testing A/B testing anytime valid
Pingouin User-friendly interface for common statistical tests (ANOVA, ANCOVA, t-tests, correlations, chi², reliability) built on pandas & scipy.

User-friendly interface for common statistical tests (ANOVA, ANCOVA, t-tests, correlations, chi², reliability) built on pandas & scipy.

inference hypothesis testing
PyWhy-Stats Part of the PyWhy ecosystem providing statistical methods specifically for causal applications, including various independence tests and power-divergence methods.

Part of the PyWhy ecosystem providing statistical methods specifically for causal applications, including various independence tests and power-divergence methods.

inference hypothesis testing
Scipy.stats Foundational module within SciPy for a wide range of statistical functions, distributions, and hypothesis tests (t-tests, ANOVA, chi², KS, etc.).

Foundational module within SciPy for a wide range of statistical functions, distributions, and hypothesis tests (t-tests, ANOVA, chi², KS, etc.).

inference hypothesis testing
Statrs Comprehensive statistical distributions for Rust (Normal, T, Gamma, etc.) with PDF, CDF, quantile functions—the scipy.stats equivalent.

Comprehensive statistical distributions for Rust (Normal, T, Gamma, etc.) with PDF, CDF, quantile functions—the scipy.stats equivalent.

rust statistics distributions probability
expectation E-values and game-theoretic probability for sequential testing. Enables early signal detection with proper error control.

E-values and game-theoretic probability for sequential testing. Enables early signal detection with proper error control.

sequential testing e-values hypothesis testing
hypothetical Library focused on hypothesis testing: ANOVA/MANOVA, t-tests, chi-square, Fisher's exact, nonparametric tests (Mann-Whitney, Kruskal-Wallis, etc.).

Library focused on hypothesis testing: ANOVA/MANOVA, t-tests, chi-square, Fisher's exact, nonparametric tests (Mann-Whitney, Kruskal-Wallis, etc.).

inference hypothesis testing
lifelines Comprehensive library for survival analysis: Kaplan-Meier, Nelson-Aalen, Cox regression, AFT models, handling censored data.

Comprehensive library for survival analysis: Kaplan-Meier, Nelson-Aalen, Cox regression, AFT models, handling censored data.

inference hypothesis testing

State Space & Volatility Models

FilterPy Focuses on Kalman filters (standard, EKF, UKF) and smoothers with a clear, pedagogical implementation style.

Focuses on Kalman filters (standard, EKF, UKF) and smoothers with a clear, pedagogical implementation style.

volatility state space
Metran Specialized package for estimating Dynamic Factor Models (DFM) using state-space methods and Kalman filtering.

Specialized package for estimating Dynamic Factor Models (DFM) using state-space methods and Kalman filtering.

volatility state space
PyKalman Implements Kalman filter, smoother, and EM algorithm for parameter estimation, including support for missing values and UKF.

Implements Kalman filter, smoother, and EM algorithm for parameter estimation, including support for missing values and UKF.

volatility state space
PyMC Statespace (See Bayesian) Bayesian state-space modeling using PyMC, integrating Kalman filtering within MCMC for parameter estimation.

(See Bayesian) Bayesian state-space modeling using PyMC, integrating Kalman filtering within MCMC for parameter estimation.

volatility state space Bayesian
stochvol Efficient Bayesian estimation of stochastic volatility (SV) models using MCMC.

Efficient Bayesian estimation of stochastic volatility (SV) models using MCMC.

volatility state space Bayesian

Machine Learning

DCA (Deep Count Autoencoder) Denoising autoencoder for single-cell RNA-seq with ZINB output layer. Handles extreme sparsity in gene expression data.

Denoising autoencoder for single-cell RNA-seq with ZINB output layer. Handles extreme sparsity in gene expression data.

single-cell autoencoder denoising ZINB genomics
VaDE Variational Deep Embedding. VAE with Gaussian Mixture Model prior in latent space for deep clustering.

Variational Deep Embedding. VAE with Gaussian Mixture Model prior in latent space for deep clustering.

VAE clustering GMM deep-learning unsupervised
ranger Fast implementation of random forests particularly suited for high-dimensional data. Provides survival forests, classification, and regression with efficient memory usage. Core backend for grf's causal forests.

Fast implementation of random forests particularly suited for high-dimensional data. Provides survival forests, classification, and regression with efficient memory usage. Core backend for grf's causal forests.

random-forests survival-forests high-dimensional fast causal-forests
tidymodels Modern framework for modeling and machine learning using tidyverse principles. Meta-package including parsnip (model specification), recipes (preprocessing), workflows, tune (hyperparameter tuning), and yardstick (metrics). Successor to caret.

Modern framework for modeling and machine learning using tidyverse principles. Meta-package including parsnip (model specification), recipes (preprocessing), workflows, tune (hyperparameter tuning), and yardstick (metrics). Successor to caret.

machine-learning tidyverse modeling-framework hyperparameter-tuning preprocessing
xgboost Extreme Gradient Boosting implementing state-of-the-art gradient boosted decision trees. Highly efficient, scalable, and portable with interfaces to R, Python, and other languages. Essential for prediction in double ML workflows.

Extreme Gradient Boosting implementing state-of-the-art gradient boosted decision trees. Highly efficient, scalable, and portable with interfaces to R, Python, and other languages. Essential for prediction in double ML workflows.

gradient-boosting XGBoost prediction machine-learning ensemble
TensorFlow Google's end-to-end open-source machine learning platform. Build and deploy ML models at scale.

Google's end-to-end open-source machine learning platform. Build and deploy ML models at scale.

deep-learning neural-networks machine-learning Google
glmnet Efficient procedures for fitting regularized generalized linear models via penalized maximum likelihood. Implements LASSO, ridge regression, and elastic net with extremely fast coordinate descent algorithms. Foundation for high-dimensional regression and causal ML.

Efficient procedures for fitting regularized generalized linear models via penalized maximum likelihood. Implements LASSO, ridge regression, and elastic net with extremely fast coordinate descent algorithms. Foundation for high-dimensional regression and causal ML.

LASSO ridge elastic-net regularization high-dimensional
scVI-tools Single-cell Variational Inference. Deep generative models for single-cell RNA-seq with ZINB likelihood handling 80-95% zero entries.

Single-cell Variational Inference. Deep generative models for single-cell RNA-seq with ZINB likelihood handling 80-95% zero entries.

single-cell VAE genomics zero-inflated deep-learning

Tree & Ensemble Methods for Prediction

Linfa Rust ML toolkit inspired by scikit-learn with GLMs, clustering (K-Means), PCA, SVM, and regularization (Lasso/Ridge).

Rust ML toolkit inspired by scikit-learn with GLMs, clustering (K-Means), PCA, SVM, and regularization (Lasso/Ridge).

rust machine learning clustering PCA SVM
CatBoost Gradient boosting library excelling with categorical features (minimal preprocessing needed). Robust against overfitting.

Gradient boosting library excelling with categorical features (minimal preprocessing needed). Robust against overfitting.

machine learning prediction
LightGBM Fast, distributed gradient boosting (also supports RF). Known for speed, low memory usage, and handling large datasets.

Fast, distributed gradient boosting (also supports RF). Known for speed, low memory usage, and handling large datasets.

machine learning prediction
NGBoost Extends gradient boosting to probabilistic prediction, providing uncertainty estimates alongside point predictions. Built on scikit-learn.

Extends gradient boosting to probabilistic prediction, providing uncertainty estimates alongside point predictions. Built on scikit-learn.

machine learning prediction
Scikit-learn Ens. (`RandomForestClassifier`/`Regressor`) Widely-used, versatile implementation of Random Forests. Easy API and parallel processing support.

(`RandomForestClassifier`/`Regressor`) Widely-used, versatile implementation of Random Forests. Easy API and parallel processing support.

machine learning prediction
SmartCore Rust ML library with regression, classification, clustering, matrix decomposition (SVD, PCA), and model selection tools.

Rust ML library with regression, classification, clustering, matrix decomposition (SVD, PCA), and model selection tools.

rust machine learning regression classification
XGBoost High-performance, optimized gradient boosting library (also supports RF). Known for speed, efficiency, and winning competitions.

High-performance, optimized gradient boosting library (also supports RF). Known for speed, efficiency, and winning competitions.

machine learning prediction
cuML (RAPIDS) GPU-accelerated implementation of Random Forests for significant speedups on large datasets. Scikit-learn compatible API.

GPU-accelerated implementation of Random Forests for significant speedups on large datasets. Scikit-learn compatible API.

machine learning prediction

Academic APIs

PaperQA2 LLM-powered research assistant with superhuman performance on scientific Q&A benchmarks. Agentic RAG with iterative query refinement, automatic metadata fetching, and retraction checking.

LLM-powered research assistant with superhuman performance on scientific Q&A benchmarks. Agentic RAG with iterative query refinement, automatic metadata fetching, and retraction checking.

llm rag research-assistant scientific-qa paper-analysis citations
arxiv Python wrapper for the arXiv API to search and download papers from 1M+ articles in physics, math, CS, and related fields. Download PDFs and source files programmatically.

Python wrapper for the arXiv API to search and download papers from 1M+ articles in physics, math, CS, and related fields. Download PDFs and source files programmatically.

arxiv academic-api paper-download preprints scientific-papers
habanero Low-level Python client for CrossRef API to retrieve DOI metadata, citations, and bibliographic data. Supports polite pool access for faster response times.

Low-level Python client for CrossRef API to retrieve DOI metadata, citations, and bibliographic data. Supports polite pool access for faster response times.

crossref doi academic-api citations metadata
openalexR R interface to OpenAlex, the free open catalog of 240M+ scholarly works. Query publications, authors, institutions, and citation networks without subscription database access.

R interface to OpenAlex, the free open catalog of 240M+ scholarly works. Query publications, authors, institutions, and citation networks without subscription database access.

openalex academic-api citations scholarly-data open-access
pyalex Lightweight Python interface to OpenAlex API for querying 240M+ scholarly works, authors, institutions, and topics. Supports pagination and converts inverted abstracts to plaintext.

Lightweight Python interface to OpenAlex API for querying 240M+ scholarly works, authors, institutions, and topics. Supports pagination and converts inverted abstracts to plaintext.

openalex academic-api scholarly-data citation-data open-access

Time Series Forecasting

Augurs Time series forecasting and analysis for Rust with ETS, MSTL decomposition, seasonality detection, outlier detection, and Prophet-style models.

Time series forecasting and analysis for Rust with ETS, MSTL decomposition, seasonality detection, outlier detection, and Prophet-style models.

rust time series forecasting ETS MSTL
fable A tidyverse-native forecasting framework providing ETS, ARIMA, and other models for tidy time series (tsibble objects). Enables fitting multiple models across many time series simultaneously with a consistent formula-based interface.

A tidyverse-native forecasting framework providing ETS, ARIMA, and other models for tidy time series (tsibble objects). Enables fitting multiple models across many time series simultaneously with a consistent formula-based interface.

time-series tidyverse ARIMA ETS tsibble
forecast The foundational R package for univariate time series forecasting. Provides methods for exponential smoothing via state space models (ETS), automatic ARIMA modeling with auto.arima(), TBATS for complex seasonality, and comprehensive model evaluation tools.

The foundational R package for univariate time series forecasting. Provides methods for exponential smoothing via state space models (ETS), automatic ARIMA modeling with auto.arima(), TBATS for complex seasonality, and comprehensive model evaluation tools.

time-series ARIMA exponential-smoothing ETS auto.arima
prophet Automatic forecasting procedure based on an additive decomposable model with non-linear trends, yearly/weekly/daily seasonality, and holiday effects. Robust to missing data, trend shifts, and outliers; designed for business time series with strong seasonal patterns.

Automatic forecasting procedure based on an additive decomposable model with non-linear trends, yearly/weekly/daily seasonality, and holiday effects. Robust to missing data, trend shifts, and outliers; designed for business time series with strong seasonal patterns.

time-series Facebook decomposable-model seasonality holidays
MLForecast Scalable time series forecasting using machine learning models (e.g., LightGBM, XGBoost) as regressors.

Scalable time series forecasting using machine learning models (e.g., LightGBM, XGBoost) as regressors.

forecasting time series machine learning
NeuralForecast Deep learning models (N-BEATS, N-HiTS, Transformers, RNNs) for time series forecasting, built on PyTorch Lightning.

Deep learning models (N-BEATS, N-HiTS, Transformers, RNNs) for time series forecasting, built on PyTorch Lightning.

forecasting time series machine learning
Prophet Forecasting procedure for time series with strong seasonality and trend components, developed by Facebook.

Forecasting procedure for time series with strong seasonality and trend components, developed by Facebook.

forecasting time series
StatsForecast Fast, scalable implementations of popular statistical forecasting models (ETS, ARIMA, Theta, etc.) optimized for performance.

Fast, scalable implementations of popular statistical forecasting models (ETS, ARIMA, Theta, etc.) optimized for performance.

forecasting time series
pmdarima ARIMA modeling with automatic parameter selection (auto-ARIMA), similar to R's `forecast::auto.arima`.

ARIMA modeling with automatic parameter selection (auto-ARIMA), similar to R's `forecast::auto.arima`.

forecasting time series
sktime Unified framework for various time series tasks, including forecasting with classical, ML, and deep learning models.

Unified framework for various time series tasks, including forecasting with classical, ML, and deep learning models.

forecasting time series machine learning

Bayesian Causal Inference

bsts Bayesian Structural Time Series providing the foundation for CausalImpact. Supports spike-and-slab variable selection, multiple state components (trend, seasonality, regression), and non-Gaussian outcomes. Developed at Google.

Bayesian Structural Time Series providing the foundation for CausalImpact. Supports spike-and-slab variable selection, multiple state components (trend, seasonality, regression), and non-Gaussian outcomes. Developed at Google.

Bayesian structural-time-series spike-and-slab state-space Google
bartCause Bayesian Additive Regression Trees for causal inference. Strong ACIC competition performer with sparsity-inducing priors for multilevel/grouped data.

Bayesian Additive Regression Trees for causal inference. Strong ACIC competition performer with sparsity-inducing priors for multilevel/grouped data.

causal-inference BART Bayesian HTE R

Causal Inference (Bounds)

ATbounds Implements modern treatment effect bounds beyond basic Manski worst-case scenarios. Provides tighter bounds using monotonicity, mean independence, and other assumptions following Lee and Weidner (2021).

Implements modern treatment effect bounds beyond basic Manski worst-case scenarios. Provides tighter bounds using monotonicity, mean independence, and other assumptions following Lee and Weidner (2021).

partial-identification bounds treatment-effects Manski monotonicity

Core Libraries & Linear Models

Linregress Simple linear regression for Rust with R-style formula syntax, standard errors, t-stats, and p-values.

Simple linear regression for Rust with R-style formula syntax, standard errors, t-stats, and p-values.

rust regression OLS statistics
Polars Blazingly fast DataFrame library for Rust and Python with SQL-like syntax, lazy evaluation, and excellent time series handling.

Blazingly fast DataFrame library for Rust and Python with SQL-like syntax, lazy evaluation, and excellent time series handling.

rust dataframe data manipulation performance
appelpy Applied Econometrics Library bridging Stata-like syntax with Python. Built on statsmodels with convenient API.

Applied Econometrics Library bridging Stata-like syntax with Python. Built on statsmodels with convenient API.

regression linear models Stata
H2O Sparkling Water H2O's distributed ML engine on Spark with GLM/GAM that provides p-values, confidence intervals, and Tweedie/Gamma distributions.

H2O's distributed ML engine on Spark with GLM/GAM that provides p-values, confidence intervals, and Tweedie/Gamma distributions.

spark GLM GAM distributed p-values
Scikit-learn Foundational ML library with regression models (incl. regularized), model selection, cross-validation, evaluation metrics.

Foundational ML library with regression models (incl. regularized), model selection, cross-validation, evaluation metrics.

regression linear models
Statsmodels Comprehensive library for estimating statistical models (OLS, GLM, etc.), conducting tests, and data exploration. Core tool.

Comprehensive library for estimating statistical models (OLS, GLM, etc.), conducting tests, and data exploration. Core tool.

regression linear models

Energy Systems Modeling

Uplift Modeling

CausalLift Uplift modeling for observational (non-RCT) data using inverse probability weighting.

Uplift modeling for observational (non-RCT) data using inverse probability weighting.

uplift modeling observational data IPW
UpliftML Booking.com's enterprise uplift modeling via PySpark and H2O. Six meta-learners plus Uplift Random Forest with ROI-constrained optimization.

Booking.com's enterprise uplift modeling via PySpark and H2O. Six meta-learners plus Uplift Random Forest with ROI-constrained optimization.

uplift modeling treatment effects marketing
pylift Wayfair's uplift modeling wrapping sklearn for speed with rigorous Qini curve evaluation.

Wayfair's uplift modeling wrapping sklearn for speed with rigorous Qini curve evaluation.

uplift modeling treatment effects marketing

Marginal Effects

emmeans Estimated Marginal Means (least-squares means) for factorial designs. Computes adjusted means and contrasts for balanced and unbalanced designs, with support for mixed models and Bayesian models.

Estimated Marginal Means (least-squares means) for factorial designs. Computes adjusted means and contrasts for balanced and unbalanced designs, with support for mixed models and Bayesian models.

marginal-means least-squares-means factorial-designs contrasts mixed-models
marginaleffects Modern standard for interpreting regression results—up to 1000× faster than margins. Computes marginal effects, predictions, contrasts, and slopes for 100+ model classes. Published in JSS 2024.

Modern standard for interpreting regression results—up to 1000× faster than margins. Computes marginal effects, predictions, contrasts, and slopes for 100+ model classes. Published in JSS 2024.

marginal-effects predictions contrasts interpretation slopes

Matching & Market Design

gale-shapley Python O(n²) implementation of Gale-Shapley algorithm for stable matching with simulation capabilities.

Python O(n²) implementation of Gale-Shapley algorithm for stable matching with simulation capabilities.

matching Gale-Shapley stable-matching algorithm
matching Implements Stable Marriage, Hospital-Resident, Student-Allocation, and Stable Roommates using Gale-Shapley (JOSS paper).

Implements Stable Marriage, Hospital-Resident, Student-Allocation, and Stable Roommates using Gale-Shapley (JOSS paper).

matching market design Gale-Shapley
algmatch Student-Project Allocation with lecturer preferences. Extends matching to three-sided markets.

Student-Project Allocation with lecturer preferences. Extends matching to three-sided markets.

matching market design allocation
deep-opt-auctions Neural network optimal auction design. Implements RegretNet, RochetNet for mechanism design.

Neural network optimal auction design. Implements RegretNet, RochetNet for mechanism design.

auctions mechanism design deep learning
kep_solver Kidney exchange optimization with hierarchical objectives. Production-ready for kidney paired donation.

Kidney exchange optimization with hierarchical objectives. Production-ready for kidney paired donation.

matching market design kidney exchange
matchingR R/C++ implementation of Gale-Shapley and Irving's algorithms for stable matching. Tested with 30,000+ participants.

R/C++ implementation of Gale-Shapley and Irving's algorithms for stable matching. Tested with 30,000+ participants.

matching Gale-Shapley stable-matching market-design
scarfmatch Matching with couples using Scarf's algorithm. Essential for NRMP-style medical residency matching.

Matching with couples using Scarf's algorithm. Essential for NRMP-style medical residency matching.

matching market design couples

Visualization

patchwork Compose multiple ggplot2 plots into publication-ready multi-panel figures. Uses intuitive operators (+, |, /) for arrangement with automatic alignment and shared legends.

Compose multiple ggplot2 plots into publication-ready multi-panel figures. Uses intuitive operators (+, |, /) for arrangement with automatic alignment and shared legends.

ggplot2 multi-panel figure-composition visualization publication-ready
cowplot Publication-ready ggplot2 themes and plot arrangement utilities. Provides clean themes, plot annotations, and functions for combining plots with shared axes.

Publication-ready ggplot2 themes and plot arrangement utilities. Provides clean themes, plot annotations, and functions for combining plots with shared axes.

ggplot2 themes publication-ready plot-arrangement annotations

Robust Standard Errors

clubSandwich Provides cluster-robust variance estimators with small-sample corrections, including bias-reduced linearization (BRL/CR2). Includes functions for hypothesis testing with Satterthwaite degrees of freedom and Hotelling's T² approximation—essential when the number of clusters is small.

Provides cluster-robust variance estimators with small-sample corrections, including bias-reduced linearization (BRL/CR2). Includes functions for hypothesis testing with Satterthwaite degrees of freedom and Hotelling's T² approximation—essential when the number of clusters is small.

cluster-robust small-sample-corrections bias-reduced-linearization fixed-effects meta-analysis
lmtest Collection of tests for diagnostic checking in linear regression models. Provides the essential coeftest() function for testing coefficients with alternative variance-covariance matrices (pairs with sandwich), plus Breusch-Pagan, Durbin-Watson, and RESET tests.

Collection of tests for diagnostic checking in linear regression models. Provides the essential coeftest() function for testing coefficients with alternative variance-covariance matrices (pairs with sandwich), plus Breusch-Pagan, Durbin-Watson, and RESET tests.

regression-diagnostics heteroskedasticity-test Breusch-Pagan Durbin-Watson serial-correlation
sandwich Object-oriented software for model-robust covariance matrix estimators including heteroscedasticity-consistent (HC0-HC5), heteroscedasticity- and autocorrelation-consistent (HAC/Newey-West), clustered, panel, and bootstrap covariances. Works with lm, glm, fixest, survival models, and many others.

Object-oriented software for model-robust covariance matrix estimators including heteroscedasticity-consistent (HC0-HC5), heteroscedasticity- and autocorrelation-consistent (HAC/Newey-West), clustered, panel, and bootstrap covariances. Works with lm, glm, fixest, survival models, and many others.

robust-standard-errors heteroskedasticity-consistent HAC-covariance cluster-robust Newey-West

Sports Analytics

hockeyR R package for NHL play-by-play data with built-in expected goals models and player tracking statistics

R package for NHL play-by-play data with built-in expected goals models and player tracking statistics

hockey sports-analytics R NHL xG
nfl-data-py Python package for accessing nflverse NFL play-by-play data with built-in EPA and win probability models

Python package for accessing nflverse NFL play-by-play data with built-in EPA and win probability models

football sports-analytics NFL EPA play-by-play
Lahman R package providing the complete Lahman Baseball Database as native R data frames for seamless analysis

R package providing the complete Lahman Baseball Database as native R data frames for seamless analysis

baseball sports-analytics R sabermetrics historical
hoopR R package for accessing NBA Stats API plus ESPN and KenPom data for comprehensive basketball analytics

R package for accessing NBA Stats API plus ESPN and KenPom data for comprehensive basketball analytics

basketball sports-analytics R NBA college-basketball
mplsoccer Python library for football/soccer pitch visualization with support for heat maps, shot maps, pass maps, and event plotting

Python library for football/soccer pitch visualization with support for heat maps, shot maps, pass maps, and event plotting

soccer football visualization sports-analytics
nba_api Full NBA Stats API wrapper with 127+ endpoints for accessing shot charts, player tracking, play-by-play, and historical data

Full NBA Stats API wrapper with 127+ endpoints for accessing shot charts, player tracking, play-by-play, and historical data

basketball sports-analytics NBA shot-charts
nflfastR R package for NFL play-by-play data with built-in expected points (EPA) and win probability models from 1999-present

R package for NFL play-by-play data with built-in expected points (EPA) and win probability models from 1999-present

football sports-analytics R NFL EPA
pybaseball Python library for pulling baseball data from Statcast, FanGraphs, Baseball Reference, and the Lahman database with easy-to-use functions

Python library for pulling baseball data from Statcast, FanGraphs, Baseball Reference, and the Lahman database with easy-to-use functions

baseball sports-analytics Statcast sabermetrics
statsbombpy Official Python API client for StatsBomb open data with 360 freeze-frame support for detailed soccer event analysis

Official Python API client for StatsBomb open data with 360 freeze-frame support for detailed soccer event analysis

soccer football sports-analytics xG event-data
worldfootballR R package for scraping FBref, Transfermarkt, and Understat soccer data including xG, player values, and match statistics

R package for scraping FBref, Transfermarkt, and Understat soccer data including xG, player values, and match statistics

soccer football sports-analytics R xG Transfermarkt

Model Diagnostics

car Functions accompanying 'An R Companion to Applied Regression.' Provides advanced regression diagnostics including variance inflation factors (VIF), Type II/III ANOVA, influence measures, linear hypothesis testing, power transformations (Box-Cox), and comprehensive diagnostic plots.

Functions accompanying 'An R Companion to Applied Regression.' Provides advanced regression diagnostics including variance inflation factors (VIF), Type II/III ANOVA, influence measures, linear hypothesis testing, power transformations (Box-Cox), and comprehensive diagnostic plots.

regression-diagnostics VIF ANOVA hypothesis-testing influence-diagnostics
performance Utilities for computing indices of model quality and goodness of fit, including R², RMSE, ICC, AIC/BIC. Provides functions to check models for overdispersion, zero-inflation, multicollinearity (VIF), convergence, and singularity. Supports mixed effects and Bayesian models.

Utilities for computing indices of model quality and goodness of fit, including R², RMSE, ICC, AIC/BIC. Provides functions to check models for overdispersion, zero-inflation, multicollinearity (VIF), convergence, and singularity. Supports mixed effects and Bayesian models.

model-diagnostics R-squared assumption-checking VIF goodness-of-fit
see Visualization toolbox for the easystats ecosystem built on ggplot2. Provides publication-ready plotting methods for model parameters, predictions, and performance diagnostics from all easystats packages via simple plot() calls.

Visualization toolbox for the easystats ecosystem built on ggplot2. Provides publication-ready plotting methods for model parameters, predictions, and performance diagnostics from all easystats packages via simple plot() calls.

visualization ggplot2 diagnostic-plots publication-ready easystats

Mixed Effects

glmmTMB Fit generalized linear mixed models with extensions including zero-inflation, hurdle models, heteroscedasticity, and autocorrelation using Template Model Builder (TMB) with automatic differentiation and Laplace approximation.

Fit generalized linear mixed models with extensions including zero-inflation, hurdle models, heteroscedasticity, and autocorrelation using Template Model Builder (TMB) with automatic differentiation and Laplace approximation.

GLMM zero-inflation negative-binomial TMB overdispersion
lme4 Fit linear and generalized linear mixed-effects models using S4 classes with Eigen C++ library for efficient computation, supporting arbitrarily nested and crossed random effects structures for hierarchical and longitudinal data.

Fit linear and generalized linear mixed-effects models using S4 classes with Eigen C++ library for efficient computation, supporting arbitrarily nested and crossed random effects structures for hierarchical and longitudinal data.

linear-mixed-models GLMM random-effects hierarchical-models repeated-measures
lmerTest Provides p-values for lme4 model fits via Satterthwaite's or Kenward-Roger degrees of freedom methods, with Type I/II/III ANOVA tables, model selection tools (step, drop1), and least-squares means calculations.

Provides p-values for lme4 model fits via Satterthwaite's or Kenward-Roger degrees of freedom methods, with Type I/II/III ANOVA tables, model selection tools (step, drop1), and least-squares means calculations.

p-values Satterthwaite Kenward-Roger ANOVA hypothesis-testing
nlme Fit Gaussian linear and nonlinear mixed-effects models with flexible correlation structures, variance functions for heteroscedasticity, and nested random effects. Ships with base R and offers more variance-covariance flexibility than lme4.

Fit Gaussian linear and nonlinear mixed-effects models with flexible correlation structures, variance functions for heteroscedasticity, and nested random effects. Ships with base R and offers more variance-covariance flexibility than lme4.

nonlinear-mixed-models autocorrelation heteroscedasticity repeated-measures longitudinal

Power Analysis

WebPower Comprehensive collection of tools for basic and advanced statistical power analysis including correlation, t-test, ANOVA, regression, mediation analysis, structural equation modeling (SEM), and multilevel models. Features both R package and web interface.

Comprehensive collection of tools for basic and advanced statistical power analysis including correlation, t-test, ANOVA, regression, mediation analysis, structural equation modeling (SEM), and multilevel models. Features both R package and web interface.

power-analysis SEM mediation multilevel-models cluster-randomized-trials
pwr Provides basic power calculations using effect sizes and notation from Cohen (1988). Supports t-tests, chi-squared tests, one-way ANOVA, correlation tests, proportion tests, and general linear models with analytical (closed-form) solutions.

Provides basic power calculations using effect sizes and notation from Cohen (1988). Supports t-tests, chi-squared tests, one-way ANOVA, correlation tests, proportion tests, and general linear models with analytical (closed-form) solutions.

power-analysis sample-size effect-size Cohen-d t-test
simr Calculates power for generalized linear mixed models (GLMMs) using Monte Carlo simulation. Designed to work with lme4 models; supports LMMs and GLMMs with crossed random effects, non-normal responses, and complex variance structures where analytical solutions are unavailable.

Calculates power for generalized linear mixed models (GLMMs) using Monte Carlo simulation. Designed to work with lme4 models; supports LMMs and GLMMs with crossed random effects, non-normal responses, and complex variance structures where analytical solutions are unavailable.

power-analysis mixed-models simulation lme4 GLMM

Spatial Econometrics

sf The modern standard for spatial vector data in R, implementing Simple Features access (ISO 19125). Represents spatial data as data frames with geometry list-columns, enabling seamless tidyverse integration. Interfaces with GDAL (I/O), GEOS (geometry operations), PROJ (projections), and s2 (spherical geometry).

The modern standard for spatial vector data in R, implementing Simple Features access (ISO 19125). Represents spatial data as data frames with geometry list-columns, enabling seamless tidyverse integration. Interfaces with GDAL (I/O), GEOS (geometry operations), PROJ (projections), and s2 (spherical geometry).

simple-features spatial-data vector-data tidyverse GDAL-GEOS-PROJ
spdep The foundational R package for spatial weights matrix creation and spatial autocorrelation testing. Provides functions for creating spatial weights from polygon contiguities and point patterns, computing global statistics (Moran's I, Geary's C), local indicators (LISA), and Lagrange multiplier tests.

The foundational R package for spatial weights matrix creation and spatial autocorrelation testing. Provides functions for creating spatial weights from polygon contiguities and point patterns, computing global statistics (Moran's I, Geary's C), local indicators (LISA), and Lagrange multiplier tests.

spatial-weights autocorrelation morans-i neighborhood-analysis spatial-statistics
(PySAL Core) The broader PySAL ecosystem contains many tools for spatial data handling, weights, visualization, and analysis.

The broader PySAL ecosystem contains many tools for spatial data handling, weights, visualization, and analysis.

spatial geography
Apache Sedona Distributed spatial analytics engine (formerly GeoSpark) with spatial SQL, K-NN joins, and range queries for spatial econometrics.

Distributed spatial analytics engine (formerly GeoSpark) with spatial SQL, K-NN joins, and range queries for spatial econometrics.

spark spatial GIS distributed
PySAL (spreg) The spatial regression `spreg` module of PySAL. Implements spatial lag, error, IV models, and diagnostics.

The spatial regression `spreg` module of PySAL. Implements spatial lag, error, IV models, and diagnostics.

spatial geography
spatialreg Comprehensive package for spatial regression model estimation, split from spdep in 2019. Provides maximum likelihood, two-stage least squares, and GMM estimation for spatial lag (SAR), spatial error (SEM), and combined (SARAR/SAC) models, plus Spatial Durbin and SLX variants with impact calculations.

Comprehensive package for spatial regression model estimation, split from spdep in 2019. Provides maximum likelihood, two-stage least squares, and GMM estimation for spatial lag (SAR), spatial error (SEM), and combined (SARAR/SAC) models, plus Spatial Durbin and SLX variants with impact calculations.

spatial-regression maximum-likelihood spatial-lag spatial-error GMM
splm Maximum likelihood and GMM estimation for spatial panel data models. Implements fixed and random effects specifications with spatial lag and/or spatial error components, including the Kapoor-Kelejian-Prucha (2007) GM estimator. Provides diagnostic tests for spatial autocorrelation in panel settings.

Maximum likelihood and GMM estimation for spatial panel data models. Implements fixed and random effects specifications with spatial lag and/or spatial error components, including the Kapoor-Kelejian-Prucha (2007) GM estimator. Provides diagnostic tests for spatial autocorrelation in panel settings.

spatial-panel panel-data fixed-effects random-effects GMM

Synthetic Data Generation

DataSynthesizer Privacy-preserving synthetic data using Bayesian networks with differential privacy. From University of Washington DataResponsibly project.

Privacy-preserving synthetic data using Bayesian networks with differential privacy. From University of Washington DataResponsibly project.

synthetic-data differential-privacy Bayesian-networks privacy
DeepEcho Time series synthetic data generation using deep learning. Part of the SDV ecosystem for sequential data.

Time series synthetic data generation using deep learning. Part of the SDV ecosystem for sequential data.

synthetic-data time-series sequential deep-learning
CTGAN GAN-based tabular data synthesizer using Variational GMM for mode-specific normalization. Published at NeurIPS 2019. Core component of SDV ecosystem.

GAN-based tabular data synthesizer using Variational GMM for mode-specific normalization. Published at NeurIPS 2019. Core component of SDV ecosystem.

synthetic-data GAN tabular privacy deep-learning
Faker Comprehensive fake data generator for 50+ locales including names, addresses, financial data, and more. Most popular Python library for test data generation.

Comprehensive fake data generator for 50+ locales including names, addresses, financial data, and more. Most popular Python library for test data generation.

synthetic-data test-data fake-data localization testing
Gretel Synthetics Open-source synthetic data library with DGAN for time series, ACTGAN, and differential privacy support from Gretel.ai.

Open-source synthetic data library with DGAN for time series, ACTGAN, and differential privacy support from Gretel.ai.

synthetic-data differential-privacy time-series ACTGAN
Mimesis High-performance fake data generator—faster than Faker. Provides data for multiple domains and 35+ locales.

High-performance fake data generator—faster than Faker. Provides data for multiple domains and 35+ locales.

synthetic-data fake-data high-performance localization
SDV (Synthetic Data Vault) Comprehensive library for generating synthetic tabular, relational, and time series data using various models.

Comprehensive library for generating synthetic tabular, relational, and time series data using various models.

synthetic data simulation
Synthpop Port of the R package for generating synthetic populations based on sample survey data.

Port of the R package for generating synthetic populations based on sample survey data.

synthetic data simulation
sdcMicro Statistical Disclosure Control for microdata used by World Bank and census agencies. Comprehensive anonymization toolkit.

Statistical Disclosure Control for microdata used by World Bank and census agencies. Comprehensive anonymization toolkit.

statistical-disclosure-control privacy anonymization census
simPop Synthetic population simulation for EU-SILC style survey data. Creates realistic household and individual-level synthetic populations.

Synthetic population simulation for EU-SILC style survey data. Creates realistic household and individual-level synthetic populations.

synthetic-population survey-data microsimulation EU-SILC

Survival Analysis

pycox PyTorch-based survival analysis. Implements DeepSurv, DeepHit, Cox-Time, and other neural survival models with partial likelihood and direct prediction approaches.

PyTorch-based survival analysis. Implements DeepSurv, DeepHit, Cox-Time, and other neural survival models with partial likelihood and direct prediction approaches.

survival deep-learning PyTorch DeepSurv neural

CTR Prediction

DeepCTR Easy-to-use implementations of deep CTR models including Wide&Deep, DeepFM, DIN, xDeepFM, and multi-task architectures

Easy-to-use implementations of deep CTR models including Wide&Deep, DeepFM, DIN, xDeepFM, and multi-task architectures

CTR deep learning recommender Wide&Deep

Causal Inference (Continuous Treatment)

CausalGPS Machine learning-based generalized propensity score estimation for continuous treatments. Uses SuperLearner ensemble methods for flexible estimation of dose-response curves.

Machine learning-based generalized propensity score estimation for continuous treatments. Uses SuperLearner ensemble methods for flexible estimation of dose-response curves.

GPS continuous-treatment machine-learning SuperLearner dose-response

Causal Inference (Interference)

inferference Computes inverse probability weighted (IPW) causal effects under partial interference following Tchetgen Tchetgen and VanderWeele (2012). Handles spillover effects within groups while maintaining independence across groups.

Computes inverse probability weighted (IPW) causal effects under partial interference following Tchetgen Tchetgen and VanderWeele (2012). Handles spillover effects within groups while maintaining independence across groups.

interference spillovers IPW partial-interference SUTVA-violations
latenetwork Handles both noncompliance AND network interference of unknown form following Hoshino and Yanagi (2023 JASA). Provides valid inference when treatment effects spill over through network connections.

Handles both noncompliance AND network interference of unknown form following Hoshino and Yanagi (2023 JASA). Provides valid inference when treatment effects spill over through network connections.

network-interference noncompliance LATE spillovers IV

Causal Inference (Event Study)

eventstudyr Implements event study best practices from Freyaldenhoven et al. (2021) including sup-t confidence bands for uniform inference and formal pre-trend testing. Provides robust methods for dynamic treatment effect estimation.

Implements event study best practices from Freyaldenhoven et al. (2021) including sup-t confidence bands for uniform inference and formal pre-trend testing. Provides robust methods for dynamic treatment effect estimation.

event-study pre-trends sup-t-bands uniform-inference dynamic-effects
fixes Streamlined event study workflows with simple run_es() and plot_es() functions built on fixest. New 2025 package providing convenient wrappers for common event study specifications.

Streamlined event study workflows with simple run_es() and plot_es() functions built on fixest. New 2025 package providing convenient wrappers for common event study specifications.

event-study fixest DiD streamlined visualization

Causal Inference (Dynamic Treatment)

DTRreg Dynamic treatment regime estimation via G-estimation for sequential treatment decisions. Implements methods for finding optimal treatment rules that adapt over time based on patient characteristics.

Dynamic treatment regime estimation via G-estimation for sequential treatment decisions. Implements methods for finding optimal treatment rules that adapt over time based on patient characteristics.

dynamic-treatment G-estimation sequential-decisions optimal-treatment personalization
DynTxRegime Comprehensive package for dynamic treatment regimes implementing Q-learning, value search, and outcome-weighted learning methods. Accompanies the textbook 'Dynamic Treatment Regimes' (Tsiatis et al., 2020).

Comprehensive package for dynamic treatment regimes implementing Q-learning, value search, and outcome-weighted learning methods. Accompanies the textbook 'Dynamic Treatment Regimes' (Tsiatis et al., 2020).

dynamic-treatment Q-learning value-search reinforcement-learning personalized-medicine

Generalized Additive Models

gamlss Distributional regression where all parameters of a response distribution (location, scale, shape) can be modeled as functions of predictors, supporting 100+ distributions including highly skewed and kurtotic continuous and discrete distributions.

Distributional regression where all parameters of a response distribution (location, scale, shape) can be modeled as functions of predictors, supporting 100+ distributions including highly skewed and kurtotic continuous and discrete distributions.

distributional-regression location-scale-shape flexible-distributions centile-estimation beyond-mean-modeling
mgcv The definitive GAM implementation providing generalized additive (mixed) models with automatic smoothness estimation via REML/GCV/ML, supporting thin plate splines, tensor products, multiple distributions, and scalable fitting for large datasets.

The definitive GAM implementation providing generalized additive (mixed) models with automatic smoothness estimation via REML/GCV/ML, supporting thin plate splines, tensor products, multiple distributions, and scalable fitting for large datasets.

GAM splines smoothing penalized-regression mixed-models

Game Theory & Mechanism Design

Nashpy Computation of Nash equilibria for 2-player games. Support enumeration and Lemke-Howson algorithm.

Computation of Nash equilibria for 2-player games. Support enumeration and Lemke-Howson algorithm.

game theory Nash equilibrium
OpenSpiel DeepMind's 70+ game environments with multi-agent RL algorithms including Alpha-Rank, Neural Fictitious Self-Play, and CFR variants.

DeepMind's 70+ game environments with multi-agent RL algorithms including Alpha-Rank, Neural Fictitious Self-Play, and CFR variants.

game theory reinforcement learning multi-agent
fairpy Fair division algorithms from academic papers. Implements cake-cutting and item allocation procedures.

Fair division algorithms from academic papers. Implements cake-cutting and item allocation procedures.

fair division allocation mechanism design
fairpyx Course-seat allocation with capacity constraints. Practical fair division for university course assignment.

Course-seat allocation with capacity constraints. Practical fair division for university course assignment.

fair division course allocation mechanism design
pygambit N-player extensive form games with Alan Turing Institute support. Computes Nash, perfect, and sequential equilibria.

N-player extensive form games with Alan Turing Institute support. Computes Nash, perfect, and sequential equilibria.

game theory extensive form equilibrium

Causal Inference (Mediation)

CMAverse Unified interface for six causal mediation approaches including traditional regression, inverse odds weighting, and g-formula. Supports multiple sequential mediators and exposure-mediator interactions.

Unified interface for six causal mediation approaches including traditional regression, inverse odds weighting, and g-formula. Supports multiple sequential mediators and exposure-mediator interactions.

mediation g-formula multiple-mediators causal-mechanisms unified-interface
mediation Estimates Average Causal Mediation Effects (ACME) with sensitivity analysis for unmeasured confounding. Implements Tingley et al. (2014 JSS) methods for understanding causal mechanisms.

Estimates Average Causal Mediation Effects (ACME) with sensitivity analysis for unmeasured confounding. Implements Tingley et al. (2014 JSS) methods for understanding causal mechanisms.

mediation ACME causal-mechanisms sensitivity-analysis indirect-effects

Datasets

AER Companion package to 'Applied Econometrics with R' (Kleiber & Zeileis) plus datasets from Stock & Watson. Provides ivreg() for instrumental variables, tobit(), and econometric testing functions.

Companion package to 'Applied Econometrics with R' (Kleiber & Zeileis) plus datasets from Stock & Watson. Provides ivreg() for instrumental variables, tobit(), and econometric testing functions.

datasets textbook instrumental-variables Stock-Watson Kleiber-Zeileis
causaldata Unified collection of datasets from three major causal inference textbooks: 'The Effect' (Huntington-Klein), 'Causal Inference: The Mixtape' (Cunningham), and 'Causal Inference: What If?' (Hernán & Robins).

Unified collection of datasets from three major causal inference textbooks: 'The Effect' (Huntington-Klein), 'Causal Inference: The Mixtape' (Cunningham), and 'Causal Inference: What If?' (Hernán & Robins).

datasets causal-inference textbook The-Effect Mixtape
wooldridge All 115 datasets from Wooldridge's 'Introductory Econometrics: A Modern Approach' (7th edition). Includes wage equations, crime data, housing prices, and classic econometrics teaching examples.

All 115 datasets from Wooldridge's 'Introductory Econometrics: A Modern Approach' (7th edition). Includes wage equations, crime data, housing prices, and classic econometrics teaching examples.

datasets textbook teaching Wooldridge econometrics

Causal Inference (Principal Stratification)

PStrata Principal stratification analysis for noncompliance and truncation-by-death using both Bayesian (Stan) and frequentist estimation. Implements Liu and Li (2023) methods for causal inference with post-treatment complications.

Principal stratification analysis for noncompliance and truncation-by-death using both Bayesian (Stan) and frequentist estimation. Implements Liu and Li (2023) methods for causal inference with post-treatment complications.

principal-stratification noncompliance truncation-by-death Bayesian Stan

Conjoint Analysis

cjoint Estimates Average Marginal Component Effects (AMCEs) for conjoint experiments following Hainmueller, Hopkins & Yamamoto (2014). Handles multi-dimensional preferences with clustered standard errors.

Estimates Average Marginal Component Effects (AMCEs) for conjoint experiments following Hainmueller, Hopkins & Yamamoto (2014). Handles multi-dimensional preferences with clustered standard errors.

conjoint AMCE survey-experiments preferences political-science
cregg Tidy interface for conjoint analysis with visualization. Provides functions for calculating and plotting marginal means and AMCEs with ggplot2-based output for publication-ready figures.

Tidy interface for conjoint analysis with visualization. Provides functions for calculating and plotting marginal means and AMCEs with ggplot2-based output for publication-ready figures.

conjoint visualization marginal-means ggplot2 survey-experiments

Data Workflow

collapse High-performance data transformation package designed by an economist. Provides fast grouped operations, time series functions, and panel data tools with 10-100× speedups over dplyr on large data.

High-performance data transformation package designed by an economist. Provides fast grouped operations, time series functions, and panel data tools with 10-100× speedups over dplyr on large data.

data-transformation high-performance panel-data time-series grouped-operations
data.table Extension of data.frame providing fast aggregation of large data (100GB+), ordered joins, and memory-efficient operations. Uses reference semantics for in-place modification with concise syntax [:=, .SD, by=].

Extension of data.frame providing fast aggregation of large data (100GB+), ordered joins, and memory-efficient operations. Uses reference semantics for in-place modification with concise syntax [:=, .SD, by=].

data-manipulation fast large-data reference-semantics aggregation
haven Import and export Stata, SPSS, and SAS data files preserving variable labels and value labels. Handles .dta, .sav, .sas7bdat, and .xpt formats with labelled vectors for metadata.

Import and export Stata, SPSS, and SAS data files preserving variable labels and value labels. Handles .dta, .sav, .sas7bdat, and .xpt formats with labelled vectors for metadata.

Stata SPSS SAS data-import labelled-data
tidyverse Meta-package installing core tidyverse packages: ggplot2 (visualization), dplyr (manipulation), tidyr (tidying), readr (import), purrr (functional programming), tibble (data frames), stringr (strings), and forcats (factors).

Meta-package installing core tidyverse packages: ggplot2 (visualization), dplyr (manipulation), tidyr (tidying), readr (import), purrr (functional programming), tibble (data frames), stringr (strings), and forcats (factors).

tidyverse data-science dplyr ggplot2 meta-package

Dimensionality Reduction

FactorAnalyzer Specialized library for Exploratory (EFA) and Confirmatory (CFA) Factor Analysis with rotation options for interpretability.

Specialized library for Exploratory (EFA) and Confirmatory (CFA) Factor Analysis with rotation options for interpretability.

machine learning dimensionality
openTSNE Optimized, parallel implementation of t-distributed Stochastic Neighbor Embedding (t-SNE) for large datasets.

Optimized, parallel implementation of t-distributed Stochastic Neighbor Embedding (t-SNE) for large datasets.

machine learning dimensionality
umap-learn Fast and scalable implementation of Uniform Manifold Approximation and Projection (UMAP) for non-linear reduction.

Fast and scalable implementation of Uniform Manifold Approximation and Projection (UMAP) for non-linear reduction.

machine learning dimensionality

Cybersecurity

nvdlib Python wrapper for the NIST National Vulnerability Database (NVD) API for automated vulnerability intelligence

Python wrapper for the NIST National Vulnerability Database (NVD) API for automated vulnerability intelligence

vulnerabilities CVE NVD security research

Marketing Mix Models (MMM) & Business Analytics

ziln_cltv Google's Zero-Inflated Lognormal loss for heavily-tailed LTV distributions. Outputs both predicted LTV and churn probability.

Google's Zero-Inflated Lognormal loss for heavily-tailed LTV distributions. Outputs both predicted LTV and churn probability.

LTV customer analytics churn
Lifetimes Analyze customer lifetime value (CLV) using probabilistic models (BG/NBD, Pareto/NBD) to predict purchases.

Analyze customer lifetime value (CLV) using probabilistic models (BG/NBD, Pareto/NBD) to predict purchases.

marketing analytics
MaMiMo Lightweight Python library focused specifically on Marketing Mix Modeling implementation.

Lightweight Python library focused specifically on Marketing Mix Modeling implementation.

marketing analytics
PyMC Marketing Collection of Bayesian marketing models built with PyMC, including MMM, CLV, and attribution.

Collection of Bayesian marketing models built with PyMC, including MMM, CLV, and attribution.

marketing analytics Bayesian
mmm_stan Python/STAN implementation of Bayesian Marketing Mix Models.

Python/STAN implementation of Bayesian Marketing Mix Models.

marketing analytics Bayesian

Defense Research

conflictcartographer Python package for conflict event data visualization and geospatial analysis

Python package for conflict event data visualization and geospatial analysis

conflict mapping ACLED visualization
peacesciencer R package for generating dyad-year and state-year datasets with conflict, democracy, alliance, and contiguity data

R package for generating dyad-year and state-year datasets with conflict, democracy, alliance, and contiguity data

conflict data COW-MID UCDP dyad-year

Marketing Analytics

Robyn Meta's AI/ML-powered Marketing Mix Modeling package with ridge regression and multi-objective optimization

Meta's AI/ML-powered Marketing Mix Modeling package with ridge regression and multi-objective optimization

MMM marketing mix budget optimization Meta
PyMC-Marketing Bayesian Marketing Mix Modeling and Customer Lifetime Value with PyMC, including GPU acceleration

Bayesian Marketing Mix Modeling and Customer Lifetime Value with PyMC, including GPU acceleration

MMM Bayesian CLV PyMC

Data Wrangling

countrycode R package for converting between country naming and coding conventions essential for merging defense datasets

R package for converting between country naming and coding conventions essential for merging defense datasets

country codes data merging ISO COW

Interference & Spillovers

CausalMotifs Meta's library for estimating heterogeneous spillover effects in A/B tests. Handles network interference.

Meta's library for estimating heterogeneous spillover effects in A/B tests. Handles network interference.

network interference spillovers A/B testing
spilled_t Treatment and spillover effect estimation under network interference. Separates direct and indirect effects.

Treatment and spillover effect estimation under network interference. Separates direct and indirect effects.

network interference spillovers treatment effects
testinterference Statistical tests for SUTVA violations and spillover hypotheses. Detects network interference in experiments.

Statistical tests for SUTVA violations and spillover hypotheses. Detects network interference in experiments.

SUTVA spillovers hypothesis testing

Inference & Reporting Tools

Computational Methods for practitioners Open-source textbook by Richard Evans on computational methods for researchers using Python.

Open-source textbook by Richard Evans on computational methods for researchers using Python.

education computation textbook
maketables Publication-ready regression tables for pyfixest, statsmodels, linearmodels. Outputs HTML (great-tables), LaTeX, Word.

Publication-ready regression tables for pyfixest, statsmodels, linearmodels. Outputs HTML (great-tables), LaTeX, Word.

reporting tables visualization
Econ Project Templates Cookiecutter templates for reproducible economics research projects. Standardized project structure.

Cookiecutter templates for reproducible economics research projects. Standardized project structure.

reproducibility templates workflow
Python Packages for Applied Economists Curated collection of Python packages for applied researchers organized by functionality.

Curated collection of Python packages for applied researchers organized by functionality.

curated list resources
clusterbootstraps Wild cluster bootstrap and pairs cluster bootstrap implementations for clustered standard errors.

Wild cluster bootstrap and pairs cluster bootstrap implementations for clustered standard errors.

bootstrap clustered errors inference

Text Analysis

stm Structural Topic Models incorporating document-level metadata as covariates affecting topic prevalence and content. Enables studying how topics vary across groups or time with uncertainty quantification.

Structural Topic Models incorporating document-level metadata as covariates affecting topic prevalence and content. Enables studying how topics vary across groups or time with uncertainty quantification.

topic-models text-analysis covariates LDA document-metadata
quanteda Comprehensive framework for quantitative text analysis. Provides fast text preprocessing, document-feature matrices, dictionary analysis, and integration with topic models. Standard for political science text analysis.

Comprehensive framework for quantitative text analysis. Provides fast text preprocessing, document-feature matrices, dictionary analysis, and integration with topic models. Standard for political science text analysis.

text-analysis NLP document-term-matrix text-preprocessing political-science
text2vec Efficient text vectorization with word embeddings (GloVe), topic models (LDA), and document similarity. Memory-efficient streaming API for large corpora with C++ backend.

Efficient text vectorization with word embeddings (GloVe), topic models (LDA), and document similarity. Memory-efficient streaming API for large corpora with C++ backend.

word-embeddings GloVe text-vectorization LDA document-similarity
tidytext Tidy data principles for text mining. Converts text to tidy format (one-token-per-row), enabling analysis with dplyr, ggplot2, and other tidyverse tools. Accompanies the book 'Text Mining with R'.

Tidy data principles for text mining. Converts text to tidy format (one-token-per-row), enabling analysis with dplyr, ggplot2, and other tidyverse tools. Accompanies the book 'Text Mining with R'.

text-mining tidyverse tokenization sentiment-analysis NLP

Standard Errors, Bootstrapping & Reporting

Awesome Quant Curated list of quantitative finance libraries and resources (many statistical/TS tools overlap with econometrics).

Curated list of quantitative finance libraries and resources (many statistical/TS tools overlap with econometrics).

bootstrap standard errors
Beyond Jupyter (TransferLab) Teaches software design principles for ML—modularity, abstraction, and reproducibility—going beyond ad hoc Jupyter workflows. Focus on maintainable, production-quality ML code.

Teaches software design principles for ML—modularity, abstraction, and reproducibility—going beyond ad hoc Jupyter workflows. Focus on maintainable, production-quality ML code.

bootstrap standard errors
Causal Inference for the Brave and True Modern introduction to causal inference methods (DiD, IV, RDD, Synth, ML-based) with Python code examples.

Modern introduction to causal inference methods (DiD, IV, RDD, Synth, ML-based) with Python code examples.

bootstrap standard errors
Coding for Economists Practical guide by A. Turrell on using Python for modern econometric research, data analysis, and workflows.

Practical guide by A. Turrell on using Python for modern econometric research, data analysis, and workflows.

bootstrap standard errors
Deep Learning Specialization (Coursera) Intermediate 5-course series by Andrew Ng covering deep neural networks, CNNs, RNNs, transformers, and real-world DL applications using TensorFlow.

Intermediate 5-course series by Andrew Ng covering deep neural networks, CNNs, RNNs, transformers, and real-world DL applications using TensorFlow.

bootstrap standard errors machine learning
Machine Learning Specialization (Coursera) Beginner-friendly 3-course series by Andrew Ng covering core ML methods (regression, classification, clustering, trees, NN) with hands-on projects.

Beginner-friendly 3-course series by Andrew Ng covering core ML methods (regression, classification, clustering, trees, NN) with hands-on projects.

bootstrap standard errors
Python for Econometrics Comprehensive intro notes by Kevin Sheppard covering Python basics, core libraries, and econometrics applications.

Comprehensive intro notes by Kevin Sheppard covering Python basics, core libraries, and econometrics applications.

bootstrap standard errors
QuantEcon Lectures High-quality lecture series on quantitative economic modeling, computational tools, and economics using Python/Julia.

High-quality lecture series on quantitative economic modeling, computational tools, and economics using Python/Julia.

bootstrap standard errors
SciPy Bootstrap (`scipy.stats.bootstrap`) Computes bootstrap confidence intervals for various statistics using percentile, BCa methods.

(`scipy.stats.bootstrap`) Computes bootstrap confidence intervals for various statistics using percentile, BCa methods.

bootstrap standard errors
Stargazer Python port of R's stargazer for creating publication-quality regression tables (HTML, LaTeX) from `statsmodels` & `linearmodels` results.

Python port of R's stargazer for creating publication-quality regression tables (HTML, LaTeX) from `statsmodels` & `linearmodels` results.

bootstrap standard errors
The Missing Semester of Your CS Education (MIT) Teaches essential developer tools often skipped in formal education—command line, Git, Vim, scripting, debugging, etc.

Teaches essential developer tools often skipped in formal education—command line, Git, Vim, scripting, debugging, etc.

bootstrap standard errors
wildboottest Fast implementation of various wild cluster bootstrap algorithms (WCR, WCU) for robust inference, especially with few clusters.

Fast implementation of various wild cluster bootstrap algorithms (WCR, WCU) for robust inference, especially with few clusters.

bootstrap standard errors

Structural Equation Modeling

OpenMx Extended SEM software with programmatic model specification via paths (RAM) or matrix algebra, supporting mixture distributions, item factor analysis, state space models, and behavior genetics twin studies.

Extended SEM software with programmatic model specification via paths (RAM) or matrix algebra, supporting mixture distributions, item factor analysis, state space models, and behavior genetics twin studies.

SEM matrix-algebra twin-studies behavior-genetics IFA
blavaan Bayesian latent variable analysis extending lavaan with MCMC estimation via Stan or JAGS, supporting Bayesian CFA, SEM, growth models, and model comparison with WAIC, LOO, and Bayes factors.

Bayesian latent variable analysis extending lavaan with MCMC estimation via Stan or JAGS, supporting Bayesian CFA, SEM, growth models, and model comparison with WAIC, LOO, and Bayes factors.

Bayesian-SEM Stan JAGS MCMC latent-variables
lavaan Free, open-source latent variable analysis providing commercial-quality functionality for path analysis, confirmatory factor analysis, structural equation modeling, and growth curve models with intuitive model syntax.

Free, open-source latent variable analysis providing commercial-quality functionality for path analysis, confirmatory factor analysis, structural equation modeling, and growth curve models with intuitive model syntax.

SEM CFA path-analysis latent-variables psychometrics

Space & Orbital Analysis

Skyfield Elegant astronomy library for computing satellite and celestial positions using JPL ephemeris data

Elegant astronomy library for computing satellite and celestial positions using JPL ephemeris data

satellites astronomy orbital mechanics ephemeris
sgp4 Implementation of the SGP4/SDP4 satellite propagation algorithms for processing TLE orbital data

Implementation of the SGP4/SDP4 satellite propagation algorithms for processing TLE orbital data

satellites TLE propagation orbital mechanics
spacetrack Python client for the Space-Track.org API to access satellite catalog and TLE data

Python client for the Space-Track.org API to access satellite catalog and TLE data

Space-Track satellites API TLE

Quantile Regression & Distributional Methods

pyqreg Fast quantile regression solver using interior point methods, supporting robust and clustered standard errors.

Fast quantile regression solver using interior point methods, supporting robust and clustered standard errors.

quantile regression
pyrifreg Recentered Influence‑Function (RIF) regression for unconditional quantile & distributional effects (Firpo et al., 2008).

Recentered Influence‑Function (RIF) regression for unconditional quantile & distributional effects (Firpo et al., 2008).

quantile regression
quantile-forest Scikit-learn compatible implementation of Quantile Regression Forests for non-parametric estimation.

Scikit-learn compatible implementation of Quantile Regression Forests for non-parametric estimation.

quantile regression

Network Analysis

ggraph Grammar of graphics for network data built on ggplot2. Provides layouts, geometries, and faceting specifically designed for network visualization with publication-quality output.

Grammar of graphics for network data built on ggplot2. Provides layouts, geometries, and faceting specifically designed for network visualization with publication-quality output.

networks visualization ggplot2 graph-layouts publication-ready
igraph Comprehensive network analysis library with efficient algorithms for network creation, manipulation, and analysis. Provides centrality measures, community detection, graph visualization, and network statistics.

Comprehensive network analysis library with efficient algorithms for network creation, manipulation, and analysis. Provides centrality measures, community detection, graph visualization, and network statistics.

networks graph-algorithms centrality community-detection network-statistics
python-louvain Community detection in large networks using the Louvain algorithm, applicable to defense network analysis

Community detection in large networks using the Louvain algorithm, applicable to defense network analysis

community detection clustering networks Louvain
sna Social network analysis tools including network visualization, centrality measures, and statistical models for network data. Part of the statnet suite for network regression and exponential random graph models.

Social network analysis tools including network visualization, centrality measures, and statistical models for network data. Part of the statnet suite for network regression and exponential random graph models.

social-networks network-regression statnet ERGM centrality
tidygraph Tidy data interface for network/graph data. Extends dplyr verbs to work with nodes and edges, enabling pipe-friendly network manipulation that integrates seamlessly with ggraph for visualization.

Tidy data interface for network/graph data. Extends dplyr verbs to work with nodes and edges, enabling pipe-friendly network manipulation that integrates seamlessly with ggraph for visualization.

networks tidyverse graph-manipulation dplyr pipes

Research Tools

Connected Papers Visual tool for exploring academic paper relationships. Creates visual graphs showing prior and derivative works.

Visual tool for exploring academic paper relationships. Creates visual graphs showing prior and derivative works.

literature-review visualization citations academic
Consensus AI-powered academic search engine providing evidence-based answers from peer-reviewed literature with economics specialty.

AI-powered academic search engine providing evidence-based answers from peer-reviewed literature with economics specialty.

literature-review research evidence-based academic
Elicit AI research assistant that automates literature review across 126M+ academic papers. 99%+ accuracy in data extraction from research papers.

AI research assistant that automates literature review across 126M+ academic papers. 99%+ accuracy in data extraction from research papers.

literature-review research AI-assistant academic
Research Rabbit Free tool for discovering academic papers through network visualization of paper connections and co-authorships.

Free tool for discovering academic papers through network visualization of paper connections and co-authorships.

literature-review visualization discovery academic
Semantic Scholar API AI-powered research tool with 200M+ papers indexed. Free API access for academic paper search and citation analysis.

AI-powered research tool with 200M+ papers indexed. Free API access for academic paper search and citation analysis.

literature-review API citations academic

Regression Output

broom Converts messy output from 100+ statistical model types into consistent tidy tibbles using three verbs: tidy() for coefficient-level statistics, glance() for model-level summaries (R², AIC), and augment() for fitted values and residuals.

Converts messy output from 100+ statistical model types into consistent tidy tibbles using three verbs: tidy() for coefficient-level statistics, glance() for model-level summaries (R², AIC), and augment() for fitted values and residuals.

tidy-data tidymodels statistical-models tidyverse modeling
gt Build display tables from tabular data using a cohesive grammar of table parts (header, stub, body, footer). Enables progressive construction of publication-quality tables with extensive formatting, footnotes, and cell styling. Outputs to HTML, LaTeX, and RTF.

Build display tables from tabular data using a cohesive grammar of table parts (header, stub, body, footer). Enables progressive construction of publication-quality tables with extensive formatting, footnotes, and cell styling. Outputs to HTML, LaTeX, and RTF.

grammar-of-tables display-tables HTML-tables Posit formatting
gtsummary Creates publication-ready analytical and summary tables (Table 1 demographics, regression results, survival analyses) with one line of code. Auto-detects variable types, calculates appropriate statistics, and formats regression models with reference rows and appropriate headers.

Creates publication-ready analytical and summary tables (Table 1 demographics, regression results, survival analyses) with one line of code. Auto-detects variable types, calculates appropriate statistics, and formats regression models with reference rows and appropriate headers.

summary-tables Table1 clinical-tables regression-tables reproducible-research
modelsummary Creates publication-quality tables summarizing multiple statistical models side-by-side, plus coefficient plots, data summaries, and correlation matrices. Supports 100+ model types via broom/parameters with output to HTML, LaTeX, Word, PDF, PNG, and Excel.

Creates publication-quality tables summarizing multiple statistical models side-by-side, plus coefficient plots, data summaries, and correlation matrices. Supports 100+ model types via broom/parameters with output to HTML, LaTeX, Word, PDF, PNG, and Excel.

regression-tables model-summary coefficient-plots publication-tables tidyverse
stargazer Produces well-formatted LaTeX, HTML/CSS, and ASCII regression tables with multiple models side-by-side, plus summary statistics tables. Widely used in economics with journal-specific formatting styles (AER, QJE, ASR).

Produces well-formatted LaTeX, HTML/CSS, and ASCII regression tables with multiple models side-by-side, plus summary statistics tables. Widely used in economics with journal-specific formatting styles (AER, QJE, ASR).

LaTeX-tables regression-output academic-publishing economics HTML-tables
texreg Converts coefficients, standard errors, significance stars, and fit statistics from statistical models into LaTeX, HTML, Word, or console output. Highly extensible with support for custom model types and confidence intervals.

Converts coefficients, standard errors, significance stars, and fit statistics from statistical models into LaTeX, HTML, Word, or console output. Highly extensible with support for custom model types and confidence intervals.

LaTeX-tables HTML-tables model-comparison Word-export extensible

Reproducibility

here Simple path construction from project root. Uses heuristics to find project root (RStudio, .git, .here) enabling portable paths that work across different machines and working directories.

Simple path construction from project root. Uses heuristics to find project root (RStudio, .git, .here) enabling portable paths that work across different machines and working directories.

paths project-management reproducibility portability working-directory
renv Project-local R dependency management. Creates reproducible environments by recording package versions in a lockfile, isolating project libraries, and enabling version restore.

Project-local R dependency management. Creates reproducible environments by recording package versions in a lockfile, isolating project libraries, and enabling version restore.

reproducibility package-management dependency-isolation lockfile environments
rmarkdown Dynamic documents combining R code with Markdown text. Generates reproducible reports in HTML, PDF, Word, and slides. Foundation for literate programming and reproducible research in R.

Dynamic documents combining R code with Markdown text. Generates reproducible reports in HTML, PDF, Word, and slides. Foundation for literate programming and reproducible research in R.

literate-programming reproducible-research dynamic-documents reporting Markdown
targets Make-like pipeline toolkit for R. Declares dependencies between pipeline steps, skips up-to-date targets, and supports parallel execution. Standard for reproducible research workflows.

Make-like pipeline toolkit for R. Declares dependencies between pipeline steps, skips up-to-date targets, and supports parallel execution. Standard for reproducible research workflows.

pipelines reproducibility make dependency-tracking parallel

Geospatial

Recommender Systems

Surprise A Python scikit for building and analyzing recommender systems with explicit ratings. Implements SVD, SVD++, NMF, k-NN, and other classic collaborative filtering algorithms. The go-to library for Netflix Prize-style recommendations.

A Python scikit for building and analyzing recommender systems with explicit ratings. Implements SVD, SVD++, NMF, k-NN, and other classic collaborative filtering algorithms. The go-to library for Netflix Prize-style recommendations.

recommender systems collaborative filtering matrix factorization

PDF & Document Processing

GROBID Machine learning library for extracting structured data from scholarly PDFs. Parses headers, references, authors, affiliations with ~0.87-0.90 F1-score. Used by ResearchGate, Semantic Scholar, Internet Archive.

Machine learning library for extracting structured data from scholarly PDFs. Parses headers, references, authors, affiliations with ~0.87-0.90 F1-score. Used by ResearchGate, Semantic Scholar, Internet Archive.

pdf-parsing reference-extraction scholarly-documents machine-learning tei-xml
Marker Convert PDF, DOCX, PPTX to markdown with high accuracy. Handles tables, equations (LaTeX), code blocks, and references. 10x faster than Nougat with optional LLM enhancement for complex layouts.

Convert PDF, DOCX, PPTX to markdown with high accuracy. Handles tables, equations (LaTeX), code blocks, and references. 10x faster than Nougat with optional LLM enhancement for complex layouts.

pdf-to-markdown document-conversion latex equation-extraction llm-enhanced
PyMuPDF High-performance Python library for PDF data extraction, analysis, and manipulation. Processes 36 documents/second for headers with excellent text fidelity. Wraps the MuPDF library.

High-performance Python library for PDF data extraction, analysis, and manipulation. Processes 36 documents/second for headers with excellent text fidelity. Wraps the MuPDF library.

pdf text-extraction document-processing mupdf high-performance
pdfplumber Plumb PDFs for detailed information about characters, rectangles, lines, and tables. Excels at table extraction with visual debugging tools. Built on pdfminer.six.

Plumb PDFs for detailed information about characters, rectangles, lines, and tables. Excels at table extraction with visual debugging tools. Built on pdfminer.six.

pdf table-extraction text-extraction visual-debugging
pdftools Extract text, metadata, and positional data from PDF documents in R. Part of rOpenSci, processes PDFs at ~0.1 seconds per document with excellent text fidelity.

Extract text, metadata, and positional data from PDF documents in R. Part of rOpenSci, processes PDFs at ~0.1 seconds per document with excellent text fidelity.

pdf text-extraction document-processing ropensci

Bibliography Management

bibtexparser Parse and write BibTeX files in Python with middleware transformations. Trusted by 1,600+ repositories. Version 2.0 beta offers 10x faster performance.

Parse and write BibTeX files in Python with middleware transformations. Trusted by 1,600+ repositories. Version 2.0 beta offers 10x faster performance.

bibtex bibliography latex citation-management
Papis Powerful CLI document and bibliography manager with git-like interface. Auto-fetches metadata from DOI/arXiv/ISBN, exports to BibTeX, integrates with Vim/Emacs. Syncs via git/Dropbox.

Powerful CLI document and bibliography manager with git-like interface. Auto-fetches metadata from DOI/arXiv/ISBN, exports to BibTeX, integrates with Vim/Emacs. Syncs via git/Dropbox.

cli bibliography-manager bibtex document-management vim emacs
RefManageR Comprehensive bibliography management in R with BibTeX/BibLaTeX read/write, CrossRef and Zotero API integration, UTF-8 support, and RMarkdown citation generation.

Comprehensive bibliography management in R with BibTeX/BibLaTeX read/write, CrossRef and Zotero API integration, UTF-8 support, and RMarkdown citation generation.

bibtex citations bibliography zotero crossref
bibliometrix Comprehensive science mapping and bibliometric analysis. Imports from Web of Science, Scopus, PubMed, OpenAlex. Provides co-citation networks, thematic evolution, and the Biblioshiny GUI. Over 5,200 academic citations.

Comprehensive science mapping and bibliometric analysis. Imports from Web of Science, Scopus, PubMed, OpenAlex. Provides co-citation networks, thematic evolution, and the Biblioshiny GUI. Over 5,200 academic citations.

bibliometrics science-mapping citation-analysis co-citation scopus web-of-science
rbibutils Convert between 15+ bibliography formats including BibTeX, EndNote, RIS, MODS XML, and more. Low-level format conversion for academic reference management.

Convert between 15+ bibliography formats including BibTeX, EndNote, RIS, MODS XML, and more. Low-level format conversion for academic reference management.

bibtex endnote ris bibliography-conversion format-conversion

Geospatial & Spatial Economics

GeoAI Python package integrating AI with geospatial data analysis and visualization. 70+ end-to-end Jupyter notebook examples and a QGIS plugin. Published in JOSS.

Python package integrating AI with geospatial data analysis and visualization. 70+ end-to-end Jupyter notebook examples and a QGIS plugin. Published in JOSS.

geospatial machine-learning spatial-analysis QGIS visualization