Hastie and Tibshirani (1990, p. 282)described a study to determine risk factors for kyphosis, severe… 1 answer below »

Hastie and Tibshirani (1990, p. 282)described a study to determine risk factors for kyphosis, severe forward flexion of the spine following corrective spinal surgery. The age in months at the time of the operation for the 18 subjects for whom kyphosis was present were 12, 15, 42, 52, 59, 73, 82, 91, 96, 105, 114, 120, 121, 128, 130, 139, 139, 157

Don't use plagiarized sources. Get Your Custom Essay on
Hastie and Tibshirani (1990, p. 282)described a study to determine risk factors for kyphosis, severe… 1 answer below »
Just from $13/Page
Order Essay

and for 22 of the subjects for whom kyphosis was absent were 1, 1, 2, 8, 11, 18, 22, 31, 37, 61, 72, 81, 97, 112, 118, 127, 131, 140, 151, 159, 177, 206.

a. Fit a logistic regression model using age as a predictor of whether kyphosis is present. Test whether age has a significant effect.

b. Plot the data. Note the difference in dispersion on age at the two levels of kyphosis. Fit the model logit[π(x)=α+β1x+ β2x2. Test the significance of the squared age term, plot the fit, and interpret.