Skip to content

Help MARS Functions

1 message · Miguel Cañedo

#
Hi!

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...
glm.fit: 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!