Re: [R] [Fwd: Need to fit a regression line using orthogonal residuals]

From: Andrew Robinson <A.Robinson_at_ms.unimelb.edu.au>
Date: Mon 29 Jan 2007 - 20:46:58 GMT

Hi Jonothan,

try the smatr package.

I hope that this helps,

Andrew

On Mon, Jan 29, 2007 at 03:32:35PM -0500, Jonathon Kopecky wrote:
> [Originally sent this to r-help@lists.R-projects.org, but in case that's
> the wrong list I'm re-posting. Apologies if this becomes a re-post]

> Date: Mon, 29 Jan 2007 14:52:24 -0500
> From: Jonathon Kopecky <jkopecky@umich.edu>
> To: r-help@lists.R-project.org
> Subject: Need to fit a regression line using orthogonal residuals
>
> I'm trying to fit a simple linear regression of just Y ~ X, but both X
> and Y are noisy. Thus instead of fitting a standard linear model
> minimizing vertical residuals, I would like to minimize
> orthogonal/perpendicular residuals. I have tried searching the
> R-packages, but have not found anything that seems suitable. I'm not
> sure what these types of residuals are typically called (they seem to
> have many different names), so that may be my trouble. I do not want to
> use Principal Components Analysis (as was answered to a previous
> questioner a few years ago), I just want to minimize the combined noise
> of my two variables. Is there a way for me to do this in R?
>
> Jonathon Kopecky
> University of Michigan
>

> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
Andrew Robinson  
Department of Mathematics and Statistics            Tel: +61-3-8344-9763
University of Melbourne, VIC 3010 Australia         Fax: +61-3-8344-4599
http://www.ms.unimelb.edu.au/~andrewpr
http://blogs.mbs.edu/fishing-in-the-bay/

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Tue Jan 30 07:58:51 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 29 Jan 2007 - 21:30:46 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.