Why is fitting a line to data a two-variable minimization in the slope and intercept rather than in x and y?
Loading…
The unknowns are and , not and
Set up fitting a line to data points , and record that the data are given numbers while the coefficients and are unknown.
Ways to measure the error of a line
List perpendicular distance, vertical deviation, largest deviation and average or squared deviation, and record the drawbacks given for perpendicular distance and largest deviation.
Total square deviation
Write as a function of and alone, and state the reasons given for choosing least squares over the alternatives.