做回归分析时发现需要安装一个statsmodels库,暂且记录一下,待后续使用研究
statsmodels ,包含假设检验、回归分析、时间序列分析等功能
statsmodels is a Python module that provides classes and functions for the estimation of many different statistical models, as well as for conducting statistical tests, and statistical data exploration.
官网:https://www.statsmodels.org/stable/index.html
安装:
$pip install statsmodels
https://www.statsmodels.org/stable/install.html
