Skip to content

Earth (MARS) package with categorical predictors

1 message · Chris Wilkinson

#
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?

Chris