简体   繁体   中英

How to calculate X-year survival probability from a cox regression of random survival forest in R

I want to build a survival model then calculate the X-year (eg 10-year) risk of survival.

Is there a way to do this using coxph or survreg? Is this possible using random survival forest (eg ranger)?

PS not sure if important but data is wide (~100 features - mostly continuous) and 17k samples.

For anyone else trying to do the same. If you build a cox-model with survival::coxph or rms::cph you can use the function pec::predictSurvProb .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM