oceSurv2WRMW {oceCens} | R Documentation |
Converts Survival Fits to Win Ratio and Mann-Whitney Estimates
Description
Converts Survival Fits to Win Ratio and Mann-Whitney Estimates
Usage
oceSurv2WRMW(time0, surv0, time1, surv1)
Arguments
time0 |
vector of times for group=0 subset |
surv0 |
vector of survival distribution values for group=0 |
time1 |
vector of times for group=1 subset |
surv1 |
vector of survival distribution values for group=1 |
Details
This is an interval function called by oceNPMLE
or
oceCoxph
.
Value
A list with the following elements (where Yg=ordered composite endpoint score for group=g):
- int01
estimate of P[Y0>Y1]
- int10
estimate of P[Y1>Y0]
- WR
win ratio, int10/int01
- MW
estimate of P[Y1>Y0]+(1/2)P[Y1=Y0]
WR=WR,MW=MW,int10=int10,int01=int01
[Package oceCens version 0.1.2 Index]