Description Usage Arguments Value Author(s) Source References Examples
FindOutliersMAD
returns the position of the values
outside the allowed range by a criteria based on the the absolute deviation
around the median (MAD),
median-coef*MAD<x<median+coef*MAD.
1 | FindOutliersMAD(dataSeries,coef=3)
|
dataSeries |
time series of climate data |
coef |
coefficient, 3=very conservative, 2.5=moderately conservative 2=poorly conservative. |
Vector with the positions of the outliers.
Jose Gama
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
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
1 2 3 | y = c(1, 3, 3, 6, 8, 10, 10, 1000)
outlierMAD <- FindOutliersMAD(y)
y[outlierMAD]
|
[1] 1000
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.