Skip to content
Prev 12004 / 20628 Next

Error in LME4

On 14-06-07 04:29 PM, Sunil Mundra wrote:
This means that you don't have all 36 combinations of Treatment,
Round, and Depth in your experimental design (based on the arithmetic it
seems that "Round" is your 9 samples).  (You probably only have 28
combinations -- were some treatment/depth combinations missed in some
rounds?)  If you use a recent version of lme4 you should be able to ask
lme4 to drop the aliased/unidentifiable columns -- in fact this should
happen automatically.

  However, you have more problems than this (sorry)

 * you're probably not going to be able to fit block as a random effect
(because there are only two levels)
 * you shouldn't have the same factor included as both a random and a
fixed effect

 I would suggest (I think)

Richness ~ Treatment*Depth + (1|(Block:Fence)/Round)

 possibly

 Richness ~ Treatment*Depth + (Treatment*Depth|(Block:Fence)) +
(1|Block:Fence:Round)

 to allow for variation in treatment/depth effects across blocks and
block/fence combinations