https://www.statsmodels.org/stable/search.html
部分较常用的结果数值提取具体操作示例如下
import statsmodels.api as sm
# 模型训练
model = sm.OLS(y, x).fit()
# 查看模型结果
print(model.summary()
https://www.statsmodels.org/stable/search.html
import statsmodels.api as sm
# 模型训练
model = sm.OLS(y, x).fit()
# 查看模型结果
print(model.summary()