[R] random effects

Rosario Garcia Gil M.Rosario.Garcia at slu.se
Fri Sep 30 12:31:38 CEST 2011


I have a data set with fixed and random effects, therefore I am using the lme function:

lm(y ~ xfixed, random=~1|xrandom, data)

After this I want to get the F-values for both the fixed and random predictors. I can easily get the F-value and df for the xfixed predictors (anova()), but how to get the F-value for the xrandom predictors?

Thanks in advance.

More information about the R-help mailing list