Jonathon Kopecky
2007-Jan-29 20:32 UTC
[R] [Fwd: Need to fit a regression line using orthogonal residuals]
[Originally sent this to r-help at lists.R-projects.org, but in case that's the wrong list I'm re-posting. Apologies if this becomes a re-post] -------------- next part -------------- An embedded message was scrubbed... From: Jonathon Kopecky <jkopecky at umich.edu> Subject: Need to fit a regression line using orthogonal residuals Date: Mon, 29 Jan 2007 14:52:24 -0500 Size: 1138 Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070129/783036c5/attachment.mht
Andrew Robinson
2007-Jan-29 20:46 UTC
[R] [Fwd: Need to fit a regression line using orthogonal residuals]
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 at 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 at umich.edu> > To: r-help at 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 at 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/