- 博客(1)
- 收藏
- 关注
原创 python实习自变量选择(复决定系数、AIC、BIC、Cp统计量)
from statsmodels.stats.outliers_influence import variance_inflation_factor from sklearn import model_selection import statsmodels.api as sm import math k = {'自变量子集':['x1','x2','x3','x1,x2','x1,x3','x2,x3','x1,x2,x3']} list = ['y~x1','y~x2','y~x3','y~x1...
2021-10-22 19:33:32
1912
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人