R Dataset / Package robustbase / exAM

On this R-data statistics page, you will find information about the exAM data set which pertains to Example Data of Antille and May - for Simple Regression. The exAM data set is found in the robustbase R package. You can load the exAM data set in R by issuing the following command at the console data("exAM"). This will load the data into a variable called exAM. If R says the exAM data set is not found, you can try installing the package by issuing this command install.packages("robustbase") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the exAM R data set. The size of this file is about 60 bytes.

Example Data of Antille and May - for Simple Regression

Description

This is an artificial data set, cleverly construced and used by Antille and May to demonstrate ‘problems’ with LMS and LTS.

Usage

data(exAM)

Format

A data frame with 12 observations on 2 variables, x and y.

Details

Because the points are not in general position, both LMS and LTS typically fail; however, e.g., rlm(*, method="MM") “works”.

Source

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.

Examples

data(exAM)
plot(exAM)
summary(ls <- lm(y ~ x, data=exAM))
abline(ls)

Dataset imported from https://www.r-project.org.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-robustbase-exam.html" width="100%" height="100%" style="border:0px"></iframe>