Skip to main content
Question Protected by kjetil b halvorsen
Post Made Community Wiki by whuber
Post Reopened by whuber
Post Closed as "Not suitable for this site" by jbowman, Michael R. Chernick, Peter Flom
Post Merged (destination) from stats.stackexchange.com/questions/18428/…
deleted 36 characters in body; edited tags; edited title
Source Link
amoeba
  • 107.2k
  • 36
  • 321
  • 346

R's lmer cheat-sheet sheet

There's a lot of discussion going on on this forum about the proper way to specify various hierarchical models using lmer.

I thought it would be great to have all the information in one place. A couple of questions to start:

  1. How to specify multiple levels, where one group is nested within the other.: is it (1|group1:group2) or (1+group1|group2)?
  2. What's the difference between (~1 + ....) and (1 | ...)) and (0 | ...) etc.?
  3. How to specify group-level interactions?

Basically any thoughts are welcome.

R's lmer cheat-sheet

There's a lot of discussion going on on this forum about the proper way to specify various hierarchical models using lmer.

I thought it would be great to have all the information in one place. A couple of questions to start:

  1. How to specify multiple levels, where one group is nested within the other. is it (1|group1:group2) or (1+group1|group2)?
  2. What's the difference between (~1 +....) and (1 | ...) and (0 | ...) etc.?
  3. How to specify group-level interactions?

Basically any thoughts are welcome.

R's lmer cheat sheet

There's a lot of discussion going on on this forum about the proper way to specify various hierarchical models using lmer.

I thought it would be great to have all the information in one place. A couple of questions to start:

  1. How to specify multiple levels, where one group is nested within the other: is it (1|group1:group2) or (1+group1|group2)?
  2. What's the difference between (~1 + ....) and (1 | ...) and (0 | ...) etc.?
  3. How to specify group-level interactions?
code formatting, punctuation
Source Link
Nick Stauner
  • 12.4k
  • 5
  • 53
  • 110

There's a lot of discussion going on on this forum about the proper way to specify various hierarchical models using lmerlmer.

I thought it would be great to have all the information in one place. A couple of questions to start:

  1. How to specify multiple levels, where one group is nested within the other. is it (1|group1:group2)(1|group1:group2) or (1+group1|group2)(1+group1|group2)?
  2. What's the difference between (~1 +....)(~1 +....) and (1 | ...(1 | ...) and (0 | ...)(0 | ...) etc.?
  3. How to specify group level-level interactions?

Basically any thoughts are welcome.

There's a lot of discussion going on on this forum about the proper way to specify various hierarchical models using lmer.

I thought it would be great to have all the information in one place. A couple of questions to start:

  1. How to specify multiple levels, where one group is nested within the other. is it (1|group1:group2) or (1+group1|group2)?
  2. What's the difference between (~1 +....) and (1 | ...) and (0 | ...) etc.?
  3. How to specify group level interactions?

Basically any thoughts are welcome.

There's a lot of discussion going on on this forum about the proper way to specify various hierarchical models using lmer.

I thought it would be great to have all the information in one place. A couple of questions to start:

  1. How to specify multiple levels, where one group is nested within the other. is it (1|group1:group2) or (1+group1|group2)?
  2. What's the difference between (~1 +....) and (1 | ...) and (0 | ...) etc.?
  3. How to specify group-level interactions?

Basically any thoughts are welcome.

Tweeted twitter.com/#!/StackStats/status/101271136402276352
added 2 characters in body; edited tags; edited title
Source Link
user88
user88
Loading
Source Link
DBR
DBR
Loading