Let be the number of survivors among the patients in row . The fitted grouped-binomial logistic regression is
with
Site A and nonmalignant tumours are the reference levels. There is no site-by-malignancy interaction, so the malignancy log-odds effect is assumed to be the same at all three sites. In the R call, survive/total supplies the observed proportions and weights = total supplies the binomial denominators .
The estimates maximize the grouped-binomial likelihood, numerically obtained by iteratively reweighted least squares. At the fitted probabilities, the estimated covariance matrix is the inverse observed information, approximately
The Std. Error column is the square root of its diagonal. Each z value is Estimate/Std. Error, and the two-sided Wald test p-value is
for the null hypothesis that the corresponding coefficient is zero.
Thus is the fitted log odds for a nonmalignant patient at site A. The site coefficients compare B and C with A, while compares malignant with nonmalignant tumours after adjustment for site. In odds-ratio form,
At level , the B-versus-A contrast is not significant (), the C-versus-A contrast is not significant (), and malignancy has a significant negative association with survival (). The intercept test merely compares the baseline survival probability with .
The null deviance compares the intercept-only fit with the saturated model and has residual degrees of freedom. The residual deviance compares the four-parameter fitted model with the saturated model and has degrees of freedom. Finally, the Akaike information criterion is
Changing the reference level in a regression factor from A to B does not change the statistical model, fitted probabilities, likelihood, or deviance. If the first parametrization is
then the second is
Numerically,
The A-versus-B test is the same test as the former B-versus-A test, with its sign reversed, so its p-value remains . The malignancy coefficient is unchanged in this additive model, so its p-value remains . The intercept now represents site B rather than site A, so its test changes.
The siteC coefficient also changes meaning: in fit1 it tests C versus A, whereas in fit2 it tests C versus B. Its standard error and p-value therefore need not agree. The displayed tables show that C versus A is not significant (), while C versus B is significant (). There is no contradiction: these are different pairwise hypotheses.
The reduced model fit3 retains malignancy but omits both site indicators. The analysis of deviance for nested generalized linear models therefore tests
against the additive model with a site effect. The likelihood-ratio statistic is the reduction in deviance,
The full model adds two parameters, so under this is approximately . Since
but is less than the quantile , the p-value is between and ; in fact, because has survival function ,
We reject the no-site-effect null at the level and find evidence that survival differs by site after adjustment for malignancy.

Articles by others on the same topic (0)

There are currently no matching articles.