Skip to main content
4 events
when toggle format what by license comment
Feb 20, 2020 at 13:11 comment added Erik Ruzek @Sani, those two formulations can produce the same output, however, if you have coded your data correctly. See bbolker.github.io/mixedmodels-misc/… for more information.
Feb 19, 2020 at 21:53 comment added Guilherme Marthe Nope, those are non nested groups. To picture this, think of the hierarchical structure of states, within a county, within a city as compared to counties that have schools that have teachers when a teacher can teach in multiple schools, and then has to be modelled in a non nested manner, since a teacher can teach in many schools.
Feb 19, 2020 at 21:40 comment added Kawi Thank you! I didn't think of that. Is this code conceptually the same as lmer(PERMITS ~ 1 + howeownership + (1 |CITY) + (1 |CT), data = dt2, REML = FALSE)?
Feb 19, 2020 at 20:38 history answered Guilherme Marthe CC BY-SA 4.0