[R] Remove data 3 standard deviatons from the mean using R?

Lorna lornam at essex.ac.uk
Tue Apr 9 13:12:02 CEST 2013


Hi Everyone,
 
I have a very long list of data-points (+2300) and i know from my histogram
that there are outliers which are affecting my mean.
 
I was wondering if anyone on here knows a way i can quickly get R to
calculate and remove data which is 3 standard deviations from the mean? I am
hoping this will tidy my data and give me a repeatable method of tidying for
future data collection.
 
Please if you do post code, make it as user friendly as possible! I am not a
very good programmer, i can load my data into R and do basic stats on it
however i havent tried much else....
 
Thank you in advance for any advice given :)



--
View this message in context: http://r.789695.n4.nabble.com/Remove-data-3-standard-deviatons-from-the-mean-using-R-tp4663745.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list