Flowdock
method

fit_linear

Importance_1
v1_9_3_125 - Show latest stable - 0 notes - Class: TestCase
fit_linear(xs, ys) public

Fits the functional form: a + bx.

Takes x and y values and returns [a, b, r^2].

See: http://mathworld.wolfram.com/LeastSquaresFitting.html

Show source
Register or log in to add new notes.