sample_size_3arm: Calculate the sample size for each arm

View source: R/sample_size_3arm.R

sample_size_3armR Documentation

Calculate the sample size for each arm

Description

Calculate the sample size for each arm in a three-arm trial

Usage

sample_size_3arm(kappa, m0, mA, mB, delta, ta, tf, P, diff)

Arguments

kappa

the shape parameter of weibull distribution

m0

the median survival time of historical control with respect to both arm A, B and C

mA

the median survival time of arm A

mB

the median survival time of arm B

delta

the hazard ratio of arm C to arm A

ta

the accrual duration

tf

the follow-up duration

P

the chance of correctly selecting the superior arm

diff

the equivalence margin

Value

sample_size_3arm() returns required sample size for each arm

Author(s)

Chia-Wei Hsu, Haitao Pan, Jianrong Wu

References

Jianrong Wu, Haitao Pan, Chia-Wei Hsu (2021). "Two-Stage Screened Selection Designs for Randomized Phase II Trials with Time-to-Event Endpoints." Submitted

Examples

sample_size_3arm(kappa = 1, m0 = 1, mA = 2, mB = 2, delta = 0.6,
                 ta = 24, tf = 3, P = 0.90, diff = 0)

sample_size_3arm(kappa = 1, m0 = 1, mA = 2, mB = 2, delta = 0.6,
                 ta = 24, tf = 3, P = 0.90, diff = 0.25)

frequentistSSD documentation built on April 16, 2022, 1:05 a.m.