Find outliers based on quantiles

Share:

Description

FindOutliersQuant returns the position of the values outside the allowed range by a criteria based on quantiles, q25-coef*(q75-q25)<x<q75+coef*(q75-q25).

Usage

1
FindOutliersQuant(dataSeries,coef=1.5)

Arguments

dataSeries

time series of climate data

coef

coefficient, 2=outliers, 3=extremes.

Value

Vector with the positions of the outliers.

Author(s)

Jose Gama

Source

Stepanek, P. 2008 AnClim - software for time series analysis Dept. of Geography, Fac. of Natural Sciences http://www.climahom.eu/AnClim.html

References

Stepanek, P. 2008 AnClim - software for time series analysis Dept. of Geography, Fac. of Natural Sciences http://www.climahom.eu/AnClim.html

Examples

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

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