ANC Table {epicalc} | R Documentation |
This dataset presents frequency of various combination of methods of antenatal care in two clinics and the perinatal mortality.
data(ANCtable)
A data frame with 8 observations on the following 4 variables.
death
anc
clinic
Freq
data(ANCtable) use(ANCtable) des() glm1 <- glm(death==1 ~ factor(anc) ,weights=Freq, family=binomial) logistic.display(glm1) glm2 <- glm(death==1 ~ factor(anc) + factor(clinic) ,weights=Freq, family=binomial) logistic.display(glm2) lrtest(glm1, glm2)