lrstat: Power and Sample Size Calculation for Non-Proportional Hazards

Performs power and sample size calculation for non-proportional hazards model using the Fleming-Harrington family of weighted log-rank tests. The sequentially calculated log-rank test score statistics are assumed to have independent increments as characterized in Anastasios A. Tsiatis (1982) <doi:10.1080/01621459.1982.10477898>. The mean and variance of log-rank test score statistics are calculated based on Kaifeng Lu (2021) <doi:10.1002/pst.2069>. The boundary crossing probabilities are calculated using the recursive integration algorithm described in Christopher Jennison and Bruce W. Turnbull (2000, ISBN:0849303168).

Version: 0.2.1
Imports: Rcpp (≥ 1.0.9), mvtnorm (≥ 1.1-3)
LinkingTo: Rcpp
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0), dplyr, tidyr
Published: 2023-11-28
Author: Kaifeng Lu
Maintainer: Kaifeng Lu <kaifenglu at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: lrstat results


Reference manual: lrstat.pdf
Vignettes: Comparing Direct Approximation and Schoenfeld Methods
Sample Size Calculation With Fixed Follow-up
Multiplicity Adjustment for Group Sequential Designs
Simulation for Group Sequential Trials
Power Calculation Using Max-Combo Tests
Sample Size Calculation Under Non-Proportional Hazards
Power Calculation With Stratification Variables


Package source: lrstat_0.2.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): lrstat_0.2.1.tgz, r-oldrel (arm64): lrstat_0.2.1.tgz, r-release (x86_64): lrstat_0.2.1.tgz, r-oldrel (x86_64): lrstat_0.2.0.tgz
Old sources: lrstat archive


Please use the canonical form to link to this page.