powered by
Estimate baseline parameters in the Gumbel--Hougaard model described in base for sample size calculation using pilot study data.
base
gumbel.est(id, time, status)
A vector of unique patient identifiers.
A numeric vector of event times.
A vector of event type variable; 2 = nonfatal event, 1 = death, and 0 = censoring.
A list containing lambda_D for \(\lambda_D\), lambda_H for \(\lambda_H\), and kappa for \(\kappa\) in the Gumbel--Hougaard model.
lambda_D
lambda_H
kappa
Mao, L., Kim, K. and Miao, X. (2021). Sample size formula for general win ratio analysis. Biometrics, https://doi.org/10.1111/biom.13501.
base, WRSS
WRSS
# NOT RUN { # see the example for WRSS # }
Run the code above in your browser using DataLab