[R] How to perform a Likelihood-ratio test?

Emmanuel Charpentier emm.charpentier at free.fr
Mon Jul 13 19:01:12 CEST 2009


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




More information about the R-help mailing list