-
Notifications
You must be signed in to change notification settings - Fork 897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce Deming/Orthogonal regression #1017
base: master
Are you sure you want to change the base?
Conversation
I think that
This is used purely for testing purposes, I think it is more appropriate in the testing class |
/// <param name="delta">Ratio of variances of x and y data, var(y)/var(x). Default value is 1</param> | ||
/// <returns> returning its best fitting parameters as (a, b, c) tuple.</returns> | ||
/// <remarks> | ||
/// Solution algorithm as described from: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't find the reference, only a wikipedia linke. Could you provide a pdf link or something similar?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was the best link I could find.
I like the Line in the name, because it is very similar to the |
Deming/Orthogonal regression, least-Squares fitting the points in the 2D dataset (x,y) to a line
a*x + b*y + c = 0
For delta equal 1 (the default value), this is performing orthogonal regression, minimizing the sum of squared perpendicular distances from the data points to the regression line.
Discussed/suggested here:
#786
Questions:
Fit.Line2D
a good name?StandardLineToYxLine
?