Package: lrstat
Type: Package
Title: Power and Sample Size Calculation for Non-Proportional Hazards
Version: 0.1.3
Date: 2022-01-12
Author: Kaifeng Lu
Maintainer: Kaifeng Lu <kaifenglu@gmail.com>
Description: 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. 
License: GPL (>= 2)
Imports: Rcpp (>= 1.0.7)
LinkingTo: Rcpp
RoxygenNote: 7.1.2
Suggests: knitr, rmarkdown, rpact, mvtnorm, testthat (>= 3.0.0)
VignetteBuilder: knitr
Encoding: UTF-8
NeedsCompilation: yes
Packaged: 2022-02-08 17:21:10 UTC; kaifeng
Config/testthat/edition: 3
Repository: CRAN
Date/Publication: 2022-02-09 12:20:07 UTC
Built: R 4.0.5; x86_64-apple-darwin17.0; 2022-02-10 11:28:40 UTC; unix
Archs: lrstat.so.dSYM
