[R-sig-ME] Weighting variance on the residual in lme

joseph powell (RI) joseph.powell at bbsrc.ac.uk
Thu Nov 22 16:26:40 CET 2007


Dear all,

I wanted to check if I've fitted a model as I think I have, and if not
ask for suggestions for corrections. I've fitted the following model
within a function;

lme.out <- summary(lme(trait ~ genotype, random=~1|sire,
weights=~1/no.offspring, na.action="na.omit")) 

I wanted to include a weighting of 1/no.offspring for the variance of
the residual. Is this what I have fitted? If not suggestions would be
much appreciated.

Many thanks,

Joseph




More information about the R-sig-mixed-models mailing list