sampsize_1stage_2arm: Calculate the sample size for each arm

View source: R/sampsize_1stage_2arm.R

sampsize_1stage_2armR Documentation

Calculate the sample size for each arm

Description

Provide the required sample size (per arm) based on the one-stage selection design given the type I error rate and power. Details see the reference paper

Usage

sampsize_1stage_2arm(kappa, alpha, beta, m0, m1, ta, tf, delta)

Arguments

kappa

the shape parameter of weibull distribution

alpha

type I error rate

beta

type II error rate

m0

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

m1

the median survival time of arm A

ta

the accrual duration

tf

the follow-up duration

delta

the hazard ratio of arm B to arm A

Value

sampsize_1stage_2arm() 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

sampsize_1stage_2arm(kappa = 1, alpha = 0.05, beta = 0.1, m0 = 1,
                     m1 = 2.5, delta = 0.65, ta = 24, tf = 9)

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