Skip to main content

What Statsmodels is

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

Main Features

  • linear regression models: Generalized least squares (including weighted least squares and least squares with autoregressive errors), ordinary least squares.

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

  • discrete: regression with discrete dependent variables, including Logit, Probit, MNLogit, Poisson, based on maximum likelihood estimators

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

  • tsa: models for time series analysis - univariate time series analysis: AR, ARIMA - vector autoregressive models, VAR and structural VAR - descriptive statistics and process models for time series analysis

  • nonparametric : (Univariate) kernel density estimators

  • datasets: Datasets to be distributed and used for examples and in testing.

  • stats: a wide range of statistical tests - diagnostics and specification tests - goodness-of-fit and normality tests - functions for multiple testing - various additional statistical tests

  • iolib - Tools for reading Stata .dta files into numpy arrays. - printing table output to ascii, latex, and html

  • miscellaneous models

  • sandbox: statsmodels contains a sandbox folder with code in various stages of developement and testing which is not considered “production ready”. This covers among others Mixed (repeated measures) Models, GARCH models, general method of moments (GMM) estimators, kernel regression, various extensions to scipy.stats.distributions, panel data models, generalized additive models and information theoretic measures.

Where to get it

The master 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

http://pypi.python.org/pypi/statsmodels/

Binaries can be installed in Anaconda

conda install statsmodels

Development snapshots are also avaiable in Anaconda

conda install -c https://conda.binstar.org/statsmodels statsmodels

Installation from sources

See INSTALL.txt for requirements or see the documentation

http://statsmodels.sf.net/devel/install.html

License

Modified BSD (3-clause)

Documentation

The official documentation is hosted on SourceForge

http://statsmodels.sf.net/

Windows Help

The source distribution for Windows includes a htmlhelp file (statsmodels.chm). This can be opened from the python interpreter

>>> import statsmodels.api as sm
>>> sm.open_help()

Discussion and Development

Discussions take place on our mailing list.

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

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

Release files for statsmodels 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for statsmodels 0.6.1
File Size Uploaded
statsmodels-0.6.1.zip 7.4 MB Details
statsmodels-0.6.1.tar.gz 7.0 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for statsmodels 0.6.1
File
statsmodels-0.6.1.win-amd64-py3.4.exe Details
statsmodels-0.6.1.win-amd64-py3.3.exe Details
statsmodels-0.6.1.win-amd64-py2.7.exe Details
statsmodels-0.6.1.win-amd64-py2.6.exe Details
statsmodels-0.6.1.win32-py3.4.exe Details
statsmodels-0.6.1.win32-py3.3.exe Details
statsmodels-0.6.1.win32-py2.7.exe Details
statsmodels-0.6.1.win32-py2.6.exe Details
statsmodels-0.6.1-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl CPython 3.4 CPython 3.4 pymalloc macOS 10.10+ x86-64, macOS 10.6+ Intel (x86-64, i386), macOS 10.9+ Intel (x86-64, i386), macOS 10.10+ Intel (x86-64, i386), macOS 10.9+ x86-64 Details
statsmodels-0.6.1-cp33-cp33m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl CPython 3.3 CPython 3.3 pymalloc macOS 10.10+ x86-64, macOS 10.6+ Intel (x86-64, i386), macOS 10.9+ x86-64, macOS 10.9+ Intel (x86-64, i386), macOS 10.10+ Intel (x86-64, i386) Details
statsmodels-0.6.1-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl CPython 2.7 none macOS 10.9+ Intel (x86-64, i386), macOS 10.6+ Intel (x86-64, i386), macOS 10.9+ x86-64, macOS 10.10+ x86-64, macOS 10.10+ Intel (x86-64, i386) Details

Total release size: 57.8 MB

Release files / statsmodels-0.6.1.zip

Download URL statsmodels-0.6.1.zip
Size 7.4 MB
Tags Source
SHA-256 checksum
How to use checksums
4313dd4cbf1ebadef3661f6efd895132b615016e9bee560b5fdfd80c74dd422f
BLAKE2b-256 checksum
How to use checksums
e0d2c8ce4a29332e75c666385034b04b3f061e4c0dabe29b9060b5c411134ff7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / statsmodels-0.6.1.tar.gz

Download URL statsmodels-0.6.1.tar.gz
Size 7.0 MB
Tags Source
SHA-256 checksum
How to use checksums
be4e44374aec9e848b73e5a230dee190ac0c4519e1d40f69a5813190b13ec676
BLAKE2b-256 checksum
How to use checksums
201a0ca0de04152d1647cdcfdbf7de87298f3c6275edfb74ee1cc0b55eedc737
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / statsmodels-0.6.1.win-amd64-py3.4.exe

Download URL statsmodels-0.6.1.win-amd64-py3.4.exe
Size 4.0 MB
Tags Source
SHA-256 checksum
How to use checksums
1431abf9b7483b9975d2a56c6fef21e860473eb1788f775505af62fe53278ae6
BLAKE2b-256 checksum
How to use checksums
677742a1b842ad3ae966ef248e7fc3fe33e1d3bc19a984885c7a7a2e5263da0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / statsmodels-0.6.1.win-amd64-py3.3.exe

Download URL statsmodels-0.6.1.win-amd64-py3.3.exe
Size 4.0 MB
Tags Source
SHA-256 checksum
How to use checksums
6bde27309d996cfa5d258b2b956cb2cf8fc217bcd3237330eafdb960ad2d7c3a
BLAKE2b-256 checksum
How to use checksums
31705ed35c485d270f7fc68a6283cbef3b85ceae3a6a002c00dcd01c395920d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / statsmodels-0.6.1.win-amd64-py2.7.exe

Download URL statsmodels-0.6.1.win-amd64-py2.7.exe
Size 4.0 MB
Tags Source
SHA-256 checksum
How to use checksums
4e54bc5c906d7d6a3331a6deea4f8ae58fd84c5e6008941a8d9d539036d1bb30
BLAKE2b-256 checksum
How to use checksums
21561d54ce48d0c1c9795ce7368977eafa7bcaffb9ad55f0fc00c620108850bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / statsmodels-0.6.1.win-amd64-py2.6.exe

Download URL statsmodels-0.6.1.win-amd64-py2.6.exe
Size 4.0 MB
Tags Source
SHA-256 checksum
How to use checksums
7b8ba0fac122a4f307944b029523db2bab50edccf0420ccdd22f999fc9804f41
BLAKE2b-256 checksum
How to use checksums
8d53f8f5a6fa7dead785ee8339ebca1738c0ef02c2b05bfea2474a9a882cc508
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / statsmodels-0.6.1.win32-py3.4.exe

Download URL statsmodels-0.6.1.win32-py3.4.exe
Size 3.9 MB
Tags Source
SHA-256 checksum
How to use checksums
937dec6bd8a4ff06808c4207017136e163bbc3855def4a6a4803c2ed50817694
BLAKE2b-256 checksum
How to use checksums
26747bb6d00c528f59876491664d3287c8a2d91d6a21b093bf0b5505425842d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / statsmodels-0.6.1.win32-py3.3.exe

Download URL statsmodels-0.6.1.win32-py3.3.exe
Size 3.9 MB
Tags Source
SHA-256 checksum
How to use checksums
788974029d8e811219cda2eadf8706850d0df498999602b61742b3cc38ca1a91
BLAKE2b-256 checksum
How to use checksums
4295b17eb3cd35c7e22170f009d5ec6816dc05e3fbb25047afc5230466bcdc06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / statsmodels-0.6.1.win32-py2.7.exe

Download URL statsmodels-0.6.1.win32-py2.7.exe
Size 3.9 MB
Tags Source
SHA-256 checksum
How to use checksums
633b279ef494eb7a4134362dc1878c42fffac1ad0029613e3d83b9b87affd413
BLAKE2b-256 checksum
How to use checksums
329d8bd86b5a4f8e29d403b80352f955f2da10a03837b7015336c8e1625edf22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / statsmodels-0.6.1.win32-py2.6.exe

Download URL statsmodels-0.6.1.win32-py2.6.exe
Size 3.9 MB
Tags Source
SHA-256 checksum
How to use checksums
7f87d9613e7dfbbb997102958caa0878ba69dfe413f8156cb197672d302a847e
BLAKE2b-256 checksum
How to use checksums
3ffa1fbb87fbd4e859d15f7fc50aa17d16fbf653b70026fb7d364bdaa06c3152
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / statsmodels-0.6.1-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl

Download URL statsmodels-0.6.1-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Size 3.9 MB
Tags CPython 3.4 CPython 3.4 pymalloc macOS 10.10+ Intel (x86-64, i386) macOS 10.10+ x86-64 macOS 10.6+ Intel (x86-64, i386) macOS 10.9+ Intel (x86-64, i386) macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
8288ee0e5bf4af3041ea2ca32491cbedbea8197ac2892ce2289a578d97dcf560
BLAKE2b-256 checksum
How to use checksums
f904d5679176f1c9697712cd45c46c96f0c52047f7b4722e560306e4c7d7aeea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / statsmodels-0.6.1-cp33-cp33m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl

Download URL statsmodels-0.6.1-cp33-cp33m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Size 3.9 MB
Tags CPython 3.3 CPython 3.3 pymalloc macOS 10.10+ Intel (x86-64, i386) macOS 10.10+ x86-64 macOS 10.6+ Intel (x86-64, i386) macOS 10.9+ Intel (x86-64, i386) macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
3dcb59038fc4e0236a08244728fd351b86a9a707c67c585e0aba127b4c76a521
BLAKE2b-256 checksum
How to use checksums
7c9f32f0a04772bd088548bcd9c3b52ea411f182c71f8b4a28bb5d3e0097eda0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / statsmodels-0.6.1-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl

Download URL statsmodels-0.6.1-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Size 4.0 MB
Tags CPython 2.7 macOS 10.10+ Intel (x86-64, i386) macOS 10.10+ x86-64 macOS 10.6+ Intel (x86-64, i386) macOS 10.9+ Intel (x86-64, i386) macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
caee9afac009817d7c69666efa097bc7529a952b8fd5a5ad050912c1833b19d1
BLAKE2b-256 checksum
How to use checksums
bf2112dab443fc5f41d739a83635e6b9dafcb40531ebabd59ea29926c9e9b9f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.9.0

22 release files

This release

0.6.1 This release

13 release files

0.5.0

8 release files

0.4.3

8 release files

0.4.1

8 release files

0.4.0

8 release files

0.4.0rc2

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page