[R] random effects

David Winsemius dwinsemius at comcast.net
Fri Sep 30 03:49:41 CEST 2011


On Sep 29, 2011, at 5:34 PM, Rosario Garcia Gil wrote:

> Hello
>
> 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?

As the (draft) FAQ says:    "... perhaps you shouldn't".

http://glmm.wikidot.com/faq

-- 

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list