powered by
Print results for likelihood ratio test
# S3 method for lrtest print(x, ...)
object of class 'lrtest'
further arguments passed to or used by methods.
Virasakdi Chongsuvivatwong cvirasak@gmail.com
'logistic.display'
model0 <- glm(case ~ induced + spontaneous, family=binomial, data=infert) model1 <- glm(case ~ induced, family=binomial, data=infert) lrtest (model0, model1) lrtest (model1, model0) -> a a
Run the code above in your browser using DataLab