LM-GLM-GLMM-intro icon indicating copy to clipboard operation
LM-GLM-GLMM-intro copied to clipboard

Mixed models: Include more info about nested and crossed random effects

Open Pakillo opened this issue 7 years ago • 0 comments

See lme4 manual (http://lme4.r-forge.r-project.org/book/Ch2.pdf) and Bolker's article. Nested random effects (1|a/b) are actually equivalent to (1|a) + (1|b), as long as levels in b are clearly specified so they can't be confounded. See also https://m-clark.github.io/mixed-models-with-R/extensions.html#crossed-vs.nested

Pakillo avatar Feb 05 '18 22:02 Pakillo