Rev 85254 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File src/library/datasets/man/infert.Rd% Part of the R package, https://www.R-project.org% Copyright 1995-2007 R Core Team% Distributed under GPL 2 or later\name{infert}\docType{data}\alias{infert}\title{Infertility after Spontaneous and Induced Abortion}\description{This is a matched case-control study dating from before theavailability of conditional logistic regression.}\usage{infert}\format{\tabular{rll}{1. \tab Education \tab 0 = 0-5 years \cr\tab \tab 1 = 6-11 years \cr\tab \tab 2 = 12+ years \cr2. \tab age \tab age in years of case \cr3. \tab parity \tab count \cr4. \tab number of prior \tab 0 = 0 \cr\tab induced abortions \tab 1 = 1 \cr\tab \tab 2 = 2 or more \cr5. \tab case status\tab 1 = case \cr\tab \tab 0 = control \cr6. \tab number of prior \tab 0 = 0 \cr\tab spontaneous abortions \tab 1 = 1 \cr\tab \tab 2 = 2 or more \cr7. \tab matched set number \tab 1-83 \cr8. \tab stratum number \tab 1-63}}\source{\bibshow{R:Trichopoulos+Handanos+Danezis:1976}}\note{One case with two prior spontaneous abortions and two prior inducedabortions is omitted.}\examples{require(stats)model1 <- glm(case ~ spontaneous+induced, data = infert, family = binomial())summary(model1)## adjusted for other potential confounders:summary(model2 <- glm(case ~ age+parity+education+spontaneous+induced,data = infert, family = binomial()))## Really should be analysed by conditional logistic regression## which is in the survival package\donttest{if(require(survival)){model3 <- clogit(case ~ spontaneous+induced+strata(stratum), data = infert)print(summary(model3))detach() # survival (conflicts)}}}\keyword{datasets}