I wonder if anyone can help me to understand the two questions regarding partykit::ctree
:
what's the difference between "quadratic" and "maximum" in
ctree_control(teststat = c("quadratic", "maximum"))
? When should I use one vs the other?For multivariate response, what's the meaning of p-value at each splitting node, separately for regression and classification? Here is one example for classification:
library(partykit)
airq <- subset(airquality, !is.na(Ozone))
airct2 <- ctree(Ozone + Temp ~ ., data = airq)
airct2
plot(airct2)
```