Is there a function inside MathNet.Numerics to calculate regression slope error?
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
The above gives the slope. How does one get the error of the slope?
Thanks