LRTest | R Documentation |
LRTest
carry out an asymptotic likelihood ratio test for two models.
LRTest(mod0, mod1)
mod0 |
An existing fit from a model function such as lm, glm and many others. |
mod1 |
Object of the same class as |
mod0
have to be a reduced version of mod1
. See examples.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.