plot.wbaconmv {wbacon} | R Documentation |
Plot Diagnostics for an Object of Class wbaconmv
Description
Two plots (selectable by which
) are available for an object of class
wbaconmv
: (1) Robust distance vs. Index and (2) Robust distance
vs. Univariate projection.
Usage
## S3 method for class 'wbaconmv'
plot(x, which = 1:2,
caption = c("Robust distance vs. Index",
"Robust distance vs. Univariate projection"), hex = FALSE, col = 2,
pch = 19, ask = prod(par("mfcol")) < length(which) && dev.interactive(),
alpha = 0.05, maxiter = 20, tol = 1e-5, ...)
SeparationIndex(object, alpha = 0.05, tol = 1e-5, maxiter = 20)
Arguments
x |
object of class |
which |
if a subset of the plots is required, specify a subset of
the numbers |
caption |
captions to appear above the plots;
|
hex |
toogle the hexagonal bin plot on/off |
col |
color of outliers, |
pch |
plot character of outliers, |
ask |
|
alpha |
|
maxiter |
|
tol |
numerical termination criterion, |
object |
object of class |
... |
additional arguments passed to the method. |
Details
The first plot (which = 1
) is a standard diagnostic tool which plots
the observations' index (1:n
) against.the robust (Mahalanobis)
distances; see. e.g., Rousseeuw and van Driessen (1999).
The second plot (which = 2
) plots the univariate projection of
the data which maximizes the separation criterion for clusters of
Qui and Joe (2006) against.the robust (Mahalanobis) distances. This plot
is due to Willems et al. (2009).
For large data sets, it is recommended to specify the argument
hex = TRUE
. This option shows a hexagonally binned scatterplot
in place of the classical scatterplot.
Value
[no return value]
References
Rousseeuw, P.J. and K. van Driessen (1999). A Fast Algorithm for the Minimum Covariance Determinant, Technometrics 41, 212–223. doi:10.2307/1270566
Qiu, W. and H. Joe (2006). Separation index and partial membership for clustering, Computational Statistics and Data Analysis 50, 585–603. doi:10.1016/j.csda.2004.09.009
Willems, G., H. Joe, and R. Zamar (2009). Diagnosing Multivariate Outliers Detected by Robust Estimators, Journal of Computational and Graphical Statistics 18, 73–91. doi:10.1198/jcgs.2009.0005