Skip to main content

Statistical computations and models for use with SciPy

Project description

Travis Build Status Appveyor Build Status Coveralls Coverage

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

http://www.statsmodels.org/stable/

The documentation for the development version is at

http://www.statsmodels.org/dev/

Recent improvements are highlighted in the release notes

http://www.statsmodels.org/stable/release/version0.8.html

Backups of documentation are available at http://statsmodels.github.io/stable/ and http://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

  • Mixed Linear Model with mixed effects and variance components

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

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

  • Discrete models:

    • Logit and Probit

    • Multinomial logit (MNLogit)

    • Poisson regresion

    • Negative Binomial regression

  • 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

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

    • Univariate time series analysis: AR, ARIMA

    • Vector autoregressive models, VAR and structural VAR

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

    • Descriptive statistics and process models for time series analysis

  • Nonparametric statistics: (Univariate) 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 and regression on order statistic

  • Principal Component Analysis with missing data

  • I/O

    • Tools for reading Stata .dta files into numpy arrays.

    • 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

    • 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 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 available in Anaconda (infrequently updated)

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

Installing from sources

See INSTALL.txt for requirements or see the documentation

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

License

Modified BSD (3-clause)

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.8.0rc1.zip (9.9 MB view details)

Uploaded Source

statsmodels-0.8.0rc1.tar.gz (9.4 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.8.0rc1-cp35-none-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.5Windows x86-64

statsmodels-0.8.0rc1-cp34-none-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.4Windows x86-64

statsmodels-0.8.0rc1-cp27-none-win_amd64.whl (6.0 MB view details)

Uploaded CPython 2.7Windows x86-64

File details

Details for the file statsmodels-0.8.0rc1.zip.

File metadata

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

File hashes

Hashes for statsmodels-0.8.0rc1.zip
Algorithm Hash digest
SHA256 03497dc7d0e8da5b18ed62017472190f08a481c6a9bfa2b2b6384c7fdb1239c9
MD5 49d06ffcba8e0c5fc32a3554884c3ee9
BLAKE2b-256 84147393fc35db246fd660ab334cd733d652dd12f3a4d1c1175da49114bc1e2c

See more details on using hashes here.

File details

Details for the file statsmodels-0.8.0rc1.tar.gz.

File metadata

File hashes

Hashes for statsmodels-0.8.0rc1.tar.gz
Algorithm Hash digest
SHA256 7ae9a016beccd8f1c9d22bb0b5d9ffb23ff8013125da5b205684a5fc4e14c65c
MD5 da32434ebfebae2c7506e9577ac558f5
BLAKE2b-256 c80a71ea3dbc6fd712e18123a9e513066c8f5e19dbcabc49b5ba7ab07c97ea29

See more details on using hashes here.

File details

Details for the file statsmodels-0.8.0rc1-cp35-none-win_amd64.whl.

File metadata

File hashes

Hashes for statsmodels-0.8.0rc1-cp35-none-win_amd64.whl
Algorithm Hash digest
SHA256 0196c8b6d749ceebde4646882a6706649b351ca756cb363b16ec7c3ae298b78c
MD5 99b633893011be798342930ccc8a3fc7
BLAKE2b-256 75c9b1c898a777b8d4f33163887e034d14540c9993c8889cce2b52fb7b6e814b

See more details on using hashes here.

File details

Details for the file statsmodels-0.8.0rc1-cp34-none-win_amd64.whl.

File metadata

File hashes

Hashes for statsmodels-0.8.0rc1-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 7491c1c30c6f158ec378d3d29dd47903302534ea0553965b4b4c25ccb4fd2ccd
MD5 2b90fbd2fe8a6778c8d788540810d9ac
BLAKE2b-256 ee8fdb4596ffcd582fa503c50059b92dec6ba7a4bc5a4e27e2fd658d86af9f18

See more details on using hashes here.

File details

Details for the file statsmodels-0.8.0rc1-cp27-none-win_amd64.whl.

File metadata

File hashes

Hashes for statsmodels-0.8.0rc1-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 3352a4c5d3f443c5ffb1936b27b85aab1319e267006f9ca5292bfb8335e34c60
MD5 c065741f4af92499e72f325c867f6f8e
BLAKE2b-256 e663a180cebe6c9e2532b7e059985a56dc31719e603e300f3fffc8d378c394e6

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