Skip to content

Need to fit a regression line using orthogonal residuals

1 message · davidr at rhotrading.com

#
This problem also comes up in financial hedging problems,
but usually the 'errors' need not be of comparable size, so Errors in
Variables or Total Least Squares might be used.

David L. Reiner
Rho Trading Securities, LLC
Chicago  IL  60605
312-362-4963

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Prof Brian Ripley
Sent: Wednesday, January 31, 2007 1:57 AM
To: Bill.Venables at csiro.au
Cc: jkopecky at umich.edu; r-help at stat.math.ethz.ch
Subject: Re: [R] Need to fit a regression line using orthogonal
residuals

Just to pick up
It is not a regression (and hence the subject line was misleading), but
it 
does come up in errors-in-variables problems.  Suppose you have two sets

of measurements of the same quantity with the same variance of
measurement 
error and you want a line calibrating set 2 to set 1.  Then the optimal 
(in the sense of MLE, for example) line is this one, and it is
symmetrical 
in the two sets.

Now those are rather specific assumptions but they do come up in some 
problems in physics and analytical chemistry, and the result goes back
to 
the 19th century.  In the 1980s I implemented a version which allowed
for 
unequal (but known) heteroskedastic error variances which is quite
popular 
in analytical chemistry.

The literature is patchy:  Fuller's `Measurement Error Models' covers
the 
general area, and I recall this being in Sprent's (1969) book
`Models in Regression and Related Topics'.

See also the thread starting at

http://tolstoy.newcastle.edu.au/R/help/00a/0285.html

almost 7 years ago.  If that is the thread Jonathon Kopecky refers to
(how 
are we to know?) then he is misquoting me: I said it was the same thing
as 
using the first principal component, not an alternative proposal.
On Wed, 31 Jan 2007, Bill.Venables at csiro.au wrote:

            
Kopecky
to
noise
the
optim().