Description Usage Arguments Value References See Also Examples
Perform two-sample tests for treatment effects with paired censored survival data. The method requires the time to event or a censored observation and the event indicator for each pair of observations.
1 2 3 4 5 6 7 8 9 10 |
x1 |
numeric, time to event for treatment group 1 |
delta1 |
numeric, 1 if subject died, 0 if censored |
x2 |
numeric, time to event for treatment group 2 |
delta2 |
numeric, 1 if subject died, 0 if censored |
n |
the integer number of correlated individuals and we assume they are sorted as in the paper, so that correlated observations come first up to the nth observation and then uncorrelated observations follow. |
tm |
sorted vector of times to events |
weights |
string, options are "left" and "right". Option "left" will give pf and yls weighting using upperlimit similar to logrank. "right" will use weights that are similar, but right continuous. |
maxtau |
numeric, maximum tau cutoff |
a list
object which contains named two-sample statistics and
p-values for the independent and correlated cases, and other auxiliary information
relevant to the analysis.
Murray, Susan. Nonparametric Rank-Based Methods for Group Sequential Monitoring of Paired Censored Survival Data. 2000. Biometrics, 56, pp. 984-990.
TM(), TM2()
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.