secondaryBoundary: Calculate the Refined Secondary Boundaries, Standard OBF and...

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/refinedBoundaries.R

Description

Calculate the standard O'Brien-Fleming and Pocock refined secondary boundaries

Usage

1
2
secondaryBoundary(alpha, tVec, cvec, locPeak, type = 2, initIntvl = c(1, 4),
  nRep = 10)

Arguments

alpha

type I error.

tVec

information vector.

cvec

primary group sequential boundary.

locPeak

location of maximum, a number between 1 and the number of interims.

type

type of the test procedure for the secondary endpoint. O'Brien- Fleming (OBF) type error spending funciton is 1, Pocock (POC) type error spending funciton is 2.

initIntvl

computing paramter, a pair of numbers containing the end-points of the interval to be searched for the root.

nRep

computing paramter, number of replica.

Details

This function calculates the standard (origiinal) O'Brien-Fleming (OBF) and Pocock (POC) refined secondary boundaries.

Value

standard O'Brien-Fleming and Pocock refined secondary boundaries.

Author(s)

Jiangtao Gou

References

O'Brien, P. C., and Fleming, T. R. (1979). A multiple testing procedure for clinical trials. Biometrics 35, 549-556.

Pocock, S. J. (1977). Group sequential methods in the design and analysis of clinical trials. Biometrika 64, 191-199.

Tamhane, A. C., Gou, J., Jennison, C., Mehta, C. R., and Curto, T. (2017+). A gatekeeping procedure to test a primary and a secondary endpoint in a group sequential design with multiple interim looks. Biometrics, to appear.

See Also

ldSecondaryBoundary, initLocBeak

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#require(mvtnorm)
#K <- 8
#gammaVec <- sqrt((1:K)/K)
#tVec <- gammaVec^2
#alpha = 0.025
#c <- 2.072274
#cvec <- c/gammaVec
#loc <- initLocPeak(alpha,tVec,cvec,type=2,initIntvl=c(1,4),
#      initNrep=1)
#sbvec <- secondaryBoundary(alpha,tVec,cvec,loc,type=2,
#       initIntvl=c(1,8),nRep=1)

gsrsb documentation built on May 29, 2017, 7:12 p.m.