sargent2stage_prob_reject_H0: P(reject H0) in a 2-stage PhII single arm Sargent design

Description Usage Arguments Details Value References Examples

View source: R/sargent2stage_reject_H0.R

Description

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

Usage

1
sargent2stage_prob_reject_H0(n1, n2, r1, s, p)

Arguments

n1

total number of patients in stage1

n2

total number of patients in stage2

r1

critical value for the first stage

s

critical value for the second stage

p

true success probability

Details

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

Value

Probability

References

Sargent DJ, Chan V, Goldberg RM. A three-outcome design for phase II clinical
trials. Control Clin Trials. 2001;22(2):117-125. doi:10.1016/s0197-2456(00)00115-x

Examples

1
sargent2stage_prob_reject_H0(n1=10,n2=20,r1=0,s=4,p=0.25)

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