Generating a binomial regression with a response as Survival and predictors Time, Life.Stage and Trial, output in r provides comparisons of each factor level for Life.Stage "B" , "C" and "D" and compares to the intercept estimated using "A" as a baseline.
Eg:
mod=glm((cbind(Alive, Dead))~Time+Life.Stage+Trial, data=, family=binomial(link="logit"))
Coefficients:
Estimate Std. Error z value Pr(>|z|)
(Intercept) 4.8883 0.5361 9.118 < 2e-16 ***
Time -1.5748 0.1886 -8.352 < 2e-16 ***
Life.StageD 10.9599 1.5906 6.891 5.56e-12 ***
Life.StageC 7.9772 1.3710 5.818 5.94e-09 ***
Life.StageB 5.2570 0.9619 5.465 4.63e-08 ***
factor(Trial)3 0.1628 0.4426 0.368 0.713
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
(Dispersion parameter for binomial family taken to be 1)
Null deviance: 507.691 on 42 degrees of freedom
Residual deviance: 67.457 on 37 degrees of freedom
AIC: 104.44
Number of Fisher Scoring iterations: 7
Why, when I change the reference level to "B" or any other level, do the parameter estimates change?
I've referred to a similar question with an anova, however the explanation is a bit beyond my understanding.
The ultimate goal of my analysis is to determine whether Survival at each Life. Stage is different than every other Life.Stage.