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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.