Skip to content
Prev 11353 / 20628 Next

Don't understand this variance components output

On 14-01-28 08:06 PM, Stuart Luppescu wrote:
tl;dr   just use (1|tid.f/obsorder.f), drop (1|tid.f) -- it's redundant.

  I don't know if it's a FAQ or not, but I feel like I've answered this
one before (maybe off-list though) ... the problem is that you've got
both (1|tid.f) (variation in intercepts among 'tid.f' levels) and
(1|tid.f/obsorder.f) (variation among obsorder.f nested within tid.f).
In particular, tid.f/obsorder.f expands to tid.f + tid.f:obsorder.f
(i.e., tid.f and obsorder.f nested within tid.f), so you have two tid.f
terms.  Unlike regular (e.g. lm/glm) formulae, these redundant terms
don't automatically get merged ...  I've tried to write code that would
reliably detect this sort of overparameterization, but so far I haven't
managed.

  Ben Bolker