It looks like you have complete separation, meaning that some groups either
have occurrences at every observation (p=1) or for no observations (p=0).

Maybe you could combine some sites or treatments with low sample size

Fyi attachments get scrubbed from the list. A link to a cloud file might
work better

Good luck!

On Feb 16, 2017 03:26, "Miguel Cañedo" <> wrote:


I am using the mars.csv function to predict the occurrences of diatoms in
the Ebro basin (Spain) and I am finding some problems that I can´t solve. I
get the following error:

Creating predictions for subsets... fitted probabilities numerically 0 or 1 occurred

I am attaching the predictors + species matrix (DiatomsCV.csv), the
deviance resulting from applying the mars.glm function, the MARS functions
and the R code.

Can anyone take a quick look at it? I am really stuck...

Thank you very much in advance!

*“All things that are still to come lie in uncertainty; live straightway!” *

*― Seneca <>, On the
Shortness of Life <>*

*Miguel Cañedo-Argüelles*ñedo-argüelles/23/4aa/249

*BETA Group, University of Vic*

*FEM Group, University of Barcelona*
R-sig-ecology mailing list

        [[alternative HTML version deleted]]

R-sig-ecology mailing list

Reply via email to