[R] Classification and Regression Tree for Survival Analysis
dimitrie.siriopol at yahoo.com
Tue Jun 13 15:02:38 CEST 2017
I am trying to use the CART in a survival analysis. I have three variables of interest (all 3 ordinal - x, y and z, each of them with 5 categories) from which I want to make smaller groups (just an example 1st category from X variable with the 2nd and 3rd categories from the Y category and 2, 3 and 4 categories from the Z category etc) based on their, let's say, association with mortality.
Now I would also want that this analysis to be adjusted for a number of variables (that I don't want to incorporate in the decision tree, just to take them into consideration in the relationship between the 3 variables and the outcome; I would also want to mention that for this confounders I have missing values - how should this be deal with?), this survival analysis to be stratified and also to use clusters.
I have tried party and rpart packages, but I don't seem to get how to properly do what I want.
[[alternative HTML version deleted]]
More information about the R-help