d.babysurvival {plgraphics} | R Documentation |
Survival of Premature Infants to be modeled using 5 potential explanatory variables.
data("d.babysurvival") data("d.babysurvGr")
d.babysurvival
:
A data frame with 246 observations on the following 6 variables.
Survival
binary, 1 means the infant survived
Weight
birth weight [g]
Age
pregnancy in weeks
Apgar1
A score indication the fitness of the infant at birth, scores 0 to 9
Apgar5
alternative score
pH
blood pH
d.babysurvGr
:
Grouped data: Number of Infants that died and survived for each class
of birth weight.
n
Number of infants in the weight class
Survival.0, Survivl.1
Number of infants that died and survived, respectively
Weight
birth weight
Hibbard (1986)
data(d.babysurvival) summary(d.babysurvival) rr <- glm(Survival~Weight+Age+Apgar1, data=d.babysurvival, family="binomial") plregr(rr, xvar= ~Age+Apgar1)