## S3 method for class 'mcd':
plot.mcd(x, which = c("all","dd","distance","qqchi2","tolellipse","screeplot"), classic=FALSE, ask=(which=="all" && dev.interactive()), cutoff, id.n, tol=1e-7, ...)
ddplot(x, ...)
distplot(x, ...)
chi2qqplot(x, ...)
ellipse(x, ...)
mcd
object, typically result of covMcd
.which
="all".classic
=FALSE.ask = which=="all" && dev.interactive()
.cutoff
is used.tol = 10e-7
which
.
The possible options are:
distance
- index plot of the robust distances;
dd
- distance-distance plot;
qqchi2
- a qq-plot of the robust distances versus the quantiles of the chi-squared distribution
tolellipse
- a tolerance ellipse
screeplot
- an eigenvalues comparison plot - screeplot
The Distance-Distance Plot, introduced by
Rousseeuw and van Zomeren (1990), displays the robust distances
versus the classical Mahalanobis distances. The dashed line is the set of
points where the robust distance is equal to the classical distance.
The horizontal and vertical lines are drawn at values equal to the cutoff
which defaults to square root of the 97.5% quantile of a chi-squared
distribution with p degrees of freedom. Points beyond these lines can
be considered outliers.tolellipse
data(brain)
mcd <- covMcd(log(brain))
plot(mcd)
Run the code above in your browser using DataLab