[R-sig-ME] Do glmer and glmmadmb calculate log likelihood on thesame scale ?

David Duffy David.Duffy at qimr.edu.au
Thu Jun 21 23:22:48 CEST 2012


On Thu, 21 Jun 2012, Simon Chamaillé-Jammes wrote:

> I would like to know if glmer and glmmadmb calculate log likelihood /
> deviance on the same scale.
>
What model family?

data(epil2)
epil2$subject <- factor(epil2$subject)
fm2 <- glmmadmb(y~Base*trt+Age+Visit+(Visit|subject),
                 data=epil2, family="poisson")
gm2 <- glmer(y~Base*trt+Age+Visit+(Visit|subject)
              data=epil2, family=poisson())
logLik(fm2)
'log Lik.' -655.41 (df=8)
logLik(gm2)
'log Lik.' -272.4573 (df=9)



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