outCoDa(x, quantile = 0.975, method = "robust", h = 1/2, coda = TRUE)
"print"(x, ...)
"plot"(x, y, ..., which = 1)
If method robust is chosen, the outlier detection is based on the homogeneous majority of the compositional data set. If method standard is used, standard measures of location and scatter are applied during the outlier detection procedure.
plot method: the Mahalanobis distance are plotted against the index. The dashed line indicates the (1 - alpha) quantile of the Chi-squared distribution. Observations with Mahalanobis distance greater than this quantile could be considered as compositional outliers.
Filzmoser, P., and Hron, K. (2008) Outlier detection for compositional data using robust methods. Math. Geosciences, 40 233-248.\
Rousseeuw, P.J., Van Driessen, K. (1999) A fast algorithm for the minimum covariance determinant estimator. Technometrics, 41 212-223.
isomLR
data(expenditures)
oD <- outCoDa(expenditures)
oD
## providing a function:
oD <- outCoDa(expenditures, coda = log)
Run the code above in your browser using DataLab