Logistic Regression: A Self-learning Text, Third Edition (Statistics in the Health Sciences)

(vip2019) #1
Partition for the Hosmer and Lemeshow Test

Event Nonevent
Group Total Observed Expected Observed Expected
1 274 17 17.00 257 257.00
2 59 7 7.00 52 52.00
3 122 15 15.00 107 107.00
4 57 9 9.00 48 48.00
5 39 9 9.00 30 30.00
6 58 14 14.00 44 44.00

Hosmer and Lemeshow Goodness-of-Fit Test

Chi-Square DF Pr>ChiSq
0.0000 4 1.0000


  1. Is the model being fitted a fully parameterized model?
    Explain briefly.

  2. Is the model being fitted a saturated model? Explain
    briefly.

  3. a. Is the deviance value of 0.0000 shown in the above
    output calculated using the deviance formula


Devðb^Þ¼ 2 lnðL^c=L^maxÞ;

whereL^c¼ML for current model andL^max¼ML
for saturated model? Explain briefly.
b. How can the deviance value of 0.0000 be calculated
using the difference between two log likelihood
functions?
c. What is actually being tested using this deviance
statistic? Explain briefly.


  1. a. What can you conclude from the Hosmer–
    Lemeshow statistic provided in the above output
    about whether the interaction model has lack of fit
    to the data? Explain briefly.
    b. What two models are actually being compared by
    the Hosmer–Lemeshow statistic of 0.0000? Explain
    briefly.
    c. Does the interaction model perfectly fit the data?
    Explain briefly.


Practice Exercises 337
Free download pdf