swh:1:snp:813359ba77493c9d5dd1abad9a1f53490a8abf57
Raw File
Tip revision: b1d73278a87bcb94c00cedbbaff294f96e71bbf0 authored by Torsten Hothorn on 13 April 2010, 00:00:00 UTC
version 1.0-11
Tip revision: b1d7327
alzheimer.Rd
\name{alzheimer}
\alias{alzheimer}
\docType{data}
\title{ Smoking and Alzheimer's Disease }
\description{
  A case-control study of smoking and Alzheimer's disease.
}
\usage{data("alzheimer")}
\format{
  A data frame with 538 observations on the following 3 variables.
 \describe{
     \item{smoking}{a factor at levels \code{None}, \code{<10}, \code{10-20}
                    and \code{>20} (cigarettes per day).}
     \item{disease}{a factor at levels \code{Alzheimer}, \code{Other dementias} 
                    and \code{Other diagnoses}.}
     \item{gender}{a factor at levels \code{Female} and \code{Male}.}
 }
}
\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).
}
\source{

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

    Torsten Hothorn, Kurt Hornik, Mark A. van de Wiel \& Achim Zeileis (2006).
    A Lego system for conditional inference, \emph{The American Statistician},
    \bold{60}(3), 257--263.


}
\examples{

  ### 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)

}
\keyword{datasets}
back to top