The default output in lmer also includes goodness of fit statistics which can be used for this assessment. The anova() command invokes the likelihood ratio test and can be used to compare models (under certain conditions). 

The bVar slot in the lmer fitted model contains the posterior variance of the random effects and can be used as well. 

-Harold


-----Original Message-----
From:	r-help-bounces@stat.math.ethz.ch on behalf of Eduardo.Garcia@uv.es
Sent:	Tue 7/12/2005 4:15 AM
To:	r-help@stat.math.ethz.ch
Cc:	
Subject:	[R] testing for significance in random-effect factors using lmer

Hi, I would like to know whether it is possible to obtain a value of 
significance for random effects when aplying the lme or related 
functions. The default output in R is just a variance and standard 
deviation measurement.

I feel it would be possible to obtain the significance of these random 
effects by comparing models with and without these effects. However, 
I'm not used to perform this in R and I would thank any easy guide or 
example.

Thanks.
--
********************************
Eduardo Moisés García Roger

Institut Cavanilles de Biodiversitat i Biologia
Evolutiva - ICBIBE.
Tel. +34963543664
Fax  +34963543670

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




	[[alternative HTML version deleted]]


