confint_km_diff: Lower and upper confidence bounds for the difference of two Kaplan-Meier curves
Description
Function fitting Kaplan-Meier curves \(S_1\), \(S_2\) to two groups and yielding
lower and upper (1-\(\alpha\))-confidence bounds for the difference \(S_1-S_2\) of these
two curves at a specific time point by using Greenwood's formula.
datasets containing time and status for each individual
plot
if TRUE, a plot of the two Kaplan Meier curves will be given
Value
A list containing the difference \(S_1(t_0)-S_2(t_0)\) and the lower and upper (1-\(\alpha\))-confidence bounds. Further a plot of the curves is given.