Displaying 1 result from an estimated 1 matches for "abij".
Did you mean:
abi
2009 Aug 21
0
data layout for crossed factors w/interaction in linear mix models
...m trying to fit a simple linear mixed model (see below this paragraph) arising from a crossed factorial design with 2 factors and ubalanced number of replicates (from two to five) in each cell, but I keep getting an error message (see bottom of message). The model is:
yijk = intercept + ai + bj + abij + ejik, where:
"intercept" is fixed, and the crosss factors, ai, i = 1,..,10, and bj, j= 1,..,10, are random. I am interested in estimating the variance components of these factors AND their interaction. I have tried:
fm1 <- lmer(formula = V1~1 + (1|V2) + (1|V3) + (1|V4), data = ...