# statsmodels

> Statistical modeling, hypothesis tests and econometrics in Python

Source: https://talira.ai/catalog/statsmodels-mh2xbekc
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / math / statistics](https://talira.ai/categories/libraries/math/statistics), [ai / ml / time series forecasting](https://talira.ai/categories/ai/ml/time-series-forecasting), [languages / python](https://talira.ai/categories/languages/python)
- Licence: BSD-3-Clause[^1][^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [statsmodels developers](https://talira.ai/orgs/statsmodels.md)
- Creator: Josef Perktold, Skipper Seabold and Jonathan Taylor
- Sponsors: Google Summer of Code, AQR

statsmodels estimates statistical models, runs hypothesis tests and explores data in Python: linear and generalized linear models, robust and mixed-effects models, discrete choice, time series analysis (ARIMA, SARIMAX, VAR, exponential smoothing, state space models), survival analysis and nonparametric methods, each with a full set of result statistics. Models can be written as R-style formulas over [pandas](https://talira.ai/catalog/pandas-bgwb9qmt.md) DataFrames, and results are tested against R, Stata or SAS. It builds on [NumPy](https://talira.ai/catalog/numpy-4ssygecp.md) and [SciPy](https://talira.ai/catalog/scipy-zwygb7yt.md).

## Links

- Website: https://www.statsmodels.org/
- GitHub: https://github.com/statsmodels/statsmodels
- Docs: https://www.statsmodels.org/stable/index.html

## Problems it solves

- run a linear regression in Python and get p-values, confidence intervals and a full summary table like R
- fit an ARIMA or SARIMAX model to forecast a time series in Python
- run statistical hypothesis tests and regression diagnostics on a pandas DataFrame

## Features

- Linear, generalized linear, robust and mixed-effects models
- Time series: ARIMA, SARIMAX, VAR, exponential smoothing, state space models
- Hypothesis tests and regression diagnostics
- Discrete choice, survival and nonparametric methods
- R-style formulas over pandas DataFrames
- Results verified against R, Stata or SAS

## Capabilities

- Has official SDKs: plan not known

## Trust

Overall: 0.76 out of 1.
Signals: maintenance 1.00, adoption 0.81, momentum 0.55, community 1.00, backing 0.65, extensibility 0.00.

- last commit 5 days ago
- 2379 commits in the last 90 days
- latest release v0.15.0 3 months ago
- 11.8k GitHub stars
- 638 contributors
- backed by statsmodels developers
- created by Josef Perktold, Skipper Seabold and Jonathan Taylor
- sponsored by Google Summer of Code, AQR

## Alternatives

- [Prophet](https://talira.ai/catalog/prophet-8x1yp9mt.md): Automatic forecasting procedure for time series
- [SciPy](https://talira.ai/catalog/scipy-zwygb7yt.md): Fundamental algorithms for scientific computing in Python
- [scikit-learn](https://talira.ai/catalog/scikit-learn-2wqm3d6m.md): Simple and efficient tools for predictive data analysis
- [R](https://talira.ai/catalog/r-jj1se4aq.md): A free software environment for statistical computing and graphics

## Sources

[^1]: https://www.statsmodels.org/stable/index.html (checked 24 Nov 2026)
[^2]: https://github.com/statsmodels/statsmodels/blob/main/LICENSE.txt (checked 24 Nov 2026)
