Skip to content

Multilevel models

1 message · John Fox

#
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