Skip to content
Prev 1604 / 20628 Next

Questions on the results from glmmPQL(MASS)

On Sun, 7 Dec 2008, zhijie zhang wrote:

            
Someone answered your specific questions before.
Because this is a simple random intercept model, you can also use the
glmmML R package, which gives:

glmmML(y ~ trt + I(week > 2), cluster=ID, family=binomial, data=bacteria)

                    coef se(coef)      z Pr(>|z|)
(Intercept)      3.5482   0.6933  5.118 3.09e-07
trtdrug         -1.3667   0.6768 -2.020 4.34e-02
trtdrug+        -0.7826   0.6830 -1.146 2.52e-01
I(week > 2)TRUE -1.5986   0.4754 -3.363 7.71e-04

Standard deviation in mixing distribution:  1.242
Std. Error:                                 0.4024

Residual deviance: 192.3 on 215 degrees of freedom      AIC: 202.3

You can then construct a test for the random effect.