talira

statsmodels

Statistical modeling, hypothesis tests and econometrics in Python

open sourceBSD-3-Clausefree

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 DataFrames, and results are tested against R, Stata or SAS. It builds on NumPy and SciPy.

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 SDKsplan not known

Alternatives

The same job

These do what statsmodels does.

  1. Prophet Automatic forecasting procedure for time series
  2. SciPy Fundamental algorithms for scientific computing in Python
  3. scikit-learn Simple and efficient tools for predictive data analysis
  4. R A free software environment for statistical computing and graphics

Compare statsmodels with the top 3