[R-sig-ME] Need some help with glmer output
Hans Ekbrand
hans at sociologi.cjb.net
Mon Feb 20 02:07:52 CET 2012
On Mon, Feb 20, 2012 at 02:01:09AM +0100, Hans Ekbrand wrote:
> On Sat, Feb 18, 2012 at 09:13:04AM -0800, lopez toledo wrote:
> > Dears lme4 users:
> > I'm doing a repeated measurement analysis, which seems pretty obvious to
> > me, but I'm getting some strange results, which I do not
> > understand. Hope you can help me!! Thanks in advance!
> >
> > I'm evaluating the effects of Defoliation Treatments (4 levels), Gender
> > (Male/Female) and Time on several responses (Growth , leaf production,
> > inflorescence production, etc) of a palm dioecious species
> >
> > I have about 550 palms total which have been measured 3 times. My main question is whether the effects depends on the intensity of defoliation, palm gender and how this has changed through time.
Rereading this paragraph, and in particular "and how this has changed
through time", I think you might want to specify Time as a random
variable too. However, I think it should be on its own, like this:
Model1<-glmer(Total leaves ~ DT * G + (1 | Time) + (1 | palm), family=poisson)
> Is it not enough to define one simple random effect for palm? Wouldn't
> that take care of the problem of repeated measurements of the same
> palm?
>
> Try:
>
> Model1<-glmer(Total leaves ~ DT * G * Time + (1 | palm), family=poisson)
More information about the R-sig-mixed-models
mailing list