Power and Sample Size Calculation for Non-Proportional Hazards and Beyond


[Up] [Top]

Documentation for package ‘lrstat’ version 0.2.5

Help Pages

A B C E F G H K L M N P Q R S U Z

-- A --

accrual Number of enrolled subjects
adaptDesign Adaptive design at an interim look

-- B --

BOINTable BOIN decision table

-- C --

caltime Calendar times for target number of events
ClopperPearsonCI Clopper-Pearson confidence interval for one-sample proportion
covrmst Covariance between restricted mean survival times

-- E --

errorSpent Error spending
exitprob Stagewise exit probabilities

-- F --

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
fquantile The quantiles of a survival distribution
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
ftrunc Adjusted p-values for Holm, Hochberg, and Hommel procedures
fwgtmat Weight matrix for all intersection hypotheses

-- G --

getAccrualDurationFromN Accrual duration to enroll target number of subjects
getADCI Confidence interval after adaptation
getADRCI Repeated confidence interval after adaptation
getBound Efficacy boundaries for group sequential design
getCI Confidence interval after trial termination
getCP Conditional power allowing for varying parameter values
getDesign Power and sample size for a generic group sequential design
getDesignAgreement Power and sample size for Cohen's kappa
getDesignANOVA Power and sample size for one-way ANOVA
getDesignANOVAContrast Power and sample size for one-way ANOVA contrast
getDesignEquiv Power and sample size for a generic group sequential equivalence design
getDesignFisherExact Power and sample size for Fisher's exact test for two proportions
getDesignLogistic Power and sample size for logistic regression
getDesignMeanDiff Group sequential design for two-sample mean difference
getDesignMeanDiffCarryover Power and sample size for direct treatment effects in crossover trials accounting for carryover effects
getDesignMeanDiffEquiv Group sequential design for equivalence in two-sample mean difference
getDesignMeanDiffMMRM Group sequential design for two-sample mean difference from the MMRM model
getDesignMeanDiffXO Group sequential design for mean difference in 2x2 crossover
getDesignMeanDiffXOEquiv Group sequential design for equivalence in mean difference in 2x2 crossover
getDesignMeanRatio Group sequential design for two-sample mean ratio
getDesignMeanRatioEquiv Group sequential design for equivalence in two-sample mean ratio
getDesignMeanRatioXO Group sequential design for mean ratio in 2x2 crossover
getDesignMeanRatioXOEquiv Group sequential design for equivalence in mean ratio in 2x2 crossover
getDesignOddsRatio Group sequential design for two-sample odds ratio
getDesignOddsRatioEquiv Group sequential design for equivalence in two-sample odds ratio
getDesignOneMean Group sequential design for one-sample mean
getDesignOneMultinom Power and sample for one-sample multinomial response
getDesignOneProportion Group sequential design for one-sample proportion
getDesignOneRateExact Power and sample size for one-sample Poisson rate exact test
getDesignOneSlope Group sequential design for one-sample slope
getDesignOrderedBinom Power and sample size for Cochran-Armitage trend test for ordered multi-sample binomial response
getDesignPairedMeanDiff Group sequential design for paired mean difference
getDesignPairedMeanDiffEquiv Group sequential design for equivalence in paired mean difference
getDesignPairedMeanRatio Group sequential design for paired mean ratio
getDesignPairedMeanRatioEquiv Group sequential design for equivalence in paired mean ratio
getDesignPairedPropMcNemar Group sequential design for McNemar's test for paired proportions
getDesignRepeatedANOVA Power and sample size for repeated-measures ANOVA
getDesignRepeatedANOVAContrast Power and sample size for one-way repeated measures ANOVA contrast
getDesignRiskDiff Group sequential design for two-sample risk difference
getDesignRiskDiffEquiv Group sequential design for equivalence in two-sample risk difference
getDesignRiskDiffExact Power and sample size for exact unconditional test for risk difference
getDesignRiskDiffExactEquiv Power and sample size for exact unconditional test for equivalence in risk difference
getDesignRiskRatio Group sequential design for two-sample risk ratio
getDesignRiskRatioEquiv Group sequential design for equivalence in two-sample risk ratio
getDesignRiskRatioExact Power and sample size for exact unconditional test for risk ratio
getDesignRiskRatioExactEquiv Power and sample size for exact unconditional test for equivalence in risk ratio
getDesignRiskRatioFM Group sequential design for two-sample risk ratio based on the Farrington-Manning score test
getDesignSlopeDiff Group sequential design for two-sample slope difference
getDesignSlopeDiffMMRM Group sequential design for two-sample slope difference from the MMRM model
getDesignTwoMultinom Power and sample for difference in two-sample multinomial responses
getDesignTwoOrdinal Power and sample size for the Wilcoxon test for two-sample ordinal response
getDesignTwoWayANOVA Power and sample size for two-way ANOVA
getDesignUnorderedBinom Power and sample size for unordered multi-sample binomial response
getDesignUnorderedMultinom Power and sample size for unordered multi-sample multinomial response
getDesignWilcoxon Group sequential design for two-sample Wilcoxon test
getDurationFromNevents Range of accrual duration for target number of events
getNeventsFromHazardRatio Get the required number of events given hazard ratio
getRCI Repeated confidence interval for group sequential design

-- H --

hedgesg Hedges' g effect size

-- K --

kmdiff Estimate of milestone survival difference
kmest Kaplan-Meier estimates of the survival curve
kmpower Power for difference in milestone survival probabilities
kmpower1s Power for one-sample milestone survival probability
kmpowerequiv Power for equivalence in milestone survival probability difference
kmsamplesize Sample size for difference in milestone survival probabilities
kmsamplesize1s Sample size for one-sample milestone survival probability
kmsamplesizeequiv Sample size for equivalence in milestone survival probability difference
kmstat Stratified difference in milestone survival probabilities

-- L --

lrpower Log-rank test power
lrpowerequiv Power for equivalence in hazard ratio
lrsamplesize Log-rank test sample size
lrsamplesizeequiv Sample size for equivalence in hazard ratio
lrsim Log-rank test simulation
lrsim2e Log-rank test simulation for two endpoints
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
lrtest Log-rank test of survival curve difference

-- M --

mnOddsRatioCI Miettinen-Nurminen score confidence interval for two-sample odds ratio
mnRateDiffCI Miettinen-Nurminen score confidence interval for two-sample rate difference
mnRateRatioCI Miettinen-Nurminen score confidence interval for two-sample rate ratio
mnRiskDiffCI Miettinen-Nurminen score confidence interval for two-sample risk difference
mnRiskRatioCI Miettinen-Nurminen score confidence interval for two-sample risk ratio
mTPI2Table mTPI-2 decision table

-- N --

nbpower Power for negative binomial rate ratio
nbpower1s Power for one-sample negative binomial rate
nbpowerequiv Power for equivalence in negative binomial rate ratio
nbsamplesize Sample size for negative binomial rate ratio
nbsamplesize1s Sample size for one-sample negative binomial rate
nbsamplesizeequiv Sample size for equivalence in negative binomial rate ratio
nbstat Negative binomial rate ratio

-- P --

ptpwexp Distribution function of truncated piecewise exponential distribution
pwexpcuts Piecewise exponential approximation to a survival distribution
pwexploglik Profile log-likelihood function for the change points in piecewise exponential approximation

-- Q --

qtpwexp Quantile function of truncated piecewise exponential distribution

-- R --

rawdata A simulated time-to-event data set with 10 replications
remlOddsRatio REML estimates of individual proportions with specified odds ratio
remlRateDiff REML estimates of individual rates with specified rate difference
remlRateRatio REML estimates of individual rates with specified rate ratio
remlRiskDiff REML estimates of individual proportions with specified risk difference
remlRiskRatio REML estimates of individual proportions with specified risk ratio
repeatedPValue Repeated p-values for group sequential design
riskDiffExactCI Exact unconditional confidence interval for risk difference
riskDiffExactPValue P-value for exact unconditional test of risk difference
riskRatioExactCI Exact unconditional confidence interval for risk ratio
riskRatioExactPValue P-value for exact unconditional test of risk ratio
rmdiff Estimate of restricted mean survival time difference
rmest Estimate of restricted mean survival time
rmpower Power for difference in restricted mean survival times
rmpower1s Power for one-sample restricted mean survival time
rmpowerequiv Power for equivalence in restricted mean survival time difference
rmsamplesize Sample size for difference in restricted mean survival times
rmsamplesize1s Sample size for one-sample restricted mean survival time
rmsamplesizeequiv Sample size for equivalence in restricted mean survival time difference
rmst Restricted mean survival time
rmstat Stratified difference in restricted mean survival times
rtpwexp Random number generation function of truncated piecewise exponential distribution
runShinyApp Run Shiny app

-- S --

simon2stage Simon's two-stage design
simonBayesAnalysis Analysis of Simon's Bayesian basket trials
simonBayesSim Simulation of Simon's Bayesian basket trials
survQuantile Brookmeyer-Crowley confidence interval for quantiles of right-censored time-to-event data

-- U --

updateGraph Update graph for graphical approaches

-- Z --

zstatOddsRatio Miettinen-Nurminen score test statistic for two-sample odds ratio
zstatRateDiff Miettinen-Nurminen score test statistic for two-sample rate difference
zstatRateRatio Miettinen-Nurminen score test statistic for two-sample rate ratio
zstatRiskDiff Miettinen-Nurminen score test statistic for two-sample risk difference
zstatRiskRatio Miettinen-Nurminen score test statistic for two-sample risk ratio