Description Usage Arguments Details References Examples
View source: R/fleming2st_reject_Ha.R
This function calculates the P(reject alternative hypothesis)
1 | fleming2st_reject_Ha(n1, n2, r1, a, r2, p0, pa)
|
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 |
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
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
1 | fleming2st_reject_Ha(n1=13, n2=7, r1=0, a=3, r2=2, p0=0.05, pa=0.25)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.