gehan.wilcoxon.test {PHInfiniteEstimates} | R Documentation |
Perform Gehan's application to the Wilcoxon test for multiple samples, testing for equivalance of survival curve. See Klein and Moeschberger (1997) Survival Analysis (7.3.3) and pp. 193-194.
Description
Perform Gehan's application to the Wilcoxon test for multiple samples, testing for equivalance of survival curve. See Klein and Moeschberger (1997) Survival Analysis (7.3.3) and pp. 193-194.
Usage
gehan.wilcoxon.test(
myformula,
data,
gehan = TRUE,
plot = FALSE,
alpha = 0.05,
subset = NULL
)
Arguments
myformula |
Proportional hazards formula appropriate for survfit |
data |
the data set |
gehan |
logical flag triggering the Wilcoxon test (gehan=TRUE), with weights equal to total at risk, or the log rank test (gehan=FALSE) with weights all 1. |
plot |
logical flag triggering plotting. |
alpha |
Nominal test level for plotting on graph |
subset |
Apply to a subset of the data. |
Value
An htest-like object with the chi-square version of the test.
Examples
data(breast)#From package coxphf
gehan.wilcoxon.test(Surv(TIME,CENS)~G,data=breast)
[Package PHInfiniteEstimates version 2.9.5 Index]