我使用scipy.stats.linregress函数对一些二维数据进行简单的线性回归,例如:
from scipy import stats
x = [5.05, 6.75, 3.21, 2.66]
y = [1.65, 26.5, -5.93, 7.96]
gradient, intercept, r_value, p_value, std_err = stats.linregress(x,y)
函数的文档说明std_err
是:
Standard error of the estimate
我不知道这是什么意思。这个old answer表示它代表梯度线的标准误差,但是这个“并不总是这个库的行为。
我能得到这个参数到底代表什么的精确定义吗?
目前没有回答
相关问题 更多 >
编程相关推荐