Skip to content
Back to formatted view

Raw Message

Message-ID: <2439.83.253.15.61.1135156803.squirrel@poisson.statisticon.se>
Date: 2005-12-21T09:20:03Z
From: Henric Nilsson
Subject: Random effects with glm()
In-Reply-To: <000801c6055e$4066c720$13662a9e@portatilJP>

On Ti, 2005-12-20, 13:09, Juan Pablo S??nchez skrev:

> [...]
> Thus my question is: Do exit same option in the glm() function to allow
> for random effects?, similar to the random option in lme()

No, you can't fit GLMMs with the `glm' function. Instead, take a look at
e.g. the `glmmML', `lmer' and `glmmPQL' functions in the glmmML, Matrix
and MASS packages respectively.

HTH,
Henric