View source: R/find2stageThetaF.R
find2stageThetaF | R Documentation |
Finds maximum conditional power at which trial will stop for futility
find2stageThetaF(r, r1, n2, p)
r |
Number of responses to be exceeded for trial success |
r1 |
Number of responses to be exceeded to continue to second stage |
n2 |
Sample size of second stage |
p |
Response rate under alternative hypothesis H1 |
The maximum conditional power at which the trial will stop for futility. This is the CP when there are r1 responses out of n1 participants.
find2stageThetaF(r=20, r1=8, n2=13, p=0.92)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.