Chris Elsaesser wrote:
> I would like to try a likelihood ratio test in place of waldtest.
> Ideally I'd like to provide two glm models, the second a submodel of the
> first, in the style of lrt
> (http://www.pik-potsdam.de/~hrust/tools/farismahelp/lrt.html). [lrt
> takes farimsa objects]
> 
> Does anyone know of such a likelihood ratio test?
> 
> 

I think anova(model1,model2,test="Chi") will do what you want.

-- 
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Department of Public Health Sciences
Faculty of Medicine, University of Toronto
email: [EMAIL PROTECTED]  Tel: 416.864.5776  Fax: 416.864.6057

______________________________________________
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