Power and Sample Size Calculation for Non-Proportional Hazards and Beyond
Number of Enrolled Subjects
Number of Patients Enrolled During an Interval and Having an Event by ...
Adaptive Design at an Interim Look
Simulation for a Binary Endpoint and a Time-to-Event Endpoint
BOIN Decision Table
Calendar Times for Target Number of Events
Clopper-Pearson Confidence Interval for One-Sample Proportion
Covariance Between Restricted Mean Survival Times
Error Spending
Stagewise Exit Probabilities
Adjusted p-Values for Bonferroni-Based Graphical Approaches
Adjusted p-Values for Dunnett-Based Graphical Approaches
Adjusted p-Values for Simes-Based Graphical Approaches
Find Interval Numbers of Indices
Converting a decimal to a fraction
Adjusted p-Values for Modified Mixture Gatekeeping Procedures
The Quantiles of a Survival Distribution
Group Sequential Trials Using Bonferroni-Based Graphical Approaches
Adjusted p-Values for Standard Mixture Gatekeeping Procedures
Adjusted p-Values for Stepwise Testing Procedures for Two Sequences
Adjusted p-Values for Holm, Hochberg, and Hommel Procedures
Weight Matrix for All Intersection Hypotheses
Accrual Duration to Enroll Target Number of Subjects
Confidence Interval After Adaptation
Repeated Confidence Interval After Adaptation
Efficacy Boundaries for Group Sequential Design
Confidence Interval After Trial Termination
Conditional Power Allowing for Varying Parameter Values
Power and Sample Size for a Generic Group Sequential Design
Power and Sample Size for Cohen's kappa
Power and Sample Size for One-Way ANOVA
Power and Sample Size for One-Way ANOVA Contrast
Power and Sample Size for a Generic Group Sequential Equivalence Desig...
Power and Sample Size for Fisher's Exact Test for Two Proportions
Power and Sample Size for Logistic Regression
Group Sequential Design for Two-Sample Mean Difference
Power and Sample Size for Direct Treatment Effects in Crossover Trials
Power and Sample Size for Equivalence in Direct Treatment Effects in C...
Group Sequential Design for Equivalence in Two-Sample Mean Difference
Group Sequential Design for Two-Sample Mean Difference From the MMRM M...
Group Sequential Design for Mean Difference in 2x2 Crossover
Group Sequential Design for Equivalence in Mean Difference in 2x2 Cros...
Group Sequential Design for Two-Sample Mean Ratio
Group Sequential Design for Equivalence in Two-Sample Mean Ratio
Group Sequential Design for Mean Ratio in 2x2 Crossover
Group Sequential Design for Equivalence in Mean Ratio in 2x2 Crossover
Group Sequential Design for Two-Sample Odds Ratio
Group Sequential Design for Equivalence in Two-Sample Odds Ratio
Group Sequential Design for One-Sample Mean
Power and Sample Size for One-Sample Multinomial Response
Group Sequential Design for One-Sample Proportion
Power and Sample Size for One-Sample Poisson Rate Exact Test
Group Sequential Design for One-Sample Slope
Power and Sample Size for Cochran-Armitage Trend Test for Ordered Mult...
Group Sequential Design for Paired Mean Difference
Group Sequential Design for Equivalence in Paired Mean Difference
Group Sequential Design for Paired Mean Ratio
Group Sequential Design for Equivalence in Paired Mean Ratio
Group Sequential Design for McNemar's Test for Paired Proportions
Power and Sample Size for Repeated-Measures ANOVA
Power and Sample Size for One-Way Repeated Measures ANOVA Contrast
Group Sequential Design for Two-Sample Risk Difference
Group Sequential Design for Equivalence in Two-Sample Risk Difference
Power and Sample Size for Exact Unconditional Test for Risk Difference
Power and Sample Size for Exact Unconditional Test for Equivalence in ...
Group Sequential Design for Two-Sample Risk Ratio
Group Sequential Design for Equivalence in Two-Sample Risk Ratio
Power and Sample Size for Exact Unconditional Test for Risk Ratio
Power and Sample Size for Exact Unconditional Test for Equivalence in ...
Group Sequential Design for Two-Sample Risk Ratio Based on the Farring...
Group Sequential Design for Two-Sample Slope Difference
Group Sequential Design for Two-Sample Slope Difference From the MMRM ...
Power and Sample Size for Difference in Two-Sample Multinomial Respons...
Power and Sample Size for the Wilcoxon Test for Two-Sample Ordinal Res...
Power and Sample Size for Two-Way ANOVA
Power and Sample Size for Unordered Multi-Sample Binomial Response
Power and Sample Size for Unordered Multi-Sample Multinomial Response
Group Sequential Design for Two-Sample Wilcoxon Test
Range of Accrual Duration for Target Number of Events
Required Number of Events Given Hazard Ratio
Repeated Confidence Interval for Group Sequential Design
Integrated Event Probability Over an Interval With Constant Hazard
Hedges' g Effect Size
Estimate of Milestone Survival Difference
Kaplan-Meier Estimates of Survival Curve
Power for Difference in Milestone Survival Probabilities
Power for One-Sample Milestone Survival Probability
Power for Equivalence in Milestone Survival Probability Difference
Sample Size for Difference in Milestone Survival Probabilities
Sample Size for One-Sample Milestone Survival Probability
Sample Size for Equivalence in Milestone Survival Probability Differen...
Stratified Difference in Milestone Survival Probabilities
Milestone Survival Probability by Stratum
Kaplan-Meier Survival Probability Based on Pooled Sample
Parametric Regression Models for Failure Time Data
Logistic Regression Models for Binary Data
Log-Rank Test Power
Power for Equivalence in Hazard Ratio
Log-Rank Test Sample Size
Sample Size for Equivalence in Hazard Ratio
Schoenfeld Method for Log-Rank Test Sample Size Calculation
Log-Rank Test Simulation
Log-Rank Test Simulation for Two Endpoints
Log-Rank Test Simulation for Two Endpoints and Three Arms
Log-Rank Test Simulation for Three Arms
Power and Sample Size Calculation for Non-Proportional Hazards and Bey...
Number of Subjects Having an Event and Log-Rank Statistics
Number of Subjects Having an Event and Log-Rank Statistic for a hypoth...
Log-Rank Test of Survival Curve Difference
Miettinen-Nurminen Score Confidence Interval for Two-Sample Odds Ratio
Miettinen-Nurminen Score Confidence Interval for Two-Sample Rate Diffe...
Miettinen-Nurminen Score Confidence Interval for Two-Sample Rate Ratio
Miettinen-Nurminen Score Confidence Interval for Two-Sample Risk Diffe...
Miettinen-Nurminen Score Confidence Interval for Two-Sample Risk Ratio
mTPI-2 Decision Table
Number of Subjects at Risk
Power for Negative Binomial Rate Ratio
Power for One-Sample Negative Binomial Rate
Power for Equivalence in Negative Binomial Rate Ratio
Sample Size for Negative Binomial Rate Ratio
Sample Size for One-Sample Negative Binomial Rate
Sample Size for Equivalence in Negative Binomial Rate Ratio
Negative Binomial Rate Ratio
Negative Binomial Rate Ratio by Stratum
Number of Subjects Having an Event
Number of Subjects Having an Event by Calendar Time
Parameter Description: accrualDuration
Parameter Description: accrualIntensity
Parameter Description: accrualTime
Parameter Description: allocationRatioPlanned
Parameter Description: alpha
Parameter Description: criticalValues
Parameter Description: efficacyStopping
Parameter Description: estimateHazardRatio
Parameter Description: fixedFollowup
Parameter Description: followupTime
Parameter Description: futilityBounds
Parameter Description: futilityStopping
Parameter Description: gamma
Parameter Description: gamma1_stratified
Parameter Description: gamma1
Parameter Description: gamma2_stratified
Parameter Description: gamma2
Parameter Description: hazardRatioH0
Parameter Description: informationRates
Parameter Description: kMax
Parameter Description: lambda
Parameter Description: lambda1_stratified
Parameter Description: lambda1
Parameter Description: lambda2_stratified
Parameter Description: lambda2
Parameter Description: maxFollowupTime
Parameter Description: minFollowupTime
Parameter Description: parameterAlphaSpending
Parameter Description: parameterBetaSpending
Parameter Description: piecewiseSurvivalTime
Parameter Description: rho1
Parameter Description: rho2
Parameter Description: stratumFraction
Parameter Description: typeAlphaSpending
Parameter Description: typeBetaSpending
Parameter Description: typeOfComputation
Parameter Description: userAlphaSpending
Parameter Description: userBetaSpending
Probability of Being at Risk
Integrated Event Probability Over an Interval
Probability of Having an Event
Proportional Hazards Regression Models
Power for Fisher's Exact Test for Two Proportions
Power for Binomial One-Sample Exact Test
Power for Poisson One-Sample Exact Test
Power for Exact Unconditional Test of Risk Difference
Power for Exact Unconditional Test of Equivalence in Risk Difference
Power for Exact Unconditional Test of Risk Ratio
Power for Exact Unconditional Test of Equivalence in Risk Ratio
Print Adaptive Group Sequential Design
Print the Decision Table for the BOIN Design
Print Group Sequential Design
Print Power and Sample Size Results for Cohen's kappa.
Print Power and Sample Size Results for One-Way ANOVA
Print Power and Sample Size Results for a Single Contrast in One-Way A...
Print Group Sequential Equivalence Design
Print Power and Sample Size Results for Logistic Regression
Print Power and Sample Size Results for Two-Sample Mean Difference
Print Power and Sample Size Results for Direct Treatment Effects in Cr...
Print Power and Sample Size Results for Equivalence in Direct Treatmen...
Print Power and Sample Size Results for Equivalence in Two-Sample Mean...
Print Power and Sample Size Results for Two-Sample Mean Difference at ...
Print Power and Sample Size Results for Mean Difference in 2x2 Crossov...
Print Power and Sample Size Results for Equivalence in Mean Difference...
Print Power and Sample Size Results for Two-Sample Mean Ratio
Print Power and Sample Size Results for Equivalence in Two-Sample Mean...
Print Power and Sample Size Results for Mean Ratio in 2x2 Crossover
Print Power and Sample Size Results for Equivalence in Mean Ratio in 2...
Print Power and Sample Size Results for Two-Sample Odds Ratio
Print Power and Sample Size Results for Equivalence in Two-Sample Odds...
Print Power and Sample Size Results for One-Sample Mean
Print Power and Sample Size Results for One-Sample Multinomial Respons...
Print Power and Sample Size Results for One-Sample Proportion
Print Power and Sample Size Results for One-Sample Slope
Print Power and Sample Size Results for Cochran-Armitage Trend Test fo...
Print Power and Sample Size Results for Paired Mean Difference
Print Power and Sample Size Results for Equivalence in Paired Mean Dif...
Print Power and Sample Size Results for Paired Mean Ratio
Print Power and Sample Size Results for Equivalence in Paired Mean Rat...
Print Power and Sample Size Results for McNemar's Test for Paired Prop...
Print Power and Sample Size Results for One-Way Repeated Measures ANOV...
Print Power and Sample Size Results for a Single Contrast in One-Way R...
Print Power and Sample Size Results for Two-Sample Risk Difference
Print Power and Sample Size Results for Equivalence in Two-Sample Risk...
Print Power and Sample Size Results for Two-Sample Risk Ratio
Print Power and Sample Size Results for Equivalence in Two-Sample Risk...
Print Power and Sample Size Results for Two-Sample Risk Ratio Based on...
Print Power and Sample Size Results for Two-Sample Slope Difference
Print Power and Sample Size Results for Two-Sample Slope Difference at...
Print Power and Sample Size Results for Difference in Two-Sample Multi...
Print Power and Sample Size Results for Wilcoxon Test for Two-Sample O...
Print Power and Sample Size Results for Two-Way ANOVA
Print Power and Sample Size Results for Unordered Multi-Sample Binomia...
Print Power and Sample Size Results for Unordered Multi-Sample Multino...
Print Power and Sample Size Results for Two-Sample Wilcoxon Test
Print the Point Estimate and Confidence Interval
Print Power and Sample Size Results for Milestone Survival Difference
Print Power and Sample Size Results for One-Sample Milestone Survival ...
Print Power and Sample Size Results for Equivalence in Milestone Survi...
Print liferegr Object
Print logisregr Object
Print Power and Sample Size Results for Log-Rank Tests
Print Power and Sample Size Results for Equivalence in Hazard Ratio
Print Simulation Results for Log-Rank Tests
Print the Decision Table for the mTPI-2 Design
Print Power and Sample Size Results for Negative Binomial Rate Ratio
Print Power and Sample Size Results for One-Sample Negative Binomial R...
Print Power and Sample Size Results for Equivalence in Negative Binomi...
Print phregr Object
Print Power and Sample Size Results for Restricted Mean Survival Time ...
Print Power and Sample Size Results for One-Sample Restricted Mean Sur...
Print Power and Sample Size Results for Equivalence in Restricted Mean...
Distribution Function of Truncated Piecewise Exponential Distribution
Piecewise Exponential Approximation to a Survival Distribution
Profile Log-Likelihood Function for the Change Points in Piecewise Exp...
QR Decomposition of a Matrix
Quantile Function of Truncated Piecewise Exponential Distribution
REML Estimates of Individual Proportions With Specified Odds Ratio
REML Estimates of Individual Rates With Specified Rate Difference
REML Estimates of Individual Rates With Specified Rate Ratio
REML Estimates of Individual Proportions With Specified Risk differenc...
REML Estimates of Individual Proportions With Specified Risk Ratio
Repeated p-Values for Group Sequential Design
Residuals for Proportional Hazards Regression Models
Exact Unconditional Confidence Interval for Risk Difference
P-Value for Exact Unconditional Test of Risk Difference
Exact Unconditional Confidence Interval for Risk Ratio
P-Value for Exact Unconditional Test of Risk Ratio
Estimate of Restricted Mean Survival Time Difference
Estimate of Restricted Mean Survival Time
Power for Difference in Restricted Mean Survival Times
Power for One-Sample Restricted Mean Survival Time
Power for Equivalence in Restricted Mean Survival Time Difference
Sample Size for Difference in Restricted Mean Survival Times
Sample Size for One-Sample Restricted Mean Survival Time
Sample Size for Equivalence in Restricted Mean Survival Time Differenc...
Restricted Mean Survival Time
Stratified Difference in Restricted Mean Survival Times
Restricted Mean Survival Time by Stratum
Random Number Generation Function of Truncated Piecewise Exponential D...
Run Shiny App
Sample Size for Fisher's Exact Test for Two Proportions
Sample Size for Binomial One-Sample Exact Test
Sample Size for Poisson One-Sample Exact Test
Sample Size for Exact Unconditional Test of Risk Difference
Sample Size for Exact Unconditional Test of Equivalence in Risk Differ...
Sample Size for Exact Unconditional Test of Risk Ratio
Sample Size for Exact Unconditional Test of Equivalence in Risk Ratio
Simon's Two-Stage Design
Analysis of Simon's Bayesian Basket Trials
Simulation of Simon's Bayesian Basket Trials
Survival Curve for Proportional Hazards Regression Models
Brookmeyer-Crowley Confidence Interval for Quantiles of Right-Censored...
Split a survival data set at specified cut points
Singular Value Decomposition of a Matrix
Update Graph for Graphical Approaches
Miettinen-Nurminen Score Test Statistic for Two-Sample Odds Ratio
Miettinen-Nurminen Score Test Statistic for Two-Sample Rate Difference
Miettinen-Nurminen Score Test Statistic for Two-Sample Rate Ratio
Miettinen-Nurminen Score Test Statistic for Two-Sample Risk difference
Miettinen-Nurminen Score Test Statistic for Two-Sample Risk Ratio
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) <doi:10.1080/01621459.1982.10477898>. The mean and variance of log-rank test score statistics are calculated based on Kaifeng Lu (2021) <doi:10.1002/pst.2069>. 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.