data(epilepsy)
ID
Y1
Y2
Y3
Y4
Base
Age
Trt
placebo
progabide
indicating whether the anti-epilepsy
drug Progabide has been applied or notYsum
Age10
Base4
Base
devided by 4Breslow N. E. (1996) Generalized linear models: Checking assumptions and strengthening conclusions. Statistica Applicata 8, 23--41.
data(epilepsy)
str(epilepsy)
pairs(epilepsy[,c("Ysum","Base4","Trt","Age10")])
Efit1 <- glm(Ysum ~ Age10 + Base4*Trt, family=poisson, data=epilepsy)
summary(Efit1)
## Robust Fit :
Efit2 <- glmrob(Ysum ~ Age10 + Base4*Trt, family=poisson, data=epilepsy,
method = "Mqle",
tcc=1.2, maxit=100)
summary(Efit2)
Run the code above in your browser using DataLab