Recent software development
hdfe-stream: Regression with high dimensional fixed effects on data that do not fit in memory, in Python. It also handles the usual suite of OLS/IV/GLM regressions. It matches or exceeds the speed of frontier HDFE regression packages, while also greatly reducing memory usage -- often by 80% or more. (PyPi / GitHub / Docs).
diff-stream Difference-in-differences with staggered treatment timing, on panels larger than memory. Includes Callaway and Sant'Anna, Sun and Abraham, Borusyak, Jaravel and Spiess imputation, Gardner's two-stage DiD, Wooldridge's extended two-way fixed effects, stacked DiD, de chaisemartin and d'haultfoeuille, and Callaway, Goodman-Bacon, and Sant'Anna continuous diff-in-diff. (PyPi / GitHub / Docs).
logit-stream: High-performance logit models that do not fit in memory; binary, multinomial, ordered, conditional, mixed/nested, including absorbed fixed effects. (PyPi / GitHub / Docs).
forest-stream: Honest causal and instrumental forests, quantile forests, regression forests, random forests and decision trees for data with millions of rows, with fixed effects removed by hdfe-stream. (PyPi / GitHub / Docs).
penalized-stream: Lasso, ridge and elastic net for data that do not fit in memory, with any number of absorbed fixed effects, cross-validation, and inference after selection. Includes instruments and penalized logit, too. (PyPi / GitHub / Docs).
match-stream: Matching on data larger than memory, including nearest-neighbor with or without replacement, calipers on score/covariates, exact strata, and Mahalanobis, kernel, ridge and coarsened exact matching. It also gives balance diagnostics, and treatment effects with Abadie–Imbens or clustered standard errors. (PyPi / GitHub / Docs).
rd-stream: Fast regression discontinuity estimates with robust bias-corrected inference, on data with millions of rows or more. (PyPi / GitHub / Docs).
dpd-stream: Arellano–Bond (difference) and Blundell–Bond (system) GMM for dynamic panel data, out of core and fast. (PyPi / GitHub / Docs).
Contact
- Email: lee.c.tucker@census.gov
- Google Scholar
- Twitter: @LeeCTucker
This is a personal website. Any results or conclusions in the research presented on this website are my own and do not necessarily represent the views of the U.S. Census Bureau