ocarcinoma | R Documentation |
Survival times of 35 women suffering ovarian carcinoma at stadium II and IIA.
data(ocarcinoma)
A data frame with 35 observations on the following 3 variables.
time in days.
censoring indicator: 0 censored, 1 event.
a factor with levels II
and IIA
.
Data from Fleming et al. (1980, 1984), reanalysed in Schumacher and Schulgen (2002).
Thomas R. Fleming, Judith R. O'Fallon, Peter C. O'Brien & David P. Harrington (1980), Modified Kolmogorov-Smirnov test procedures with applications to arbitrarily censored data. Biometrics, 36, 607–625.
Thomas R. Fleming, Stephanie J. Green & David P. Harrington (1984), Considerations of monitoring and evaluating treatment effects in clinical trials. Controlled Clinical Trials, 5, 55–66.
Martin Schumacher & Gabi Schulgen (2002), Methodik klinischer Studien: methodische Grundlagen der Planung, Durchf\"uhrung und Auswertung. Springer, Heidelberg.
data(ocarcinoma) attach(ocarcinoma) # compute integer valued logrank scores logrsc <- cscores.Surv(cbind(time, cens), int=TRUE) # the test statistic lgT <- sum(logrsc[stadium == "II"]) # p-value round(pperm(lgT, logrsc, m=sum(stadium=="II"), al="tw"), 4) # compute logrank scores and simulate p-value logrsc <- cscores.Surv(cbind(time, cens), int=FALSE) # the test statistic lgT <- sum(logrsc[stadium == "II"]) # p-value round(pperm(lgT, logrsc, m=sum(stadium=="II"), al="tw", simulate=TRUE), 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.