Last data update: 2014.03.03
|
R: Dataset on effect of new ANC method on mortality (as a table)
Dataset on effect of new ANC method on mortality (as a table)
Description
This dataset contains frequency of various combinations
of methods of antenatal care in two clinics with the outcome being
perinatal mortality.
Usage
data(ANCtable)
Format
A data frame with 8 observations on the following 4 variables.
death a numeric vector: 1=no, 2=yes
anc a numeric vector indicating antenatal care type: 1=old 2=new
clinic a numeric vector indicating clinic code: 1=clinic A,
2=clinic B
Freq a numeric vector of frequencies
Examples
data(ANCtable)
glm1 <- glm(death==2 ~ factor(anc) + factor(clinic),weights=Freq, family=binomial, data=ANCtable)
logistic.display(glm1)
glm2 <- glm(death==2 ~ factor(anc) + factor(clinic),weights=Freq, family=binomial, data=ANCtable)
summary(glm2)$coefficients
Results
|