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)

Ana

DATE    totaljuvenilespop       juvenilemortality       totaladultpop   
adultmortality  fecundity       totaldeaths     totalpop        temperature     
humidity
01/10/2007      8       5       19      7       0       12      27      25.48   
65.13
01/11/2007      3       3       12      10      0       13      15      23.00   
81.93
01/12/2007      1       0       2       0       1       0       3       22.86   
78.86
01/01/2008      3       0       2       0       2       0       5       22.89   
61.60
01/02/2008      14      7       5       0       14      7       19      22.91   
61.06
01/03/2008      18      7       6       0       12      7       24      23.20   
60.40
01/04/2008      16      5       8       0       7       5       24      22.77   
87.69
01/05/2008      11      5       8       3       0       8       19      24.53   
68.78
01/06/2008      7       4       7       0       4       4       14      23.16   
73.39
01/07/2008      3       2       9       0       1       2       12      22.94   
73.80
01/08/2008      6       3       9       0       5       3       15      22.75   
87.42
01/09/2008      14      5       9       0       11      5       23      22.63   
76.79
01/10/2008      18      12      10      0       10      12      28      22.65   
87.26
01/11/2008      10      0       10      0       4       0       20      22.47   
82.28
01/12/2008      25      6       10      0       15      6       35      22.63   
88.10
01/01/2009      34      20      10      0       15      20      44      22.60   
85.66
01/02/2009      35      9       11      0       22      9       46      22.50   
88.87
01/03/2009      44      12      11      0       30      12      55      22.47   
82.53
01/04/2009      64      9       11      0       32      9       75      22.97   
66.89
01/05/2009      88      52      11      0       33      52      99      22.94   
59.34
01/06/2009      69      28      14      0       36      28      83      21.64   
61.03
01/07/2009      65      13      18      3       36      16      83      21.62   
64.37
01/08/2009      55      12      15      2       3       14      70      21.61   
62.31
01/09/2009      40      8       16      9       0       17      56      21.23   
69.00
01/10/2009      30      3       9       1       0       4       39      21.62   
89.48
01/11/2009      28      11      8       0       1       11      36      21.83   
67.83
01/12/2009      19      0       15      0       9       0       34      22.07   
86.48
01/01/2010      19      20      15      0       0       20      34      18.99   
68.96
01/02/2010      1       0       15      0       1       0       16      21.06   
80.15
                                                                        
                                                                        
______________________________________________
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.

Reply via email to