R Dataset / Package mosaicData / Whickham

On this R-data statistics page, you will find information about the Whickham data set which pertains to Data from the Whickham survey. The Whickham data set is found in the mosaicData R package. You can load the Whickham data set in R by issuing the following command at the console data("Whickham"). This will load the data into a variable called Whickham. If R says the Whickham data set is not found, you can try installing the package by issuing this command install.packages("mosaicData") 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 Whickham R data set. The size of this file is about 21,262 bytes.

Data from the Whickham survey

Description

Data on age, smoking, and mortality from a one-in-six survey of the electoral roll in Whickham, a mixed urban and rural district near Newcastle upon Tyne, in the UK. The survey was conducted in 1972-1974 to study heart disease and thyroid disease. A follow-up on those in the survey was conducted twenty years later.

Usage

data(Whickham)

Format

A data frame with 1314 observations on women for the following variables.

  • outcome survival status after 20 years: a factor with levels Alive Dead

  • smoker smoking status at baseline: a factor with levels No Yes

  • age age (in years) at the time of the first survey

Details

This dataset contains a subset of the survey sample: women who were classified as current smokers or as never having smoked. The data were synthesized from the summary description tables given in the Appleton et al al paper.

References

DR Appleton, JM French, MPJ Vanderpump. "Ignoring a covariate: an example of Simpson's paradox". (1996) American Statistician, 50(4):340-341.

Examples

data(Whickham)

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

Attachments: csv, json

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