Re: [R] How to remove multiple outliers

2011-10-24 Thread R. Michael Weylandt
I believe Dr. Winsemius addressed this in your other thread, but I would hesitate to do any sort of outlier identification based on repeated application of a filter (for that matter, I'm not much of an outlier removal guy generally, but let's suppose I were). You can easily get into a situation whe

Re: [R] How to remove multiple outliers

2011-10-21 Thread aajit75
Hi Michael, Thanks for the help. Yes, I have gone through the document for ?outlier. As it removes one outlier at a time, being new to R, I was woondering is there any function available for removing multiple outliers whithout calling say rm.outlier for n number of time because n is not finite he

Re: [R] How to remove multiple outliers

2011-10-20 Thread R. Michael Weylandt
Did you read the documentation for ?outlier. It clearly states that it removes the single (possibly repeated) value with the largest distance from the mean. That's only 10099 hereyou could perhaps apply the function more than once or write your own outlier removal script using whatever criterio

[R] How to remove multiple outliers

2011-10-20 Thread aajit75
Hi All, I am working on the dataset in which some of the variables have more than one observations with outliers . I am using below mentioned sample script library(outliers) x1 <- c(10, 10, 11, 12, 13, 14, 14, 10, 11, 13, 12, 13, 10, 19, 18, 17, 10099, 10099, 10098) outlier_tf1 = outlier(x1,l