MathNet.Numerics 中是否有计算回归斜率误差的函数?
double[] xdata = new double[] { 10, 20, 30 };
double[] ydata = new double[] { 15, 20, 25 };
Tuple<double, double> p = MathNet.Numerics.Fit.Line(xdata, ydata);
double a = p.Item1; // == 10; intercept
double b = p.Item2; // == 0.5; slope
上面给出了斜率。如何得到斜率的误差?
谢谢