gumbel.est: Estimate baseline parameters in the Gumbel-Hougaard model for...

Description Usage Arguments Value References See Also Examples

View source: R/functions_SS.R

Description

Estimate baseline parameters in the Gumbel–Hougaard model described in base for sample size calculation using pilot study data.

Usage

1
gumbel.est(id, time, status)

Arguments

id

A vector of unique patient identifiers.

time

A numeric vector of event times.

status

A vector of event type variable; 2 = nonfatal event, 1 = death, and 0 = censoring.

Value

A list containing lambda_D for λ_D, lambda_H for λ_H, and kappa for κ in the Gumbel–Hougaard model.

References

Mao, L., Kim, K. and Miao, X. (2021). Sample size formula for general win ratio analysis. Biometrics, https://doi.org/10.1111/biom.13501.

See Also

base, WRSS

Examples

1
# see the example for WRSS

WR documentation built on Nov. 27, 2021, 1:06 a.m.