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]]
______________________________________________
[email protected] 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.