Sample Size Calculation under Non-Proportional Hazards

Performs combination tests and sample size calculation for fixed design with survival endpoints using combination tests under either proportional hazards or non-proportional hazards. The combination tests include maximum weighted log-rank test and projection test. The sample size calculation procedure is very flexible, allowing for user-defined hazard ratio function and considering various trial conditions like staggered entry, drop-out etc. Trial simulation function is also provided to facilitate the empirical power calculation. The references for projection test and maximum weighted logrank test include Brendel et al. (2014) and Cheng and He (2021) . The references for sample size calculation under proportional hazard include Schoenfeld (1981) and Freedman (1982) . The references for calculation under non-proportional hazards include Lakatos (1988) and Cheng and He (2021) (under review).


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("nphPower")

1.0.0 by Huan Cheng, 2 months ago


https://github.com/hcheng99/nphPower


Browse source code at https://github.com/cran/nphPower


Authors: Huan Cheng [aut, cre]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports survival, stats, mvtnorm, MASS, zoo

Suggests rmarkdown, knitr


See at CRAN