Perform outlier detection using univariate method.
Usage
outl.det.u(x, method = c("percentile", "median"))
Value
a logical vector.
Arguments
x
a numeric vector.
method
method for univariate outlier detection. Only percentile
and median are supported.
Details
median: the absolute difference between the observation and the sample
median is larger than 2 times of the Median Absolute Deviation divided
by 0.6745.
percentile: either smaller than the 1st quartile minus 1.5 times of
IQR, or larger than the 3rd quartile plus 1.5 times of IQR.
References
Wilcox R R, Fundamentals of Modern Statistical Methods: Substantially
Improving Power and Accuracy, Springer 2010 (2nd edition), pages 31-35.