GPW.logrank {DelayedEffect.Design} | R Documentation |
Generalized Piecewise Weighted Logrank Test
Description
Compute the p-value based on the generalized piecewise weighted log-rank test when the treatment time-lag effect is present and the lag duration varies heterogeneously from individual to individual or from study to study, within a certain domain and following a uniform pattern.
Usage
GPW.logrank(data, obs.time, time.to.event, event.status, trt.group, tl, tu)
Arguments
data |
Data frame |
obs.time |
Column name in |
time.to.event |
Column name in |
event.status |
Column name in |
trt.group |
Column name in |
tl |
Lower bound of delayed duration domain |
tu |
Upper bound of delayed duration domain |
Value
The p-value of the test.
Author(s)
Zhenzhen Xu <Zhenzhen.Xu@fda.hhs.gov> , Boguang Zhen<Boguang.Zhen@fda.hhs.gov>, Yongsoek Park <yongpark@pitt.edu> and Bin Zhu <bin.zhu@nih.gov>
References
Xu, Z., Park, Y., Zhen, B. & Zhu, B. (2017). Achieving optimal power of logrank test with random treatment time-lag effect. Biometrika. Under review.
Xu, Z., Zhen, B., Park, Y., & Zhu, B. (2017). Designing therapeutic cancer vaccine trials with delayed treatment effect. Statistics in medicine, 36(4), 592-605.
See Also
Examples
data(data, package="DelayedEffect.Design")
GPW.logrank(data, "X", "time_to_event", "event_status", "Z", 30, 30*11)