The
kyphosis
data frame has 81 rows representing data on 81
children who have had corrective spinal surgery. The outcome
Kyphosis
is a binary variable, the other three variables (columns)
are numeric.
"present"
or
"absent"
.
John M. Chambers and Trevor J. Hastie, Statistical Models in S, Wadsworth and Brooks, Pacific Grove, CA 1992, pg. 200.
kyph.glm <- glm(Kyphosis ~ Age + Start + Number, family = binomial, data = kyphosis)