Rank Correlation for Paired Predictors with a Censored Response
DESCRIPTION:
Computes U-statistics to test for whether predictor X1 is more concordant
than predictor X2, extending rcorr.cens. For method=1, estimates the fraction of
pairs for which the x1 difference is more impressive than the x2 difference.
For method=2, estimates the fraction of pairs for which x1 is concordant with
S but x2 is not.
USAGE:
rcorrp.cens(x1, x2, S, outx=FALSE, method=1)
ARGUMENTS:
x1
first predictor
x2
second predictor
S
a possibly right-censored
Surv object. If
S is a vector instead,
it is converted to a
Surv object and it is assumed that no observations
are censored.
outx
set to T to exclude pairs tied on x1 or x2 from consideration
method
see above
VALUE:
a vector of statistics
AUTHOR(S):
Frank Harrell
Department of Biostatistics, Vanderbilt University
f.harrell@vanderbilt.edu