只是指出这一点: statsmodel 's least squares fit does by default not include a constant. If we remove the constant from R'适合,我们得到与Python实现非常相似的结果,或者相反,如果我们向 statsmodel -fit添加一个常量,我们得到类似于 R 的结果:只是指出这一点: statsmodel 's least squares fit do
只是指出这一点: statsmodel 's least squares fit does by default not include a constant. If we remove the constant from R'适合,我们得到与Python实现非常相似的结果,或者相反,如果我们向 statsmodel -fit添加一个常量,我们得到类似于 R 的结果:只是指出这一点: statsmodel 's least squares fit do