Learn R Programming

climtrends (version 1.0.6)

FindOutliersTietjenMooreTest: Find outliers based on the Tietjen Moore test

Description

FindOutliersTietjenMooreTest returns the position of the values outside the allowed range by a criteria based on the Tietjen Moore test.

Usage

FindOutliersTietjenMooreTest(dataSeries,k,alpha=0.05)

Arguments

dataSeries
time series of climate data
k
number of outliers
alpha
significance level

Value

Vector with the positions of the outliers.

Source

NIST/SEMATECH e-Handbook of Statistical Methods, 2013 http://www.itl.nist.gov/div898/handbook/

References

NIST/SEMATECH e-Handbook of Statistical Methods, 2013 http://www.itl.nist.gov/div898/handbook/

Examples

Run this code
x <- c(-1.40, -0.44, -0.30, -0.24, -0.22, -0.13, -0.05, 0.06, 0.10, 0.18,
 0.20, 0.39, 0.48, 0.63, 1.01)
FindOutliersTietjenMooreTest(x, 2)

Run the code above in your browser using DataLab