| ocarcinoma {coin} | R Documentation |
Survival times of 35 women suffering from ovarian carcinoma at stadium II and IIA.
ocarcinoma
A data frame with 35 observations on 3 variables.
timetime (days).
stadiuma factor with levels "II" and "IIA".
eventstatus indicator for time: FALSE for censored observations
and TRUE otherwise.
Data from Fleming et al. (1980) and Fleming, Green and Harrington (1984). Reanalysed in Schumacher and Schulgen (2002).
Fleming, T. R., Green, S. J. and Harrington, D. P. (1984). Considerations of monitoring and evaluating treatment effects in clinical trials. Controlled Clinical Trials 5(1), 55–66.
Fleming, T. R., O'Fallon, J. R., O'Brien, P. C. and Harrington, D. P. (1980). Modified Kolmogorov-Smirnov test procedures with applications to arbitrarily censored data. Biometrics 36(4), 607–625.
Schumacher, M. and Schulgen, G. (2002). Methodik Klinischer Studien: Methodische Grundlagen der Planung, Durchführung und Auswertung. Heidelberg: Springer.
## Exact logrank test
lt <- logrank_test(Surv(time, event) ~ stadium, data = ocarcinoma,
distribution = "exact")
## Test statistic
statistic(lt)
## P-value
pvalue(lt)