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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Test for random effects in GLM
2 messages · Daniel Mastropietro, Brian Ripley
First, this is not a generalized linear model: they don't have random effects. It's a GL>M<M. You can test for a non-zero random-effects variance: this is not different from an nlme fit (but different from an lme fit as the likelihood is approximated).
On Thu, 1 Aug 2002, Daniel Mastropietro wrote:
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._