Skip to content
Prev 332839 / 398506 Next

Earth (MARS) package with categorical predictors

It appears to be legitimate to include multi-level categorical and continuous variables in defining the model for earth (e.g. y ~ cat + cont1 + cont2) but is it also then possible use categoricals in the predict method using the earth result? I tried but it returns an error which is not very informative.

Thanks

Chris