Introduce Deming/Orthogonal regression#1017
Open
JesperGr wants to merge 2 commits intomathnet:masterfrom
Open
Conversation
Member
I think that
This is used purely for testing purposes, I think it is more appropriate in the testing class |
jkalias
reviewed
Jun 24, 2023
| /// <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: |
Member
There was a problem hiding this comment.
I couldn't find the reference, only a wikipedia linke. Could you provide a pdf link or something similar?
Author
There was a problem hiding this comment.
That was the best link I could find.
Author
|
I like the Line in the name, because it is very similar to the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Deming/Orthogonal regression, least-Squares fitting the points in the 2D dataset (x,y) to a line
a*x + b*y + c = 0For 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.Line2Da good name?StandardLineToYxLine?