Find outliers based on quantiles

Share:

Description

FindOutliersSD returns the position of the values outside the allowed range by a criteria based on the standard deviation, mean-coef*sd<x<mean+coef*sd based on the three-sigma rule.

Usage

1
FindOutliersSD(dataSeries,coef=3)

Arguments

dataSeries

time series of climate data

coef

coefficient, 1=68

Value

Vector with the positions of the outliers.

Author(s)

Jose Gama

Source

Leys C, Ley C, Klein O, Bernard P, Licata L, 2013 Detecting outliers: Do not use standard deviation around the mean, use absolute deviation around the median Journal of Experimental Social Psychology volume 49, number 4 urlhttp://www.sciencedirect.com/science/article/pii/S0022103113000668

References

Leys C, Ley C, Klein O, Bernard P, Licata L, 2013 Detecting outliers: Do not use standard deviation around the mean, use absolute deviation around the median Journal of Experimental Social Psychology volume 49, number 4 urlhttp://www.sciencedirect.com/science/article/pii/S0022103113000668

Examples

1
2
y = c(1, 3, 3, 6, 8, 10, 10, 1000)
FindOutliersSD(y,2)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.