Tom-Alexander/regression-js

same x with different y

Opened this issue · 1 comments

I'm not strong enough in math. Can somebody help me? Is it correct to path same x with different y?
Example:

import regression from 'regression';
cons data = [
[0, 1], 
[32, 67], 
[32, 50], 
[12, 79],
]
const result = regression.linear(data);

@olmer88
I'm assuming you already figured this out (given the date), but this is correct.
Also - GitHub issues is not the place to ask questions like this.