LRTest.RdLRTest carry out an asymptotic likelihood ratio test for two models.
LRTest(mod0, mod1)An existing fit from a model function such as lm, glm and many others.
Object of the same class as mod0 with extra terms
included.
Data frame with the results of likelihood ratio test of the supplied models.
Column term holds new variables appearing in mod1,
df difference in degrees of freedom between models, logLik
difference in log likelihoods, statistic
Chisq statistic and
p.value corresponding p-value.
mod0 have to be a reduced version of mod1. See examples.