Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


extremevalues (version 1.0)

outlierPlot: 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.

References

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

Examples

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

Run the code above in your browser using DataLab