spatial.outlier {depth.plot}R Documentation

Multivariate Spatial Outlier

Description

spatial.outlier is used to find the multivariate spatial outlier within a p-variate data cloud or to identify if any p-variate observation is an outlier with respect to a p-variate data cloud.

Usage

spatial.outlier(data, x = data, threshold = 0.05)

Arguments

data

A matrix or a data.frame of p-variate observations which works as the data cloud.

x

A matrix or a data.framep-variate to test whether is an outlier with respect to the data. Defaults to data, to find outliers (if exists) within the data.

threshold

A decimal threshold between 0 and 1 on the spatial.depth. Spatial depth values less than which will be considered as outlier. Defaults to 0.05. Usually taken as 0.1 or 0.05 or 0.01.

Value

FALSE :: If there doesnot exist any outlier

A list with objects (If outliers exist)

index :: Returns the indices of the outliers

observation :: Returns the p-variate outliers

Author(s)

Somedip Karmakar <somedip@yahoo.co.in>

Omker Mahalanobish <omker.scorpio@gmail.com>

Examples

u<-matrix(rnorm(60,0,1),ncol=3)
u0<-matrix(runif(9,3,4),ncol=3)
spatial.outlier(u,rbind(u,u0))

[Package depth.plot version 0.1 Index]