Comparison
linearmodels vs pyfixest vs statsmodels
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Linear Panel, Instrumental Variable, Asset Pricing, and System Regression models for Python
Maintained. Last release 6 weeks ago, commits in 20 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install linearmodelsFast high dimensional fixed effect estimation following syntax of the fixest R package.
Actively maintained. Last release 3 weeks ago, commits in 25 of the last 26 weeks. A safe choice.
pip install pyfixestStatistical computations and models for Python
Maintained. Last release 3 months ago, commits in 26 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install statsmodelsIn short
- statsmodels is the most used: 43M downloads a month, 81× more than linearmodels.
- pyfixest is better maintained: Pythie’s Index 81 against 69.
- pyfixest is growing fastest: downloads +43% over the last month.
- Safe default for a new project: statsmodels, or pyfixest if active maintenance matters most.
Side by side
| Metric | linearmodels | pyfixest | statsmodels |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 69 | 81 |