Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cdBoundary

Lower and Upper Bounds Generator


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

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. (2018, Biometrics), 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. (2018). A gatekeeping procedure to test a primary and a secondary endpoint in a group sequential design with multiple interim looks. Biometrics, 74(1), 40-48.

Examples

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

Group Sequential Refined Secondary Boundary

v1.1.1
GPL-3
Authors
Jiangtao Gou and Fengqing (Zoe) Zhang
Initial release
2019-06-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.