= Solution
The first model's <residual deviance> is $671.27$ on $197$ <residual degrees of freedom>, a ratio of about $3.41$. This is far above the scale expected from a well-fitting dispersion-one grouped <binomial regression>. It suggests an inadequate mean function, <overdispersion>, or both. The linear age and exposure restrictions may miss nonlinear associations; the <generalized additive model> allows those shapes to be estimated through penalized <cubic regression splines> rather than assumed.
The very small exposure Wald <p-value> in the first fit suggests an association, but does not establish that a linear logit effect is adequate. Nor does the nonsignificant linear age term exclude every possible nonlinear age effect. Allowing estimated scale also addresses the excessive residual variation, which can arise from <clustered data> because several births belong to the same woman. The second model's estimated scale $3.3506$ confirms that permitting smooth means has not removed all extra variation. \b[The reason to proceed is poor initial fit and possible nonlinear effects, with dispersion-aware inference], not merely the wish to obtain more significant tests. These observational fits alone do not establish causation by the disaster.
Back to article page