Displaying 1 result from an estimated 1 matches for "notmar1".
Did you mean:
normal1
2003 Oct 24
2
predict for a model with a subset
Hello
running R 1.7.1 on Windows 2000
I have a model
notmar1 <- glm(yprisx~age+harddrug+sex, subset = marcom == 0,
family = quasipoisson)
and summary(notmar1) gives (as it should) 433 df for the null model
but when I run
predict(notmar1 <- glm(yprisx~age+harddrug+sex, subset = marcom == 0,
family = quasipoisson))
I get preditions for 528 people (t...