# R Dataset / Package robustbase / SiegelsEx

Documentation |
---|

On this Picostat.com statistics page, you will find information about the SiegelsEx data set which pertains to Siegel's Exact Fit Example Data. The SiegelsEx data set is found in the robustbase R package. You can load the SiegelsEx data set in R by issuing the following command at the console data("SiegelsEx"). This will load the data into a variable called SiegelsEx. If R says the SiegelsEx 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. 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 SiegelsEx R data set. The size of this file is about 50 bytes. ## Siegel's Exact Fit Example Data## DescriptionA small counterexample data set devised by Andrew Siegel.
Six (out of nine) data points lie on the line ## Usagedata(SiegelsEx) ## FormatA data frame with 9 observations on the following 2 variables. `x` a numeric vector `y` a numeric vector
## SourceEmerson and Hoaglin (1983, p.139) ## ReferencesPeter J. Rousseeuw and Annick M. Leroy (1987)
## Examplesdata(SiegelsEx) plot(SiegelsEx, main = "Siegel's example for 'exact fit'") abline( lm(y ~ x, data = SiegelsEx)) abline(MASS::lqs(y ~ x, data = SiegelsEx, method = "lms"), col = 2) legend("topright", leg = c("lm", "LMS"), col=1:2, lwd=1, inset = 1/20) -- Dataset imported from https://www.r-project.org. |

Title | Authored on | Content type |
---|---|---|

R Dataset / Package psych / bfi | March 9, 2018 - 1:06 PM | Dataset |

OpenIntro Statistics Dataset - scotus_healthcare | August 9, 2020 - 2:38 PM | Dataset |

R Dataset / Package psych / withinBetween | March 9, 2018 - 1:06 PM | Dataset |

R Dataset / Package Stat2Data / Kids198 | March 9, 2018 - 1:06 PM | Dataset |

R Dataset / Package Ecdat / Wages1 | March 9, 2018 - 1:06 PM | Dataset |

Attachment | Size |
---|---|

dataset-17444.csv | 50 bytes |