[R] Test for random effects in GLM

Daniel Mastropietro mastropi at uwalumni.com
Fri Aug 2 02:38:04 CEST 2002


Hello,

I would like to know how to test whether the 'subject' random effect is 
significant in a generalized linear model.

I am using glmmPQL() in the MASS package.
The response is binary and my model only has an intercept as fixed effect 
and 'subject' as random effect . That is, the fit is:

glmmPQL(y ~ 1 , random = ~ 1 | subject , family=binomial , data=data)

Thanks in advance
Daniel





-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list