[R] how to find outliers from the list of values
Robert Baer
rbaer at atsu.edu
Thu May 17 18:08:42 CEST 2012
Petr and Bert offer sound advice. At the risk of getting completely
ostracized, here's how you could find outliers using the definition of
'outlier' used by R's boxplot function and at the same time see your data.
> dat = c(11489, 11008, 11873, 80000000, 9558, 8645, 8024, 8371)
> a = boxplot(dat)
> a$out
[1] 8e+07
-----Original Message-----
From: Prakash Thomas
Sent: Tuesday, May 15, 2012 7:00 AM
To: r-help at r-project.org
Subject: [R] how to find outliers from the list of values
Hi,
I am new to R and I would like to get your help in finding
'outliers'.
I have mvoutlier package installed in my system and added the package .
But I not able find a function from 'mvoutlier' package which will identify
'outliers'.
This is the sample list of data I have got which has one out-lier.
11489 11008 11873 80000000 9558 8645 8024 8371 It will be of
great help if somebody have got an example script for the same.
Thanks & Regards,
Thomas
[[alternative HTML version deleted]]
______________________________________________
R-help at r-project.org 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.
------------------------------------------
Robert W. Baer, Ph.D.
Professor of Physiology
Kirksville College of Osteopathic Medicine
A. T. Still University of Health Sciences
800 W. Jefferson St.
Kirksville, MO 63501
660-626-2322
FAX 660-626-2965
More information about the R-help
mailing list