Does anyone know the why for this error when doing a logistic regression with binomial family? Thank you Kind regards ana Error in family$linkfun(mustart) : Value -1717986918 out of range (0, 1) in attachment is my data set and the comands I used were for adults y=cbind(totaladultpop-adultmortality,adultmortality) model1<-glm(y~temperature,family=binomial)> summary(model1) which worked wellfor juveniles y=cbind(totaljuvenilespop-juvenilemortality,juvenilemortality)> model3<-glm(y~humidity,family=binomial)Error in family$linkfun(mustart) : Value -1717986918 out of range (0, 1) Ana -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: hyalinalr.txt URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20101020/a117c9cc/attachment.txt>
On Oct 20, 2010, at 5:03 AM, Gouveia, Ana wrote:> Does anyone know the why for this error when doing a logistic > regression with binomial family? > Thank you > Kind regards > ana > Error in family$linkfun(mustart) : Value -1717986918 out of range > (0, 1) > in attachment is my data set and the comands I used were > for adults y=cbind(totaladultpop-adultmortality,adultmortality) > model1<-glm(y~temperature,family=binomial) >> summary(model1) which worked well > for juveniles > y=cbind(totaljuvenilespop-juvenilemortality,juvenilemortality) >> model3<-glm(y~humidity,family=binomial) > Error in family$linkfun(mustart) : Value -1717986918 out of range > (0, 1)Look more carefully at your 28th case. -- David Winsemius, MD West Hartford, CT