Maggie Wang wrote:
Hi, Dieter, Gad, and all,
Thank you very much for your reply!
So here is my data, you can copy it into a file names "sample.txt"
Hi Maggie,
With this data (allowing for more iterations) I get:
lr <- glm(fo, family=binomial(link=logit), data=matrix,
control=glm.control(maxit=100))
Warning message:
In glm.fit(x = X, y = Y, weights = weights, start = start, etastart =
etastart, :
fitted probabilities numerically 0 or 1 occurred
which indicates, as Thomas has said, perfect separation, which occurs
because you're trying to fit too many variables with not enough data.
Cheers,
Gad
--
Gad Abraham
MEng Student, Dept. CSSE and NICTA
The University of Melbourne
Parkville 3010, Victoria, Australia
email: gabra...@csse.unimelb.edu.au
web: http://www.csse.unimelb.edu.au/~gabraham
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.