I’m performing linear regression on a physiological data set using C#.
The relevant code is:
Tuple<double, double> r = Fit.Line(XValues, YValues); - where XValues and YValues are double.
I have good (physiological) reasons for believing that the intercept on the Y axis should be zero.
Can anyone advise me how to apply the constraint?