Assessing variable importance and survival probabilities within each stratum #396
Replies: 4 comments 6 replies
-
There is no option Regarding your second question about survival probabilities. The estimated survival function is nonparametric therefore it is capable of adaptively fitting interactions among the X features. |
Beta Was this translation helpful? Give feedback.
-
Maybe you should turn strata into a factor and include it in the model. Then to find out how survival depends on strata consider using partial plots which would display strata on the x-horizontal axis and on the y-vertical axis a summary survival value. See: https://www.randomforestsrc.org/articles/partial.html To obtain variable importance see https://www.randomforestsrc.org/articles/getstarted.html#variable-importance-vimp-and-dimension-reduction https://www.randomforestsrc.org/articles/rfsrc-subsample.html |
Beta Was this translation helpful? Give feedback.
-
To draw partial dependence plot, I’m using plot.variable.rfsrc function with partial = TRUE. Is there any way to switch off the band limits thus keeping only the predicted survival value? |
Beta Was this translation helpful? Give feedback.
-
Thank you. |
Beta Was this translation helpful? Give feedback.
-
I have a model below using randomForestSRC:
rf_model <- rfsrc(Surv(time, status) ~ x1 + x2 + x3, data = xx, strata = xx$ID, importance = TRUE, ntree = 100, seed = 1234)
Is it necessary to categorise strata as a factor variable?
Can variable importance be extracted within each stratum?
I am extracting survival probability from rf_model below:
surv_prob_Strata <- rf_model$survival.oob
Do these survival probabilities account for interactions among strata?
Beta Was this translation helpful? Give feedback.
All reactions