The Bernoulli distribution probability mass function is
Writing gives and . Therefore the exponential family representation has
The logit link is the canonical link.
Independence gives the log-likelihood
Differentiating yields the score equations
When a finite maximum-likelihood estimator exists, multiplying these equations by gives
The qualification about a finite estimator matters under complete separation in logistic regression, where coefficient estimates can escape to infinity.
For separate binary observations, the saturated model fits each outcome exactly and has maximized log-likelihood zero. With , the residual deviance is therefore
Use the identity in part (b) to replace by in its first term:
Thus the deviance is twice the sum of the fitted binary information entropies. A deviance goodness-of-fit test against is unreliable for individual ungrouped binary observations: there is only one trial per saturated-model parameter, so the usual large-cell-count approximation fails. Deviance differences between fixed-dimensional nested logistic regression models can still support a likelihood-ratio test, subject to its usual regularity assumptions.
The three tree models are respectively , , and , with independent Bernoulli random variables conditional on the covariates. Testing the additional severity effect gives
Under , its reference distribution is asymptotically . The -value is approximately , giving overwhelming evidence that severity improves the fitted model. Holding severity fixed, doubling increases by one and multiplies the odds by
This is an odds ratio, not a multiplication of the event probability itself.

Articles by others on the same topic (0)

There are currently no matching articles.