Skip to content
Prev 9480 / 20628 Next

combining varIdent variance function with mixed effects model

Belinda Burns <10517197 at ...> writes:
lmer does not handle "R-side" effects (heteroscedasticity/varStruct/etc.)
at present.  You should be able to use random=~1|group/individual
in lme to account for individuals nested in groups.  However,
heteroscedasticity is also a common feature of lognormal data: could
you get away with some transformation of the form log(small_number+proportion)
(realizing that picking small_number is a bit of a can of worms)?
Or plogis(small_number+proportion)? (Should be roughly equivalent if
the proportions are typically small.)

  Ben Bolker