Chapter 10: Assessing Discrimi-
natory Performance of a Binary
Logistic Model
We suggest that you review the material cov-
ered here by reading the detailed outline that
follows. Then do the practice exercises and
test.In the next chapter (Chap. 10), we describe
methods for assessing the discriminatory per-
formance is of a binary logistic model using
misclassification tables and ROC curves.VII. Appendix: Derivation
of the Subject-
Specific (SS) Deviance
Formula
DevSSðb^Þ¼ 2 ~nk¼ 1P^ðXiÞln^PðXkÞ
1 P^ðXkÞ"!
þln 1 P^ðXkÞProof. We first write the Deviance formula in a
convenient form as follows:DevSSðb^Þ¼ 2 lnL^C
L^MAX
¼ 2 lnL^Csince lnL^MAX 0 2 ln;L^C ¼definition
2 ~nk¼ 1h
Yk lnP^ðXkÞ:þð 1 YkÞlnð 1 ^PðXkÞi¼
algebra
2 ~nk¼ 1Yk ln
P^ðXkÞ
1 ^PðXkÞ!
þlnð 1 P^ðXkÞ:
We now write the log of the logistic likelihood
function in a convenient form and take its
derivative:LðbÞ¼definitionYkP^ðXkÞYkð 1 P^ðXkÞÞ^1 Yk
so
lnLðbÞ¼~
kYklnP^ðXkÞþð 1 YkÞlnð 1 P^ðXkÞÞ:Presentation: VII. Appendix: Derivation of the Subject-pecific (SS) 327