Displaying 1 result from an estimated 1 matches for "l_logit".
Did you mean:
clogit
2011 Dec 01
1
logistic regression - glm.fit: fitted probabilities numerically 0 or 1 occurred
...df
attachments):
> unique(l_yx[,1])
[1] 0 1
> mean(l_yx[,2])
[1] 0.01123699
> max(l_yx[,2])
[1] 14.66518
> min(l_yx[,2])
[1] 0
> attributes(l_yx)
$dim
[1] 690303 2
$dimnames
$dimnames[[1]]
NULL
$dimnames[[2]]
[1] "y" "x"
With the above data I do:
> l_logit = glm(y~x, data=as.data.frame(l_yx),
family=binomial(link="logit"))
Warning message:
glm.fit: fitted probabilities numerically 0 or 1 occurred
Why am I getting this warning when I have data points of varying values for
y=1 and y=0? In other words, I don't think I have the linear sep...