Skip to content
Prev 13338 / 20628 Next

glmm question

I think you would be better off to start with a mixed effects model with a
random effect for site and a fixed effect for year.

All a random effect is doing is to model the correlation between responses
allowing for other variables, in other words the residuals, by conditioning
on a variable that is unobserved. For the years there are only 3 so it is
just as easy or easier to model them using a known variable, the actual
year. It is also difficult to think of them as a random sample of years.
Now for the sites you would expect the same, that the 3 measurements within
a site, representing the 3 years would be correlated. Now it is reasonable
to model them using a random effect, as otherwise there would need to be a
fixed effect for each site, a large number of parameters. It is possible
that this random effect has variance zero then the model reverts to a
standard glm.
On 14 May 2015 at 22:55, Joaqu?n Aldabe <joaquin.aldabe at gmail.com> wrote: