simon2stage_prob_reject_Ha: P(reject Ha) in a 2-stage PhII single arm Simon design

Description Usage Arguments Details Value References Examples

View source: R/simon2stage_reject_Ha.R

Description

This function calculates the P(reject alternative hypothesis|true success probability)

Usage

1
simon2stage_prob_reject_Ha(n1, n2, r1, r, p)

Arguments

n1

total number of patients in stage1

n2

total number of patients in stage2

r1

critical value for the first stage

r

critical value for the second stage

p

true success probability

Details

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

Value

Probability

References

Simon R. Optimal two-Stage Designs for Phase II Clinical Trials.
Control Clin Trials. 1989;10:1-10

Examples

1
simon2stage_prob_reject_Ha(n1=10,n2=20,r1=0,r=4,p=0.25)

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