[R] Classification and Regression Tree for Survival Analysis

Bert Gunter bgunter.4567 at gmail.com
Tue Jun 13 18:59:33 CEST 2017


1. Please read and follow the posting guide below. Your post does not
meet the guidelines.

2. Search before posting!

e.g. on rseek.org: "Regression trees survival analysis"

in which you will find:
 https://cran.r-project.org/web/views/MachineLearning.html


-- Bert
Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Tue, Jun 13, 2017 at 6:02 AM, Dimitrie Siriopol via R-help
<r-help at r-project.org> wrote:
> 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.
> Thank you
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list