Skip to content

using weights=varIdent in lme: how to change, reference level of grouping factor?

1 message · Highland Statistics Ltd

#
Emma...that seems a sensible choice from the original programmer of 
gls/lme. The same approach is recommended if you use a categorical 
variable as covariate; use the the level with the largest number of 
observations as baseline; it reduces collinearity between the dummy 
variables. I guess that with a varIdent setting in gls/lme there are 
similar numerical advantages to use the level with the largest number of 
observations as baseline.

I missed the start of this thread...why do you want to change the 
baseline level in the first instance? It is not that the estimated s_j 
values are 'with respect to a baseline level'. You can just calculate 
s_j * estimated sigma for each level j. There is no need to change the 
baseline level (unless you have numerical optimisation problems).

Mind you....you can easily write some code for this in JAGS and then you 
can choose any level as baseline!


Kind regards,

Alain