1 Matching Annotations
- Feb 2017
-
www.ats.ucla.edu www.ats.ucla.edu
-
This is sometimes called a likelihood ratio test (the deviance residual is -2*log likelihood)
see logLik() in R, and note that all return the same value, which is chi-square distributed, and can be ways to select the appropriate model. Ways to compare models and variable selection:
- (logLik(fit.1) - logLik(fit.2)) * -2
- anova(fit.1, fit.2)
- fit.1$deviance - fit.2$deviance
-