F.KM {joint.Cox} | R Documentation |
Prediction of death using the Kaplan-Meier estimator
Description
Dynamic prediction of death using using the Kaplan-Meier estimator. Probability of death between t and t+w is calculated. The prediction probability is F(t,t+w)=1-S(t+w)/S(t), where S is the Kaplan-Meier estimator.
Usage
F.KM(time, widths, t.death, death)
Arguments
time |
prediction time (=t) |
widths |
length of window (=w) |
t.death |
a vector object for overall survival (OS), i.e., time-to-death |
death |
a vector object for death indicator(=1 if death; =0 if not death) |
Details
Prediction probability of death is calculated without covariates.
Value
time |
t |
widths |
w |
F |
F(t,t+w) |
Author(s)
Takeshi Emura
References
Emura T, Nakatochi M, Matsui S, Michimae H, Rondeau V (2018), Personalized dynamic prediction of death according to tumour progression and high-dimensional genetic factors: meta-analysis with a joint model, Stat Methods Med Res 27(9):2842-58
Examples
time=1
widths=c(0,0.5,1,1.5,2)
t.death=c(0.5,1,1.5,2,2.5,3)
death=c(1,1,1,1,1,1)
F.KM(time=time,width=widths,t.death=t.death,death=death)
[Package joint.Cox version 3.16 Index]