statsmodels 0.14.6


pip install statsmodels

  Latest version

Released: Dec 05, 2025


Meta
Maintainer: statsmodels Developers
Requires Python: >=3.9

Classifiers

Development Status
  • 4 - Beta

Environment
  • Console

Programming Language
  • Cython
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13

Operating System
  • OS Independent

Intended Audience
  • End Users/Desktop
  • Developers
  • Science/Research

Natural Language
  • English

License
  • OSI Approved :: BSD License

Topic
  • Office/Business :: Financial
  • Scientific/Engineering
Statsmodels logo

PyPI Version Conda Version License Azure CI Build Status Codecov Coverage Coveralls Coverage PyPI - Downloads Conda downloads

About statsmodels

statsmodels is a Python package that provides a complement to scipy for statistical computations including descriptive statistics and estimation and inference for statistical models.

Documentation

The documentation for the latest release is at

https://www.statsmodels.org/stable/

The documentation for the development version is at

https://www.statsmodels.org/dev/

Recent improvements are highlighted in the release notes

https://www.statsmodels.org/stable/release/

Backups of documentation are available at https://statsmodels.github.io/stable/ and https://statsmodels.github.io/dev/.

Main Features

  • Linear regression models:

    • Ordinary least squares

    • Generalized least squares

    • Weighted least squares

    • Least squares with autoregressive errors

    • Quantile regression

    • Recursive least squares

  • Mixed Linear Model with mixed effects and variance components

  • GLM: Generalized linear models with support for all of the one-parameter exponential family distributions

  • Bayesian Mixed GLM for Binomial and Poisson

  • GEE: Generalized Estimating Equations for one-way clustered or longitudinal data

  • Discrete models:

    • Logit and Probit

    • Multinomial logit (MNLogit)

    • Poisson and Generalized Poisson regression

    • Negative Binomial regression

    • Zero-Inflated Count models

  • RLM: Robust linear models with support for several M-estimators.

  • Time Series Analysis: models for time series analysis

    • Complete StateSpace modeling framework

      • Seasonal ARIMA and ARIMAX models

      • VARMA and VARMAX models

      • Dynamic Factor models

      • Unobserved Component models

    • Markov switching models (MSAR), also known as Hidden Markov Models (HMM)

    • Univariate time series analysis: AR, ARIMA

    • Vector autoregressive models, VAR and structural VAR

    • Vector error correction model, VECM

    • exponential smoothing, Holt-Winters

    • Hypothesis tests for time series: unit root, cointegration and others

    • Descriptive statistics and process models for time series analysis

  • Survival analysis:

    • Proportional hazards regression (Cox models)

    • Survivor function estimation (Kaplan-Meier)

    • Cumulative incidence function estimation

  • Multivariate:

    • Principal Component Analysis with missing data

    • Factor Analysis with rotation

    • MANOVA

    • Canonical Correlation

  • Nonparametric statistics: Univariate and multivariate kernel density estimators

  • Datasets: Datasets used for examples and in testing

  • Statistics: a wide range of statistical tests

    • diagnostics and specification tests

    • goodness-of-fit and normality tests

    • functions for multiple testing

    • various additional statistical tests

  • Imputation with MICE, regression on order statistic and Gaussian imputation

  • Mediation analysis

  • Graphics includes plot functions for visual analysis of data and model results

  • I/O

    • Tools for reading Stata .dta files, but pandas has a more recent version

    • Table output to ascii, latex, and html

  • Miscellaneous models

  • Sandbox: statsmodels contains a sandbox folder with code in various stages of development and testing which is not considered “production ready”. This covers among others

    • Generalized method of moments (GMM) estimators

    • Kernel regression

    • Various extensions to scipy.stats.distributions

    • Panel data models

    • Information theoretic measures

How to get it

The main branch on GitHub is the most up to date code

https://www.github.com/statsmodels/statsmodels

Source download of release tags are available on GitHub

https://github.com/statsmodels/statsmodels/tags

Binaries and source distributions are available from PyPi

https://pypi.org/project/statsmodels/

Binaries can be installed in Anaconda

conda install statsmodels

Getting the latest code

Installing the most recent nightly wheel

The most recent nightly wheel can be installed using pip.

python -m pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple statsmodels --upgrade --use-deprecated=legacy-resolver

Installing from sources

See INSTALL.txt for requirements or see the documentation

https://statsmodels.github.io/dev/install.html

Contributing

Contributions in any form are welcome, including:

  • Documentation improvements

  • Additional tests

  • New features to existing models

  • New models

https://www.statsmodels.org/stable/dev/test_notes

for instructions on installing statsmodels in editable mode.

License

Modified BSD (3-clause)

Discussion and Development

Discussions take place on the mailing list

https://groups.google.com/group/pystatsmodels

and in the issue tracker. We are very interested in feedback about usability and suggestions for improvements.

Bug Reports

Bug reports can be submitted to the issue tracker at

https://github.com/statsmodels/statsmodels/issues

0.14.6 Dec 05, 2025
0.14.5 Jul 07, 2025
0.14.4 Oct 03, 2024
0.14.3 Sep 16, 2024
0.14.2 Apr 17, 2024
0.14.1 Dec 14, 2023
0.14.0 May 05, 2023
0.14.0rc0 Apr 26, 2023
0.13.5 Nov 02, 2022
0.13.4 Nov 01, 2022
0.13.3 Nov 01, 2022
0.13.2 Feb 08, 2022
0.13.1 Nov 12, 2021
0.13.0 Oct 01, 2021
0.13.0rc0 Sep 17, 2021
0.12.2 Feb 02, 2021
0.12.1 Oct 29, 2020
0.12.0 Aug 27, 2020
0.12.0rc0 Aug 11, 2020
0.11.1 Feb 21, 2020
0.11.0 Jan 22, 2020
0.11.0rc2 Jan 15, 2020
0.11.0rc1 Dec 18, 2019
0.10.2 Nov 23, 2019
0.10.1 Jul 19, 2019
0.10.0 Jun 24, 2019
0.10.0rc2 Jun 07, 2019
0.9.0 May 15, 2018
0.9.0rc1 Apr 30, 2018
0.8.0 Feb 08, 2017
0.8.0rc1 Jun 21, 2016
0.6.1 Dec 02, 2014
0.6.0 Oct 15, 2014
0.6.0rc2
0.6.0rc1
0.5.0 Aug 14, 2013
0.5.0rc1 Aug 06, 2013
0.4.3 Jul 02, 2012
0.4.1 Jun 19, 2012
0.4.0 Jun 19, 2012
0.6.1.win32 Dec 02, 2014
0.6.1.win Dec 02, 2014
0.6.0.win32 Nov 05, 2014
0.6.0.win Nov 05, 2014
0.5.0rc1.win32 Aug 06, 2013
0.5.0rc1.win Aug 06, 2013
0.5.0.win32 Aug 14, 2013
0.5.0.win Aug 14, 2013
0.4.3.win32 Jul 02, 2012
0.4.3.win Jul 02, 2012
0.4.1.win32 Jun 19, 2012
0.4.1.win Jun 19, 2012
0.4.0.win32 Jun 19, 2012
0.4.0.win Jun 19, 2012

Wheel compatibility matrix

Platform CPython 3.9 CPython 3.10 CPython 3.11 CPython 3.12 CPython 3.13 CPython 3.14
macosx_10_13_x86_64
macosx_10_15_x86_64
macosx_10_9_x86_64
macosx_11_0_arm64
manylinux2014_aarch64
manylinux2014_x86_64
manylinux_2_17_aarch64
manylinux_2_17_x86_64
manylinux_2_28_aarch64
manylinux_2_28_x86_64
musllinux_1_2_x86_64
win_amd64

Files in release

statsmodels-0.14.6-cp310-cp310-macosx_10_9_x86_64.whl (9.7MiB)
statsmodels-0.14.6-cp310-cp310-macosx_11_0_arm64.whl (9.6MiB)
statsmodels-0.14.6-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (9.7MiB)
statsmodels-0.14.6-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (9.9MiB)
statsmodels-0.14.6-cp310-cp310-musllinux_1_2_x86_64.whl (10.0MiB)
statsmodels-0.14.6-cp310-cp310-win_amd64.whl (9.1MiB)
statsmodels-0.14.6-cp311-cp311-macosx_10_9_x86_64.whl (9.7MiB)
statsmodels-0.14.6-cp311-cp311-macosx_11_0_arm64.whl (9.5MiB)
statsmodels-0.14.6-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (9.7MiB)
statsmodels-0.14.6-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (9.9MiB)
statsmodels-0.14.6-cp311-cp311-musllinux_1_2_x86_64.whl (9.9MiB)
statsmodels-0.14.6-cp311-cp311-win_amd64.whl (9.1MiB)
statsmodels-0.14.6-cp312-cp312-macosx_10_13_x86_64.whl (9.6MiB)
statsmodels-0.14.6-cp312-cp312-macosx_11_0_arm64.whl (9.5MiB)
statsmodels-0.14.6-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (9.6MiB)
statsmodels-0.14.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (9.9MiB)
statsmodels-0.14.6-cp312-cp312-musllinux_1_2_x86_64.whl (9.9MiB)
statsmodels-0.14.6-cp312-cp312-win_amd64.whl (9.1MiB)
statsmodels-0.14.6-cp313-cp313-macosx_10_13_x86_64.whl (9.6MiB)
statsmodels-0.14.6-cp313-cp313-macosx_11_0_arm64.whl (9.5MiB)
statsmodels-0.14.6-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (9.6MiB)
statsmodels-0.14.6-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (9.8MiB)
statsmodels-0.14.6-cp313-cp313-musllinux_1_2_x86_64.whl (9.9MiB)
statsmodels-0.14.6-cp313-cp313-win_amd64.whl (9.1MiB)
statsmodels-0.14.6-cp314-cp314-macosx_10_15_x86_64.whl (9.6MiB)
statsmodels-0.14.6-cp314-cp314-macosx_11_0_arm64.whl (9.5MiB)
statsmodels-0.14.6-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (9.6MiB)
statsmodels-0.14.6-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (9.9MiB)
statsmodels-0.14.6-cp314-cp314-musllinux_1_2_x86_64.whl (9.9MiB)
statsmodels-0.14.6-cp314-cp314-win_amd64.whl (9.1MiB)
statsmodels-0.14.6-cp39-cp39-macosx_10_9_x86_64.whl (9.7MiB)
statsmodels-0.14.6-cp39-cp39-macosx_11_0_arm64.whl (9.6MiB)
statsmodels-0.14.6-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (9.7MiB)
statsmodels-0.14.6-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (9.9MiB)
statsmodels-0.14.6-cp39-cp39-win_amd64.whl (9.1MiB)
statsmodels-0.14.6.tar.gz (19.7MiB)