Description Usage Arguments Details Value Author(s) References See Also Examples

For multivariate outlier detection the Mahalanobis distance can be used. Here a plot of the classical and the robust (based on the MCD) Mahalanobis distance is drawn.

1 |

`X` |
numeric data frame or matrix |

`quantile` |
cut-off value (quantile) for the Mahalanobis distance |

`plot` |
if TRUE a plot is generated |

`...` |
additional graphics parameters, see |

For multivariate normally distributed data, a fraction of 1-quantile of data can be declared as potential multivariate outliers. These would be identified with the Mahalanobis distance based on classical mean and covariance. For deviations from multivariate normality center and covariance have to be estimated in a robust way, e.g. by the MCD estimator. The resulting robust Mahalanobis distance is suitable for outlier detection. Two plots are generated, showing classical and robust Mahalanobis distance versus the observation numbers.

`md ` |
Values of the classical Mahalanobis distance |

`rd ` |
Values of the robust Mahalanobis distance |

`cutoff ` |
Value with the outlier cut-off |

...

Peter Filzmoser <P.Filzmoser@tuwien.ac.at>

K. Varmuza and P. Filzmoser: Introduction to Multivariate Statistical Analysis in Chemometrics. CRC Press, Boca Raton, FL, 2009.

1 2 3 4 5 |

```
Loading required package: rpart
Loading required package: robustbase
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.