Skip to content
Prev 279059 / 398503 Next

logistic regression - glm.fit: fitted probabilities numerically 0 or 1 occurred

On Dec 1, 2011, at 21:32 , Ben quant wrote:

            
Hum, then maybe it really is a case of a transition region being short relative to the range of your data. Notice that the warning is just that: a warning. I do notice that the distribution of your x values is rather extreme -- you stated a range of 0--14 and a mean of 0.01. And after all, an odds ratio of 3000 per unit is only a tad over a doubling per 0.1 units.

Have a look at  range(x[y==0]) and range(x[y==1]).