Definition

For the first sample, let be i.i.d. survival time with a distribution , and be i.i.d. censoring time with a distribution . We can observe where and is censoring indicator.

For the second sample, let be i.i.d. survival time with a distribution , and be i.i.d. censoring time with a distribution . We can observe where and is censoring indicator.

Gehan’s test is an extension of Signed-Rank Wilcoxon Test. The test statistic of Gehen’s test is defined as where .

Under the null hypothesis , let be the combined samples and define , , and where is the indicator set for sample 1.

Then, the variance of is calculated as and