Other packages > Find by keyword >

lrstat  

Power and Sample Size Calculation for Non-Proportional Hazards and Beyond
View on CRAN: Click here


Download and install lrstat package within the R console
Install from CRAN:
install.packages("lrstat")

Install from Github:
library("remotes")
install_github("cran/lrstat")

Install by package version:
library("remotes")
install_version("lrstat", "0.2.10")



Attach the package and use:
library("lrstat")
Maintained by
Kaifeng Lu
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2021-12-17
Latest Update: 2023-08-17
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) . The mean and variance of log-rank test score statistics are calculated based on Kaifeng Lu (2021) . The boundary crossing probabilities are calculated using the recursive integration algorithm described in Christopher Jennison and Bruce W. Turnbull (2000, ISBN:0849303168). The package can also be used for continuous, binary, and count data. For continuous data, it can handle missing data through mixed-model for repeated measures (MMRM). In crossover designs, it can estimate direct treatment effects while accounting for carryover effects. For binary data, it can design Simon's 2-stage, modified toxicity probability-2 (mTPI-2), and Bayesian optimal interval (BOIN) trials. For count data, it can design group sequential trials for negative binomial endpoints with censoring. Additionally, it facilitates group sequential equivalence trials for all supported data types. Moreover, it can design adaptive group sequential trials for changes in sample size, error spending function, number and spacing or future looks. Finally, it offers various options for adjusted p-values, including graphical and gatekeeping procedures.
How to cite:
Kaifeng Lu (2021). lrstat: Power and Sample Size Calculation for Non-Proportional Hazards and Beyond. R package version 0.2.10, https://cran.r-project.org/web/packages/lrstat. Accessed 21 Nov. 2024.
Previous versions and publish date:
0.1.0 (2021-12-17 10:10), 0.1.1 (2021-12-23 09:20), 0.1.2 (2022-02-02 10:10), 0.1.3 (2022-02-09 13:20), 0.1.4 (2022-06-07 22:30), 0.1.5 (2022-06-09 10:10), 0.1.6 (2022-08-09 17:00), 0.1.7 (2022-08-29 09:40), 0.1.8 (2022-09-11 21:12), 0.1.9 (2022-10-09 21:20), 0.1.10 (2022-10-25 18:32), 0.1.11 (2023-02-09 19:00), 0.1.12 (2023-04-30 21:50), 0.1.13 (2023-05-21 00:10), 0.1.14 (2023-06-09 06:10), 0.1.15 (2023-08-17 20:42), 0.2.0 (2023-10-01 18:40), 0.2.1 (2023-11-28 04:20), 0.2.2 (2023-12-22 05:30), 0.2.3 (2024-02-27 21:00), 0.2.4 (2024-03-19 17:50), 0.2.5 (2024-04-22 15:02), 0.2.6 (2024-05-11 13:53), 0.2.7 (2024-06-13 16:40), 0.2.8 (2024-06-19 09:30), 0.2.9 (2024-06-23 18:00)
Other packages that cited lrstat R package
View lrstat citation profile
Other R packages that lrstat depends, imports, suggests or enhances
Complete documentation for lrstat
Functions, R codes and Examples using the lrstat R package
Some associated functions: accrual . ad . adaptDesign . caltime . errorSpent . exitprob . fadjpbon . fadjpdun . fadjpsim . findInterval2 . fmodmix . fseqbon . fstdmix . fstp2seq . ftrunc . fwgtmat . getADCI . getADRCI . getAccrualDurationFromN . getBound . getCI . getCP . getDesign . getDurationFromNevents . getNeventsFromHazardRatio . getRCI . hd . kmest . kmest1 . lrpower . lrsamplesize . lrsim . lrsim2e . lrsim2e3a . lrsim3a . lrstat-package . lrstat . lrstat1 . natrisk . nevent . nevent2 . param_accrualDuration . param_accrualIntensity . param_accrualTime . param_allocationRatioPlanned . param_alpha . param_criticalValues . param_efficacyStopping . param_estimateHazardRatio . param_fixedFollowup . param_followupTime . param_futilityBounds . param_futilityStopping . param_gamma . param_gamma1 . param_gamma1_stratified . param_gamma2 . param_gamma2_stratified . param_hazardRatioH0 . param_informationRates . param_kMax . param_lambda . param_lambda1 . param_lambda1_stratified . param_lambda2 . param_lambda2_stratified . param_maxFollowupTime . param_minFollowupTime . param_numSubintervals . param_parameterAlphaSpending . param_parameterBetaSpending . param_piecewiseSurvivalTime . param_rho1 . param_rho2 . param_stratumFraction . param_typeAlphaSpending . param_typeBetaSpending . param_typeOfComputation . param_userAlphaSpending . param_userBetaSpending . patrisk . pd . pevent . print.adaptDesign . print.design . print.lrpower . print.lrsim . qtpwexp . repeatedPValue . updateGraph . 
Some associated R codes: RcppExports.R . lrstat-package.R . parameter_descriptions.R . prints.R . wrappers.R .  Full lrstat package functions and examples
Downloads during the last 30 days
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

pkgdepends  
Package Dependency Resolution and Downloads
Find recursive dependencies of 'R' packages from various sources. Solve the dependencies to obtain ...
Download / Learn more Package Citations See dependency  
RcppHNSW  
'Rcpp' Bindings for 'hnswlib', a Library for Approximate Nearest Neighbors
'Hnswlib' is a C++ library for Approximate Nearest Neighbors. This package provides a minimal R int ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
kgschart  
KGS Rank Graph Parser
Restore underlining numeric data from rating history graph of KGS (an online platform of the game o ...
Download / Learn more Package Citations See dependency  
deductive  
Data Correction and Imputation Using Deductive Methods
Attempt to repair inconsistencies and missing values in data records by using information from vali ...
Download / Learn more Package Citations See dependency  
crossrun  
Joint Distribution of Number of Crossings and Longest Run
Joint distribution of number of crossings and the longest run in a series of independent Bernoulli ...
Download / Learn more Package Citations See dependency  

23,229

R Packages

199,929

Dependencies

62,984

Author Associations

23,230

Publication Badges

© Copyright 2022 - present. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA