[R-sig-ME] Variance explained by random factor
Renwick, A. R.
a.renwick at abdn.ac.uk
Thu Aug 14 11:24:08 CEST 2008
Many apologise but the glm model I compared was ma not ma1 and thus did have the interaction term:
From: dmbates at gmail.com [mailto:dmbates at gmail.com] On Behalf Of Douglas Bates
Sent: 14 August 2008 10:22
To: Ken Beath
Cc: Renwick, A. R.; r-sig-mixed-models at r-project.org
Subject: Re: [R-sig-ME] Variance explained by random factor
On Thu, Aug 14, 2008 at 11:10 AM, Ken Beath <ken at kjbeath.com.au> wrote:
> On 14/08/2008, at 1:17 AM, Renwick, A. R. wrote:
>> I am currently trying to run a lmer model with poisson distrubution.
>> I tested the model with a model without the random effect and it
>> inferred that I should include the random effect:
>> #test to see if sig difference between glm and glmm
>> #2.327441e-23 so should use a GLMM
> The problem may be due to the random effects model containing an
> interaction term sess:breedfem that the glm doesn't.
I agree. The result from the likelihood ratio test is actually evaluating the significance of the interaction term, not the random effects term.
> R-sig-mixed-models at r-project.org mailing list
The University of Aberdeen is a charity registered in Scotland, No SC013683.
More information about the R-sig-mixed-models