I am not able to tell if these two glm models are nested within one another. This is from the "mack" dataset in the R library "gamair".
fit3 <- glm(egg.count ~ b.depth + s.depth + temp.20m +
lat + lon + flow + temp.surf + factor(country),
family=poission(link="log"))
fit4 <- glm(egg.count ~ b.depth + s.depth + temp.20m +
lat + lon + flow + temp.surf + net.area,
family=poission(link="log"))
I said that these two models were not nested because net.area
is in one model and not in the other and the same for country
. Hence there is no larger model. But I'm still not sure if this correct reasoning.