Skip to content
Prev 2290 / 20628 Next

Ecological mixed model example

Two more things:
(1) I accidentally left out the main effects for "year" in the
fixed-effect part of the lmer model. So the call should actually be:
or for direct estimates of (almost all) cell means
In real data, year should probably be specified with trends, e.g., as
poly(year, 2).

(2)  I think , in principle, replacing
with
should also work for the sigmas in your script. I did run into a
convergence problem with this specification.
Also, the fixed effects were not very transparent to me in this specification.

Best
Reinhold Kliegl


On Thu, May 14, 2009 at 11:38 PM, Reinhold Kliegl
<reinhold.kliegl at gmail.com> wrote: