Displaying 2 results from an estimated 2 matches for "kbdi".
Did you mean:
kbd
2005 Feb 22
2
ERROR NaNs produced; when comparing two logistic regression models with the ANOVA CHI test
Dear R-list,
*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|...
2004 Mar 20
2
labels on axis(4) and adaptation of legend to size of the plot
...helpers,
*Is it possible to get a ylabel on the right hand side axis ==> axis(4)?
Thankx,
Jan
opar <- par(mfrow = c(2,1))
plot(ts.Origi[,1],ylab='NDII', main=name)
# Add the legend text in the right order
legend.txt <- c("NDII", "Inverse KBDI")
legend(2001.8,0.29, legend.txt,col=c(1,2), lty=1)
par(new=T)
plot(ts.Origi[,2], yaxt="n", type="l", col=2, las=1, ylab="")
axis(4)
plot(ts.NDVIKB[,1],ylab='NDVI', main=name)
# Add the legend t...