fleming2st_reject_Ha: P(reject Ha) in a 2-stage PhII single arm Fleming design

Description Usage Arguments Details References Examples

View source: R/fleming2st_reject_Ha.R

Description

This function calculates the P(reject alternative hypothesis)

Usage

1
fleming2st_reject_Ha(n1, n2, r1, a, r2, p0, pa)

Arguments

n1

total number of patients in stage1

n2

total number of patients in stage2

r1

critical value futility for the first stage

a

critical value efficacy for the first stage

r2

critical value futility/efficacy for the second stage

p0

true success probability under H0

pa

true success probability under Ha

Details

if x1<=r1 –> stop futility
if x1>=a –> stop efficacy
if (x1+x2)<=r2 –> futility
with x1 the number of successes in the first stage and x2 the number of successes in the second stage

References

Mander AP, Thompson SG. Two-stage designs optimal under the alternative hypothesis for phase II cancer clinical trials. Contemporary Clinical Trials 2010;31:572–578 Qin F et al. Optimal, minimax and admissible two-stage design for phase II oncology clinical trials. BMC Medical Research Methodology 2020;20:126

Examples

1
fleming2st_reject_Ha(n1=13, n2=7, r1=0, a=3, r2=2, p0=0.05, pa=0.25)

IDDI-BE/PhIIdesign documentation built on June 5, 2021, 2:03 p.m.