Skip to content
Prev 4276 / 20628 Next

Why am I getting a Variance of 0 for my random effect

On Wed, Aug 11, 2010 at 03:05:06PM -0500, Douglas Bates wrote:
It's worth noting that this behaviour will not always be what you want
to happen.  There are times when you may want the inference and
estimation that arise from a model to reflect the inclusion of random
effects, even if the mode of the density of those effects is zero.

This is true, for example, in design-based inference.  For example,
you may feel strongly that the experimental design (or sample design)
has elements of clustering, and that to fit a model that ignores the
clustering will result in negatively biased estimates of the standard
errors of the fixed effects.

If your inference is model based, then this behaviour should be
perfectly fine.

Best wishes,

Andrew