Le lundi 13 juillet 2009 à 13:04 +0200, Lars Bergemann a écrit :
> Hi.
> 
>  
> 
> I would like to use a likelihood-ratio test to compare a linear model (lm()) 
> to another linear model containing the first one to see if the extra factors 
> are needed - but I was unable to find any help on how to do that.
> 
> Could you help me and tell me what to do? Or tell me where to find help on 
> this topic?

?anova? Check the "test" argument ...:-)

                                        Emmanuel Charpentier

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to