[R] Fitting data and removing outliers

2012-07-13 Thread Lauren Vogric
What I'm trying to do is create best fit line in R for a set of data points and then remove all the outliers to re-create a best fit. I can't use IQR because the outliers I have in mind are easily within the range, but way out of line for the best fit, which is ruining the fit. I'd rather

Re: [R] Fitting data and removing outliers

2012-07-13 Thread David L Carlson
] Fitting data and removing outliers What I'm trying to do is create best fit line in R for a set of data points and then remove all the outliers to re-create a best fit. I can't use IQR because the outliers I have in mind are easily within the range, but way out of line for the best fit, which

Re: [R] Fitting data and removing outliers

2012-07-13 Thread stephen sefick
- From: Lauren Vogric lvog...@grahamcapital.com To: r-help@r-project.org Sent: Friday, July 13, 2012 1:36:43 PM Subject: [R] Fitting data and removing outliers What I'm trying to do is create best fit line in R for a set of data points and then remove all the outliers to re-create

Re: [R] Fitting data and removing outliers

2012-07-13 Thread Stephen Sefick
, July 13, 2012 3:24 PM To: David L Carlson Cc: Lauren Vogric; r-help@r-project.org Subject: Re: [R] Fitting data and removing outliers Do you have a good reason to throw these points out? On Fri, Jul 13, 2012 at 2:17 PM, David L Carlson dcarl...@tamu.edu wrote: I didn't actually see any question

Re: [R] Fitting data and removing outliers

2012-07-13 Thread David L Carlson
...@grahamcapital.com, r-help@r-project.org Sent: Friday, July 13, 2012 3:15:25 PM Subject: Re: [R] Fitting data and removing outliers They are due to measurement error, sample of a different population, or ... ? What is the unusual event? Does it explain something important about the system