surv_to_risk {survivalmodels} | R Documentation |
Safely convert a survival matrix prediction to a relative risk
Description
Many methods can be used to reduce a discrete survival distribution prediction (i.e. matrix) to a relative risk / ranking prediction. Here we define the predicted relative risk as the sum of the predicted cumulative hazard function - which can be loosely interpreted as the expected number of deaths for patients with similar characteristics.
Usage
surv_to_risk(x)
Arguments
x |
( |
Value
A numeric vector with the expected number of deaths.
References
Sonabend, R., Bender, A., & Vollmer, S. (2021). Evaluation of survival distribution predictions with discrimination measures. http://arxiv.org/abs/2112.04828.