binom.power {ph2mult}R Documentation

The power function for Simon (admissible) two-stage design

Description

Calculate the type I error or power of a two-stage design

Usage

binom.power(r1,n1,r,n,p)

Arguments

r1

first stage threshold to stop the trial for futility.

n1

first stage sample size.

r

overall threshold to stop the trial for futility.

n

total sample size.

p

pre-specified response rate, p=p_0 for calculating type I error, p=p_1 for calculating power.

Value

prob

the power function: \alpha = Pr(R \le r| p=p_0) or 1-\beta=Pr(R \le r| p=p_1)

References

Simon, R. (1989). Optimal two-stage designs for phase II clinical trials. Controlled clinical trials 10(1), 1-10.

See Also

binom.design

Examples

## Calculate type I error
binom.power(5, 31, 16, 76, 0.15)
binom.power(5, 31, 16, 76, 0.3)


[Package ph2mult version 0.1.1 Index]