Displaying 1 result from an estimated 1 matches for "pyea".
Did you mean:
pea
2009 Mar 09
1
predict.glm predicted prob above 1?
I have a puzzle....
When I include an interaction in the model, many predicted probabilities are above 1. Is that a problem with my model? I thought the predicted prob can't be bigger than 1...
Any help would be really appreciated! Thanks!
K.
reg1<-glm(pyea~male+edu+married+inc+relig+factor(time)+
factor(time)*male, data=mydata, family=binomial(link="logit"))
reg2<-predict.glm(reg1, se.fit=T, data.frame(male=1, edu=1, married=1,inc=1, relig=1, type='response', YEAR=seq(1,33,1))
reg2$fit
$fit
1 2 3...