Skip to content
Prev 171252 / 398506 Next

orthogonal/perpendicular distance from regression line

On Fri, 20 Feb 2009, GAF wrote:

            
You could do this with [1], but if you are hoping to learn something
statistical by doing this you should probably reconsider, because the
regression line residuals are minimized along the dependent variable axis,
and if the coordinate system is rotated (that is, you look at
deviation from the regression line to the points along a different
direction) then the residuals on that regression line will no longer be
minimized.

[1] http://mathworld.wolfram.com/Point-LineDistance2-Dimensional.html

---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k