exAM | R Documentation |
This is an artificial data set, cleverly construced and used by Antille and May to demonstrate ‘problems’ with LMS and LTS.
data(exAM)
A data frame with 12 observations on 2 variables, x
and y
.
Because the points are not in general position, both LMS and LTS
typically fail; however, e.g., rlm(*,
method="MM")
“works”.
Antille, G. and El May, H. (1992)
The use of slices in the LMS and the method of density slices:
Foundation and comparison.
In Yadolah Dodge and Joe Whittaker, editors, COMPSTAT:
Proc. 10th Symp. Computat. Statist., Neuchatel, 1, 441–445;
Physica-Verlag.
data(exAM) plot(exAM) summary(ls <- lm(y ~ x, data=exAM)) abline(ls)