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 Edward Lakatos (1986) <doi:10.1016/0197-2456(86)90047-4> and 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). The inverse normal combination method due to Lu Cui, H. M. James Hung, and Sue-Jane Wang (1999) <doi:10.1111/j.0006-341x.1999.00853.x> is used in the simulation study to accommodate the information time not proportional to the total number of events for weighted log-rank tests.

Version: 0.1.3
Imports: Rcpp (≥ 1.0.7)
LinkingTo: Rcpp
Suggests: knitr, rmarkdown, rpact, mvtnorm, testthat (≥ 3.0.0)
Published: 2022-02-09
Author: Kaifeng Lu
Maintainer: Kaifeng Lu <kaifenglu at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
CRAN checks: lrstat results


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


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


Please use the canonical form to link to this page.