outlierPlot {extremevalues}R Documentation

Plot results of outlierdetection

Description

Plot an overview of the results of the outlier detection performed with the getOutliers function.

Arguments

y A vector of values
L The result of L <- getOutliers(y,...)

Details

The values of y are sorted and plotted against their estimated p-values. Outliers are plotted in red. A solid black line indicates the cumulative density distribution that was fitted to describe the position of the (p,y) pairs, a red line indicates the outlier limit, and a green background indicates which points are used in the fit.

Author(s)

Mark van der Loo, www.markvanderloo.eu

References

The file <your R directory>/R-<version>/library/extremevalues/extremevalues.pdf contains a worked example. It can also be downloaded from my website.

Examples

y<-10^rnorm(300)
y<-c(y,500);
L <- getOutliers(y,rho=0.5)
outlierPlot(y,L)

[Package extremevalues version 1.0 Index]