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



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.11, https://cran.r-project.org/web/packages/lrstat. Accessed 22 Dec. 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), 0.2.10 (2024-10-18 07:40)
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

tropAlgebra  
Tropical Algebraic Functions
It includes functions like tropical addition, tropical multiplication for vectors and matrices. In t ...
Download / Learn more Package Citations See dependency  
composits  
Compositional, Multivariate and Univariate Time Series Outlier Ensemble
A compositional multivariate and univariate time series outlier ensemble.It uses the four R packages ...
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  
Rfast2  
A Collection of Efficient and Extremely Fast R Functions II
A collection of fast statistical and utility functions for data analysis. Functions for regression, ...
Download / Learn more Package Citations See dependency  
elect  
Estimation of Life Expectancies Using Multi-State Models
Functions to compute state-specific and marginal life expectancies. The computation is based on a fi ...
Download / Learn more Package Citations See dependency  
LOGANTree  
Tree-Based Models for the Analysis of Log Files from Computer-Based Assessments
Enables researchers to model log-file data from computer-based assessments using machine-learning te ...
Download / Learn more Package Citations See dependency  
Maintainer: Qi Qin (view profile)

23,394

R Packages

201,798

Dependencies

63,416

Author Associations

23,395

Publication Badges

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