[R] warning message in a glm model

From: Alfonso Pérez <rfonsilei_at_hotmail.com>
Date: Fri, 21 Mar 2008 16:59:05 +0100

Hello, my name is Alfonso. I want to apply a logistic model to my data. The variables are, fish length and age length as a continous variable, and cohort as a factor. I consider the interaction between age and cohort in the model. The dependent variable is the probability of being mature. Then the model is as follow:

    ogive <- glm(mature~length+(cohort*age), family=binomial, data=subset.cod)

    But when I run it in R I obtain a Warning message:

    Warning message:
In glm.fit(x = X, y = Y, weights = weights, start = start, etastart = etastart, :   fitted probabilities numerically 0 or 1 occurred

    I don't understand what's the problem, could you help me? thank you in advance.

    Alfonso.



Tecnología, moda, motor, viajes,…suscríbete a nuestros boletines para estar siempre a la última

enance&Brand=WL&RU=http%3a%2f%2fmail.live.com

        [[alternative HTML version deleted]]



R-help_at_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. Received on Fri 21 Mar 2008 - 16:02:49 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 21 Mar 2008 - 17:30:22 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive