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

Description Usage Arguments Value References See Also Examples

Description

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

Usage

1
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: α = Pr(R ≤ r| p=p_0) or 1-β=Pr(R ≤ 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

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

ph2mult documentation built on May 2, 2019, 1:46 p.m.

Related to binom.power in ph2mult...