Statsmodels provides Python tools for inferential statistics, hypothesis testing, and regression.

statsmodels.org/stable/index.html
Statsmodels homepage screenshot

About Statsmodels

Statsmodels is a Python module for estimating statistical models, running hypothesis tests, and exploring data. The homepage is the online documentation for version 0.15.0 and describes classes and functions for many kinds of statistical models. Each estimator comes with an extensive set of result statistics.

The library accepts R-style formulas and pandas DataFrames, and it can also take NumPy arrays. The homepage shows an ordinary least squares regression example with a full results summary. Its documentation notes that standard errors assume the covariance matrix of the errors is correctly specified.

Key features

  • Classes and functions for estimating many different statistical models
  • Statistical hypothesis tests
  • Data exploration tools for statistical analysis
  • R-style formula model specification with pandas DataFrames
  • Extensive result statistics available for each estimator
  • Ordinary least squares regression with NumPy arrays as an alternative to formulas
Best for: Python users who fit regression and other statistical models, run hypothesis tests, and need detailed result statistics.
Good for
  • The homepage states that results are tested against existing statistical packages.
  • Models can be specified with R-style formulas and pandas DataFrames.
  • Each estimator provides an extensive list of result statistics.
Watch out for
  • The homepage notes that standard errors assume the covariance matrix of the errors is correctly specified.

Statsmodels at a glance

Type
Website
Pricing
Not confirmed. Check the site
Platforms
Web
Open source
Not stated
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

Statsmodels alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Developer Tools

Well-known listings from the same topic.

All 423

Statsmodels FAQ

How is statsmodels installed?
The homepage gives the install command as python -m pip install statsmodels.
Can models be specified without formulas?
Yes. The homepage shows that NumPy arrays can be used instead of formulas, with a constant term added to the regressors.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing