The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

nphPower: 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. The sample size calculation also applies to various cure models such as proportional hazards cure model, cure model with (random) delayed treatments effects. 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) <doi:10.1111/sjos.12059> and Cheng and He (2021) <doi:10.48550/arXiv.2110.03833>. The references for sample size calculation under proportional hazard include Schoenfeld (1981) <doi:10.1093/biomet/68.1.316> and Freedman (1982) <doi:10.1002/sim.4780010204>. The references for calculation under non-proportional hazards include Lakatos (1988) <doi:10.2307/2531910> and Cheng and He (2023) <doi:10.1002/bimj.202100403>.

Version: 1.1.0
Depends: R (≥ 2.10)
Imports: survival, stats, mvtnorm, MASS, zoo
Suggests: rmarkdown, knitr
Published: 2024-03-28
DOI: 10.32614/CRAN.package.nphPower
Author: Huan Cheng ORCID iD [aut, cre]
Maintainer: Huan Cheng <hcheng1118 at hotmail.com>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/hcheng99/nphPower
NeedsCompilation: no
Materials: README NEWS
CRAN checks: nphPower results

Documentation:

Reference manual: nphPower.pdf

Downloads:

Package source: nphPower_1.1.0.tar.gz
Windows binaries: r-devel: nphPower_1.1.0.zip, r-release: nphPower_1.1.0.zip, r-oldrel: nphPower_1.1.0.zip
macOS binaries: r-release (arm64): nphPower_1.1.0.tgz, r-oldrel (arm64): nphPower_1.1.0.tgz, r-release (x86_64): nphPower_1.1.0.tgz, r-oldrel (x86_64): nphPower_1.1.0.tgz
Old sources: nphPower archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=nphPower to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.