Is there a way to replicate the SPSS CHAID algorithm in R?

Viewed 37

I am trying to replicate the output obtained in SPSS doing it in R but I do not get the same results. I used the following libraries to help me, but I didn't get the same results as SPSS:

  library ("rpart")
  library ("readr")
  library ("caTools")
  library ("dplyr")
  library ("party")
  library ("party kit")
  library ("rpart.plot")

Does anyone know how I could do it? From my research I discovered that at one point there was a library called "CHAID" but now it is no longer available.

0 Answers
Related