Skip to content

Developer tools

statsmodels

Free optionOpen sourceLocal

Fit statistical models and inspect regression results in Python.

What you can use it for

Fit statistical models and inspect regression results in Python.

  • Script reproducible regressions and statistical analyses without a paid statistics licence.
  • Works with Python data tools and exposes results for further analysis.
Workflow coverage and comparison notes

Import tabular data and run everyday statistical analyses and regression locally. This is a replacement for the analysis workflow, not Stata .do-file compatibility, every estimator, survey/panel procedure or proprietary extension.

Before you switch

A Python library with a coding and environment-setup requirement. No point-and-click Stata interface or direct .do-file execution. Our check covers a synthetic linear regression and saved-model round trip, not every estimator, real research dataset or survey/panel workflow. BSD-3-Clause software; your own compute is required.

Alternatives to these paid apps

Each comparison covers the workflow described above, rather than every paid feature.