F.KM: Prediction of death using the Kaplan-Meier estimator

Description Usage Arguments Details Value Author(s) References Examples

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

1
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

1
2
3
4
5
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)

joint.Cox documentation built on Feb. 4, 2022, 5:08 p.m.