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
______________________________________________
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.