Why is the null deviance of not equal to , which would be the deviance if all four observations equalled
Intermediate
Topic: Paired comparisons, and how far a fit is from the data · more questions on this topic
‹ 5 of 6 6 of 6
Four independent Bernoulli responses are . Why is the fitted intercept-only null deviance not ? Write the likelihood contribution of the zero response explicitly.
Worked answer
The fitted success probability is , so the zero contributes , not . The fitted likelihood is ; the saturated Bernoulli likelihood is . Thus the deviance is .