Skip to content
Prev 97012 / 398500 Next

random effects with lmer() and lme(), three random factors

On 7/28/06, Xianqun (Wilson) Wang <xwang at aviaradx.com> wrote:
That model specification can now be written as

fm <- lmer(y ~ (1|Sample) + (1|Operator/Run), x)
It's just a matter of round-off.  It is possible for the ML or REML
estimates of a variance component to be zero, as is the case here, but
the current computational methods do not allow the value zero because
this will cause some of the matrix decompositions to fail.  In lmer we
use a constrained optimization with the relative variance (variance of
a random effect divided by the residual variance) constrained to be
greater than or equal to 5e-10, which is exactly the value you have
here.

I'll add code to the model fitting routine to warn the user when
convergence to the boundary value occurs.  I haven't done that in the
past because it is not always easy to explain what is occurring.
For a model with variance components only, like yours, convergence on
the boundary means that an estimated variance component is zero.  In
the case of bivariate or multivariate random effects the
variance-covariance matrix can be singular without either of the
variances being zero.

The bottom line for you is that the estimated variance for
Operator:Run is zero and you should reduce the model to y ~ (1|Sample)
+ (1|Operator)


I cannot find where the problem is. Could anyone point me