exitprob | R Documentation |
Obtains the stagewise exit probabilities for both efficacy and futility stopping.
exitprob(b, a = NA, theta = 0, I = NA)
b |
Upper boundaries on the z-test statistic scale. |
a |
Lower boundaries on the z-test statistic scale. Defaults to
|
theta |
Stagewise parameter of interest, e.g., |
I |
Stagewise cumulative information, e.g., |
A list of stagewise exit probabilities:
exitProbUpper
: The vector of efficacy stopping probabilities
exitProbLower
: The vector of futility stopping probabilities.
Kaifeng Lu, kaifenglu@gmail.com
exitprob(b = c(3.471, 2.454, 2.004), theta = -log(0.6),
I = c(50, 100, 150)/4)
exitprob(b = c(2.963, 2.359, 2.014),
a = c(-0.264, 0.599, 2.014),
theta = c(0.141, 0.204, 0.289),
I = c(81, 121, 160))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.