為了讓python進行線性迴歸分析,來裝statsmodels | Statsmodels 教學
StatsModels的官方網頁 http://statsmodels.sourceforge.net/ 要安裝它的套件開啟命令提示字元(俗稱cmd) 然後輸入「pip install statsmodels」
常見投資理財問答
Statsmodels Python installStatsmodelsPython 回歸 結果Statsmodels pandasstatsmodels.api logistic regressionStatsmodels OLSSciPyPython statistics package