Skip to Content

infert {datasets}

Infertility after Spontaneous and Induced Abortion
Package: 
datasets
Version: 
R 3.0.2

Description

This is a matched case-control study dating from before the availability of conditional logistic regression.

Usage

infert

Note

One case with two prior spontaneous abortions and two prior induced abortions 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
if(require(survival)){
  model3 <- clogit(case ~ spontaneous+induced+strata(stratum), data = infert)
  print(summary(model3))
  detach()  # survival (conflicts)
}

Documentation reproduced from R 3.0.2. License: GPL-2.