Skip to content
Prev 16448 / 20628 Next

"nesting for free" in lme4. Do I have this right?

Hi Thierry,

I see your point. I usually think of implicit vs. explicit nesting in terms
of how the factor levels are labeled in the dataset: the levels are
explicitly nested if you can see the nesting just from looking at the data
frame, and they're implicitly nested if you can't tell that they're nested
just from looking at the data frame--because they appear to be
crossed--instead you have to have outside, background knowledge about the
dataset. If you instead view the issue from the perspective of the syntax,
then yes, it would make sense to call (1|region/state) explicit and (1|region)
+ (1|state) implicit.

Jake

On Fri, Apr 6, 2018 at 3:08 AM, Thierry Onkelinx <thierry.onkelinx at inbo.be>
wrote: