| EventWinRatios-package | R Documentation |
This package provides several confidence interval and testing procedures using event-specific win ratios for semi-competing risks data with non-terminal and terminal events, as developed in Yang et al. (2021). It allows users to utilize more data for improved inference procedures with semi-competing risks data. The event-specific win ratios were introduced in Yang and Troendle (2021), and the detailed definitions and asymptotic results for event-specific win ratios are available in Yang et al. (2021).
| Package: | EventWinRatios |
| Type: | Package |
| Version: | 1.0.0 |
| Date: | 2021-07-09 |
| License: | GPL (>= 3) |
Daewoo Pak and Song Yang
Maintainer: Daewoo Pak <heavyrain.pak@gmail.com>
Yang, S., Troendle, J., Pak, D., & Leifer, E. (2022). Eventâ€specific win ratios for inference with terminal and nonâ€terminal events. Statistics in medicine, 41(7), 1225-1241.
Yang, S., & Troendle, J. (2021). Event-specific win ratios and testing with terminal and non-terminal events. Clinical Trials, 18(2), 180-187.
wr.test
library(EventWinRatios) data(SimuData) # non-terminal events yh <- SimuData$yh hcen <- SimuData$hcen # terminal events yd <- SimuData$yd dcen <- SimuData$dcen # group indicator z <- SimuData$z # Win Ratio tests result <- wr.test(yh, hcen, yd, dcen, z) print(result)