I need to do a model with a generalized linear model.
My data are these: habitat : 0 or 1, group : 1 or 0 , mortality : yes or no, and the numbers of individuals for each case (habitat, group and mortality are factors).
My model is
I want to see the influence of groupe and habitat on mortality.
and I get this message error : Warning message: glm.fit: fitted probabilities numerically 0 or 1 occurred
So what's wrong?