Returns the slope and intercept of a simple linear regression fitted to two equal-length ranges, using Kahan-Babuška-Neumaier summation by default. (community summary)
x[i] points
f(x[i]) values
The pair of shift and slope of the linear curve.
Returns the slope and intercept of a simple linear regression fitted to two equal-length ranges, using Kahan-Babuška-Neumaier summation by default. (community summary)