Learn R Programming

coin (version 0.4-2)

alzheimer: Smoking and Alzheimer's Disease

Description

A case-control study of smoking and Alzheimer's disease.

Usage

data("alzheimer")

Arguments

source

Emad Salib & Valerie Hillier (1997), A case-control study of smoking and Alzheimer's disease. International Journal of Geriatric Psychiatry 12, 295--300.

Details

198 cases of Alzheimer's disease are compared to a control group with respect to smoking history. The data are published in Table 4 (Salib & Hillier, 1997).

Examples

Run this code
data("alzheimer", package = "coin")

  ### spineplots
  layout(matrix(1:2, ncol = 2))
  spineplot(disease ~ smoking, data = alzheimer, subset = gender == "Male",
            main = "Male")
  spineplot(disease ~ smoking, data = alzheimer, subset = gender == "Female",
            main = "Female")

  ### Cochran-Mantel-Haenszel test
  cmh_test(disease ~ smoking | gender, data = alzheimer)

Run the code above in your browser using DataLab