Skip to content
Prev 378792 / 398502 Next

Multilevel models

Dear Saul,

The most commonly used mixed-effect models software in R, in the lme4 and nlme packages, use the Laird-Ware form of the model, which isn't explicitly hierarchical. That is, higher-level variables are simply invariant within groups and appear in the model formula in the same manner as individual-level variables. So there's no problem -- just specify the model as you normally would.

By the way, you're more likely to get responses about mixed models if you post to the R-sig-mixed-models list <https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models> rather than to the more general R-help list.

I hope this helps,
 John

  -------------------------------------------------
  John Fox, Professor Emeritus
  McMaster University
  Hamilton, Ontario, Canada
  Web: http::/socserv.mcmaster.ca/jfox
Message-ID: <A9EF0A15-83F7-4EF9-A274-290933309EF0@mcmaster.ca>
In-Reply-To: <20657_1551672062_x24412EW029184_CAAxD7FdH9R5RuGo5WQ33W5M=PJC5Dn6xvDJAVgKH9x2gstz5eg@mail.gmail.com>