gsBoundCP | R Documentation |
gsBoundCP()
computes the total probability of crossing future upper
bounds given an interim test statistic at an interim bound. For each interim
boundary, assumes an interim test statistic at the boundary and computes the
probability of crossing any of the later upper boundaries.
See Conditional power section of manual for further clarification. See also Muller and Schaffer (2001) for background theory.
gsBoundCP(x, theta = "thetahat", r = 18)
x |
An object of type |
theta |
if |
r |
Integer value controlling grid for numerical integration as in
Jennison and Turnbull (2000); default is 18, range is 1 to 80. Larger
values provide larger number of grid points and greater accuracy. Normally
|
A list containing two vectors, CPlo
and CPhi
.
CPlo |
A vector of length |
CPhi |
A vector of length |
The gsDesign technical manual is available at https://keaven.github.io/gsd-tech-manual/.
Keaven Anderson keaven_anderson@merck.com
Jennison C and Turnbull BW (2000), Group Sequential Methods with Applications to Clinical Trials. Boca Raton: Chapman and Hall.
Muller, Hans-Helge and Schaffer, Helmut (2001), Adaptive group sequential designs for clinical trials: combining the advantages of adaptive and classical group sequential approaches. Biometrics;57:886-891.
gsDesign
, gsProbability
,
gsCP
# set up a group sequential design
x <- gsDesign(k = 5)
x
# compute conditional power based on interim treatment effects
gsBoundCP(x)
# compute conditional power based on original x$delta
gsBoundCP(x, theta = x$delta)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.