12-01-2010 11:03 AM
I am trying to determine a best fit for a project of mine, however I do have some outling data points that affect the resulting best line fit. It may not be a problem if I had many data points but I am working with only about 12-16 points to determine a non-linear best line fit.
My stat class in college was rather limited and did not discuss any method for determing weighted values and I am struggling with coming up with an effective method myself. Does anyone have a method, VI or link they could provide so I could read more upon the subject?
Thanks,
Branden
12-01-2010 11:58 AM
12-01-2010 12:38 PM
I am using the nonlinear curve fit LM bound. I did see the outliers VI but do not want to remove the data entirely, but want to reduce their affect on the best line fit. These data points have a correlation to another function which is linear, and the outliers appear there as well. I was going to use this correlation to determine a weight for the points used in the best line fit.
Branden
12-01-2010 01:10 PM - edited 12-01-2010 01:11 PM
Try to play with the "method" input, e.g. bisquare.
A more detailed description is on the help page for linear fit or general polynomial fit, see the following image comparing how the methods deal with outliers.