Re: [R] Error message with glm

2011-12-22 Thread Abraham Mathew
I just realized that mwin had three levels. I went ahead and deleted one of them. summary(mwin) table(mwin) mwin = factor(mwin) levels(mwin) mwin = mwin mwin[mwin %in% levels(mwin)[1]] <- NA mwin = factor(mwin) levels(mwin) mwin = factor(mwin, levels=c("DECLINED","ACCEPTED")) On Thu, Dec 22,

[R] Error message with glm

2011-12-22 Thread Abraham Mathew
I'm working on a logistic regression in R with the car package but keep getting the following error message. It's only and warning and not an error, but I'm just not sure how to resolve the issues. glm.fit: algorithm did not converge glm.fit: fitted probabilities numerically 0 or 1 occurred d1