Power and Sample Size Calculation for Non-Proportional Hazards


[Up] [Top]

Documentation for package ‘lrstat’ version 0.2.0

Help Pages

lrstat-package Power and Sample Size Calculation for Non-Proportional Hazards
accrual Number of enrolled subjects
caltime Calendar times for target number of events
errorSpent Error spending functions
exitprob Stagewise exit probabilities
fadjpbon Adjusted p-values for Bonferroni-based graphical approaches
fadjpdun Adjusted p-values for Dunnett-based graphical approaches
fadjpsim Adjusted p-values for Simes-based graphical approaches
fmodmix Adjusted p-values for modified mixture gatekeeping procedures
fseqbon Group sequential trials using Bonferroni-based graphical approaches
fstdmix Adjusted p-values for standard mixture gatekeeping procedures
fstp2seq Adjusted p-values for stepwise testing procedures for two sequences
fwgtmat Weight matrix for all intersection hypotheses
getAccrualDuration Accrual duration to enroll target number of subjects
getBound Get efficacy boundaries for group sequential design
getDesign Get group sequential design
getDurationFromNevents Range of accrual duration for target number of events
getNeventsFromHazardRatio Get the required number of events from hazard ratios
kmest Stratified difference in milestone survival
lrpower Log-rank test power
lrsamplesize Log-rank test sample size
lrsim Log-rank test simulation
lrsim2e Log-rank test simulation for two endpoints and two arms
lrsim2e3a Log-rank test simulation for two endpoints and three arms
lrsim3a Log-rank test simulation for three arms
lrstat Number of subjects having an event and log-rank statistics
qtpwexp Quantile function of truncated piecewise exponential distribution
repeatedPValue Repeated p-values for group sequential design
updateGraph Update graph for graphical approaches