[R-sig-ME] Checking overdispersion in binomial mixed model

Tom Wenseleers Tom.Wenseleers at bio.kuleuven.be
Fri Feb 7 17:20:02 CET 2014


Ha, many thanks!
Just saw there is also the code on the http://glmm.wikidot.com/faq I'll probably used that one then!

Cheers & thanks!
Tom

-----Original Message-----
From: r-sig-mixed-models-bounces at r-project.org [mailto:r-sig-mixed-models-bounces at r-project.org] On Behalf Of S Ellison
Sent: 07 February 2014 11:13
To: r-sig-mixed-models at r-project.org
Subject: Re: [R-sig-ME] Checking overdispersion in binomial mixed model



> -----Original Message-----
> return(  sqrt( sum(c(modelglmer at resid, modelglmer at u) ^2) / n ) ) }
...

> However, if I try this in the new version I get the error
> disp_glmer(fit3) #looks fine (0,998)
> Error in disp_glmer(fit3) :
>   no slot of name "resid" for this object of class "glmerMod"

Try residuals(modelglmer) instead of modelglmer at resid ?

S Ellison



*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:6}}



More information about the R-sig-mixed-models mailing list