cdBoundary: Lower and Upper Bounds Generator

Description Usage Arguments Details Value Author(s) References Examples

View source: R/refinedBoundaries.R

Description

Generate lower and upper bounds for programs calculating the secondary endpoint's type I error when the correlation rho between the primary endpoint and the secondary endpoint equals 1.

Usage

1
cdBoundary(cvec, dvec, gammaVec, dlt, upper = TRUE)

Arguments

cvec

primary boundary.

dvec

secondary boundary.

gammaVec

square root of information vector.

dlt

test statistic of the primary endpoint follows a normal distribution with mean dlt and standard deviation 1.

upper

type of bounds, upper bound is TRUE, lower bound is FALSE.

Details

This function generates upper and lower bounds for further computation. For more details, refer to Tamhane et al. (2017+), section 4.2.

Value

lower and upper bounds for programs calculating the secondary endpoint's type I error when the correlation rho is 1.

Author(s)

Jiangtao Gou

References

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.

Examples

1
2
3
4
5
cvec <- rep(1.992,3)
dvec <- c(1.535*sqrt(3),1.535*sqrt(3/2),1.535)
gammaVec <- c(sqrt(1/3),sqrt(2/3),1)
dlt <- 2
uBoundary <- cdBoundary(cvec, dvec, gammaVec, dlt, upper=TRUE)

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