Skip to content
Prev 2513 / 20628 Next

lmer: problem in crossed random effect model with verydifferent variances

On Wed, Jun 17, 2009 at 3:54 PM, Michael Li<wuolong at gmail.com> wrote:
Thanks for sending the data.  That clears things up a bit.  You only
have two analysts.  It is unrealistic to expect to estimate a variance
from two groups.  Just as a sanity check you could fit a model with
fixed effects for day and analyst
'data.frame':	30 obs. of  3 variables:
 $ day    : Factor w/ 3 levels "1","2","3": 1 1 1 1 1 2 2 2 2 2 ...
 $ analyst: Factor w/ 2 levels "1","2": 1 1 1 1 1 1 1 1 1 1 ...
 $ y      : int  5482 3285 4266 3818 4159 3007 3349 3178 3093 3242 ...
Df   Sum Sq  Mean Sq F value    Pr(>F)
day          2 12410291  6205146 27.8892 5.494e-07
analyst      1   237096   237096  1.0656    0.3122
day:analyst  2   219345   109672  0.4929    0.6169
Residuals   24  5339828   222493
Df   Sum Sq  Mean Sq F value    Pr(>F)
day          2 12410291  6205146 29.0212 2.378e-07
analyst      1   237096   237096  1.1089     0.302
Residuals   26  5559173   213814

You can see that the effect of analyst is not significant, either in
the model that allows for interaction or in the additive model.