python经济统计_statsmodels:在Python中的统计建模和计量经济学

68747470733a2f2f696d672e736869656c64732e696f2f707970692f762f73746174736d6f64656c732e73766768747470733a2f2f616e61636f6e64612e6f72672f636f6e64612d666f7267652f73746174736d6f64656c732f6261646765732f76657273696f6e2e73766768747470733a2f2f696d672e736869656c64732e696f2f707970692f6c2f73746174736d6f64656c732e73766768747470733a2f2f7472617669732d63692e6f72672f73746174736d6f64656c732f73746174736d6f64656c732e7376673f6272616e63683d6d617374657268747470733a2f2f6465762e617a7572652e636f6d2f73746174736d6f64656c732f73746174736d6f64656c732d74657374696e672f5f617069732f6275696c642f7374617475732f73746174736d6f64656c732e73746174736d6f64656c733f6272616e63683d6d617374657268747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f67783138736432776336336d666375632f6272616e63682f6d61737465723f7376673d7472756568747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f73746174736d6f64656c732f73746174736d6f64656c732f62616467652e7376673f6272616e63683d6d617374657268747470733a2f2f696d672e736869656c64732e696f2f707970692f646d2f73746174736d6f64656c732e7376673f6c6162656c3d50797069253230646f776e6c6f61647368747470733a2f2f696d672e736869656c64732e696f2f636f6e64612f646e2f636f6e64612d666f7267652f73746174736d6f64656c732e7376673f6c6162656c3d436f6e6461253230646f776e6c6f616473

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

The documentation for the development version is at

Recent improvements are highlighted in the release notes

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 modle, 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 master branch on GitHub is the most up to date code

Source download of release tags are available on GitHub

Binaries and source distributions are available from PyPi

Binaries can be installed in Anaconda

conda install statsmodels

Installing from sources

See INSTALL.txt for requirements or see the documentation

Contributing

Contributions in any form are welcome, including:

Documentation improvements

Additional tests

New features to existing models

New models

for instructions on installing statsmodels in editable mode.

License

Modified BSD (3-clause)

Discussion and Development

Discussions take place on the mailing list

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值