Skip to main content

Statistical computations and models for use with SciPy

Project description

What it 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/

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

We are providing a Windows htmlhelp file (statsmodels.chm) that is now separately distributed, available at http://sourceforge.net/projects/statsmodels/files/statsmodels-0.4.3/statsmodelsdoc.zip/download

It can be copied or moved to the installation directory of statsmodels (site-packagesstatsmodels in a typical installation), and can then 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

statsmodels-0.5.0.zip (5.9 MB view details)

Uploaded Source

statsmodels-0.5.0.tar.gz (5.5 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

statsmodels-0.5.0.win-amd64-py3.2.exe (5.3 MB view details)

Uploaded Source

statsmodels-0.5.0.win-amd64-py2.7.exe (5.3 MB view details)

Uploaded Source

statsmodels-0.5.0.win-amd64-py2.6.exe (5.1 MB view details)

Uploaded Source

statsmodels-0.5.0.win32-py3.2.exe (5.2 MB view details)

Uploaded Source

statsmodels-0.5.0.win32-py2.7.exe (5.2 MB view details)

Uploaded Source

statsmodels-0.5.0.win32-py2.6.exe (5.2 MB view details)

Uploaded Source

File details

Details for the file statsmodels-0.5.0.zip.

File metadata

  • Download URL: statsmodels-0.5.0.zip
  • Upload date:
  • Size: 5.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for statsmodels-0.5.0.zip
Algorithm Hash digest
SHA256 076d562b4a3508c0552e82a50ca67acf8249dee462e13a01bae024130d556fbf
MD5 4ed78e8c6ababdcae0400fc0fe6f31a7
BLAKE2b-256 255472ef4f37bca162fa408239ed21cc0048c257016e39e377e28cba53fb1935

See more details on using hashes here.

File details

Details for the file statsmodels-0.5.0.tar.gz.

File metadata

  • Download URL: statsmodels-0.5.0.tar.gz
  • Upload date:
  • Size: 5.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for statsmodels-0.5.0.tar.gz
Algorithm Hash digest
SHA256 65398518bdd414c712362738e61d34ee5ec07b4c084bba17c65af5f20ae109d0
MD5 c65454d97f869ac0e5bb3a2757ec6bd5
BLAKE2b-256 81bf498aeb368b609490bd308fee92cd23ac0462d820a27b71d9624bd8a153f3

See more details on using hashes here.

File details

Details for the file statsmodels-0.5.0.win-amd64-py3.2.exe.

File metadata

File hashes

Hashes for statsmodels-0.5.0.win-amd64-py3.2.exe
Algorithm Hash digest
SHA256 9d0aabcf0c6d0fb82a940d73ad2a5ecbcc828254b15d3d27d4ef2d7a25201dff
MD5 5617b73aebf7df8713854bd1fa103843
BLAKE2b-256 bfb48312e63e329747b017395d6e7e1a023fa6c613c563bdf28fafc759f450f7

See more details on using hashes here.

File details

Details for the file statsmodels-0.5.0.win-amd64-py2.7.exe.

File metadata

File hashes

Hashes for statsmodels-0.5.0.win-amd64-py2.7.exe
Algorithm Hash digest
SHA256 13db71070c0ea26d9fe8a924a781253703f0c33824b2ae5b598455fb989d4963
MD5 291f05aec06d0b4ae063063d0e9eb5cb
BLAKE2b-256 5cdc98c72a59c971c27eb1159df80b1661c80086e2f334f7572161f28a87d87f

See more details on using hashes here.

File details

Details for the file statsmodels-0.5.0.win-amd64-py2.6.exe.

File metadata

File hashes

Hashes for statsmodels-0.5.0.win-amd64-py2.6.exe
Algorithm Hash digest
SHA256 872510f51478686354ffcbeaf8bddbf6a06f30a2a41f7b62043204145eabb0fc
MD5 b2c434505d90e79c83c5f6380c956b81
BLAKE2b-256 6af3d63254d94c2b3a3739fd1c49628f364ba34d2a08429e0e95387f77540932

See more details on using hashes here.

File details

Details for the file statsmodels-0.5.0.win32-py3.2.exe.

File metadata

File hashes

Hashes for statsmodels-0.5.0.win32-py3.2.exe
Algorithm Hash digest
SHA256 2500d87d3ca56b9f5a636e4b91e931c95510935d4c55c7382cbbf990d3f23584
MD5 6eefb54e7866f4a207510499d99cd403
BLAKE2b-256 71fecb6d49f85a1e74e5b801874d778f9557cd01fba0fdf652faa326b6994d63

See more details on using hashes here.

File details

Details for the file statsmodels-0.5.0.win32-py2.7.exe.

File metadata

File hashes

Hashes for statsmodels-0.5.0.win32-py2.7.exe
Algorithm Hash digest
SHA256 9fadbfba18a67acf824b9b3239409f2ebf534c6d85bc4580b633a054656a5cc3
MD5 8a38c3300d7e07a05ff040900afeaa58
BLAKE2b-256 4d0b4186c1ee0cb0420f68c99cb83fb25643fe9d3c562bd7c78bb9247ef3cc15

See more details on using hashes here.

File details

Details for the file statsmodels-0.5.0.win32-py2.6.exe.

File metadata

File hashes

Hashes for statsmodels-0.5.0.win32-py2.6.exe
Algorithm Hash digest
SHA256 07964a70737adea80fb7e9bd7265aa2d2e411d4d9d51fb205bea978678425f88
MD5 62a29ea13cd2d644e9ee436cf3b05166
BLAKE2b-256 2fbc3d8f35528ee0caa7376c3f39f72553c5df502c4bcb179bb978696111b741

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page