The data frame hazardcross is obtained as follows. The survival time is generated
from the piecewise exponential model displayed in the left column of Figure 1 in Chang and McKeague (2016).
The censoring distributions (the same in each arm) is specified to
be uniform with administrative censoring at \(t = 10\), and a censoring rate of \(25\%\) in the first group.
hazardcrossThe hazardcross is a data frame with 100 observations of 3 variables,
and has the following columns:
time the observed times to first remission and censoring times
censor the censoring indicator
group the grouping variable
H. Chang, I.W. McKeague, "Empirical likelihood based tests for stochastic ordering under right censorship," Electronic Journal of Statistics, Vol. 10, No. 2, pp. 2511-2536, (2016).