【问题标题】:python automatic statistical linear regressionpython自动统计线性回归
【发布时间】:2018-12-04 03:24:01
【问题描述】:

是否有一些有助于进行统计线性回归的 python 包?例如,我希望这样的程序可以自动执行不同类型的统计测试(t-test、F-test 等),然后自动删除冗余变量等,纠正异方差等。或者 LASSO 是最好的?

【问题讨论】:

  • Scikit-learn 和 scipy 应该是不错的起点。

标签: python regression


【解决方案1】:

您可以在 Python 中使用各种软件包执行和可视化线性回归,例如: scipystatsmodelsseaborn。 LASSO 可通过here 所述的statsmodels 获得。当涉及到线性回归分析的自动化方法时,您可以从Forward Selection with statsmodels 开始,Stepwise Regression in Python 帖子的答案中对此进行了描述。

【讨论】:

    猜你喜欢
    • 2016-01-17
    • 1970-01-01
    • 2016-08-25
    • 1970-01-01
    • 2021-02-05
    • 1970-01-01
    • 2021-07-19
    • 2016-05-10
    • 1970-01-01
    相关资源
    最近更新 更多