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.4")



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.4, https://cran.r-project.org/web/packages/lrstat
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)
Other packages that cited lrstat R package
View lrstat citation profile
Other R packages that lrstat depends, imports, suggests or enhances
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

ftaproxim  
Fault Tree Analysis Based on Proxel Simulation
Calculation and plotting of instantaneous unavailabilities of basic events along with the top event ...
Download / Learn more Package Citations See dependency  
rdbnomics  
Download DBnomics Data
R access to hundreds of millions data series from DBnomics API (). ...
Download / Learn more Package Citations See dependency  
steepness  
Testing Steepness of Dominance Hierarchies
The steepness package computes steepness as a property of dominance hierarchies. Steepness is define ...
Download / Learn more Package Citations See dependency  
critpath  
Setting the Critical Path in Project Management
Solving the problem of project management using CPM (Critical Path Method), PERT (Program Evaluation ...
Download / Learn more Package Citations See dependency  
mistral  
Methods in Structural Reliability
Various reliability analysis methods for rare event inference (computing failure probability and qua ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  

22,114

R Packages

188,080

Dependencies

55,244

Author Associations

22,115

Publication Badges

© Copyright 2022 - present. All right reserved, rpkg.net. Contact Us / Suggestions / Concerns