horn.outliers {referenceIntervals} | R Documentation |
Determines outliers using Horn's method and Tukey's interquartile fences on a Box-Cox transformation of the data.
Description
This function determines outliers in a Box-Cox transformed dataset using Horn's method of outlier detection using Tukey's interquartile fences. If a data point lies outside 1.5 * IQR from the 1st or 3rd quartile point, it is an outlier.
Usage
horn.outliers(data)
Arguments
data |
A vector of data points. |
Value
Returns a list containing a vector of outliers and a vector of the cleaned data (subset).
outliers |
A vector of outliers from the data set |
subset |
A vector containing the remaining data, cleaned of outliers |
Author(s)
Daniel Finnegan
References
ASVCP reference interval guidelines: determination of de novo reference intervals in veterinary species and other related topics. Vet Clin Pathol 41/4 (2012) 441-453, 2012 American Society for Veterinary Clinical Pathology
Horn, P. S., Feng, L., Li, Y., & Pesce, A. J. (2001). Effect of outliers and nonhealthy individuals on reference interval estimation. Clinical Chemistry, 47(12), 2137-2145.
Horn, P.S., Pesce, A.J. (2003). Reference Intervals: an update. Clin Chim Acta. 334(1-2):5-23. DOI: doi: 10.1016/s0009-8981(03)00133-5.
Examples
horn.outliers(set200)