Displaying 1 result from an estimated 1 matches for "arson2".
Did you mean:
argon2
2005 Feb 22
2
ERROR NaNs produced; when comparing two logistic regression models with the ANOVA CHI test
...*When comparing two logistic regression models with the anova CHi test, I
obtain the following error: (there are no NA's in the time series). How can
this be solved such that I can compare two models on the same dataset were
different explanatory variables are used?
l.KBDI <- glm(zna.arson2 ~ zna.KBDI,family = binomial)
l.NDWI <- glm(zna.arson2 ~ zna.NDWI,family = binomial)
anova(l.KBDI,l.NDWI, test = "Chi")
Analysis of Deviance Table
Model 1: zna.arson2 ~ zna.KBDI
Model 2: zna.arson2 ~ zna.NDWI
Resid. Df Resid. Dev Df Deviance P(>|Chi|)
1 110 123....