Re: [R] likelihood ratio test between glmer and glm

2010-03-14 Thread Davnah Urbach
) >>> gm1 <- glmer(cbind(female,male)~date+(1|dam),family=binomial,data= liz3) >>> >>> lrt(gm0, gm1) >> >> It is _very_ dangerous to do this as the likelihoods are unlikely to >> be comparable/compatible. >> >> Hadley >> >>

[R] likelihood ratio test between glmer and glm

2010-03-14 Thread Davnah Urbach
L 1 I would be very thankful if someone could clarify my mind about how to estimate the variance explained by my random factor and also when to use lower = FALSE versus TRUE. Many thanks in advance Davnah Urbach Post-doctoral researcher Dartmouth College Department of Biologic