Skip to content
Prev 11517 / 20628 Next

Specifying fixed residual variances for multilevel models

I'm not familiar with how lme works, but if the lmer formulation is sufficient then you can fit models of that sort using blmer in the blme package. Simply fix the common residual variance to one and supply the weights, at which point they'll behave as desired.

For example,

library(blme)
blmer(formula = y ~ 1 + (1 | group), weights = V,
      resid.prior = point(1.0), cov.prior = NULL)

Vince
On Feb 22, 2014, at 6:02 PM, Zaslavsky, Alan M. wrote: