oceSurv2WRMW function

Converts Survival Fits to Win Ratio and Mann-Whitney Estimates

Converts Survival Fits to Win Ratio and Mann-Whitney Estimates

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

Returns

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

Details

This is an interval function called by oceNPMLE or oceCoxph.

  • Maintainer: Michael P. Fay
  • License: GPL-3
  • Last published: 2023-08-24

Useful links