Description Usage Arguments Value Author(s) References Examples
Performs two-sample comparisons using various tests. The current version includes the Max-Combo test and the t-year event rate difference test that were used in Horiguchi et al. (2020) <doi:10.1177/1740774520940256>. The test statistic of the Max-Combo test is the maximum of test statistics from multiple weighted log-rank tests in the G(rho,gamma) class. Specifically, they are the log-rank test (G(0,0)), the generalized Wilcoxon test (G(1,0)), and two other tests (G(0,1) and G(1,1)). For the Max-Combo test, we used a permutation resampling method to determine the null distribution of the test statistic under the null hypothesis. The t-year event rate difference test compares survival probabilities at a specific time point. All tests are two-sided where the alternative hypothesis is that treatment group is not equal to control group with respect to survival.
1 |
time |
The follow-up time for right censored data. |
status |
The status indicator, 1=event, and 0=right censored. |
arm |
The group indicator for comparison. The elements of this vector take either 1 or 0. Normally, 0=control group, 1=active treatment group. |
tau |
A scalar value to specify the specific time point for calculating the t-year event rate difference.
|
nmethod |
A number of iterations for the resampling method. Recommended to specify at least 10000 (default) or larger. |
seed |
An integer value, used for the random number generation in the resampling procedures. Default is |
an object of class surv2test.
tau |
the specific time point used for the t-year event rate differnce test |
note |
a note regarding the specific time point |
tyear_pval |
p-value of the t-year event rate difference test |
maxcombo_pval |
p-value of the Max-Combo test |
Miki Horiguchi, Hajime Uno
Horiguchi M, Hassett MJ, Uno H. Empirical power comparison of statistical tests in contemporary phase III randomized controlled trials with time-to-event outcomes in oncology. Clinical Trials 2020. doi:10.1177/1740774520940256.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.