The statsmodels developers are pleased to announce the release of statsmodels 0.15.0. It comes 3 years after the first release of 0.14.0. In total, 655 pull requests were merged.
Major new features include:
- Standardized on
rngfor controlling randomness across the package (SPEC 007), replacingseed/random_state - Functions with variable-length tuple returns now return documented
NamedTupleresults instead - A new abstracted formula engine that supports both
patsyandformulaicas the backend - Support for
PolarsDataFrames and Series as model input - Switched the build backend from
setuptoolstomeson-python - New robust estimators:
CovDetMCD,CovDetS,CovDetMM, andRLMDetSMM - New tests: Diebold-Mariano, Pesaran-Timmermann, Jonckheere-Terpstra, Leybourne-McCabe, and a delete-k block jackknife estimator
- The Hamilton filter, local false discovery rate correction, and an L1-penalized GLM solver
HurdleCountModelgainedfit_regularized, andMICEDatais now iterable
This release also raises the minimum supported versions of NumPy, SciPy, and pandas.
Test coverage has been substantially increased, and many edge-case bugs have also been fixed.