exitprob {lrstat} | R Documentation |
Stagewise exit probabilities
Description
Obtains the stagewise exit probabilities for both efficacy and futility stopping.
Usage
exitprob(b, a = NA, theta = 0, I = NA)
Arguments
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., |
Value
A list of stagewise exit probabilities:
-
exitProbUpper
: The vector of efficacy stopping probabilities -
exitProbLower
: The vector of futility stopping probabilities.
Author(s)
Kaifeng Lu, kaifenglu@gmail.com
Examples
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))