Learn R Programming

gsrsb (version 1.2.1)

ldSecControl: Difference between the Error Rate and Significance Level, the Error Spending Approach

Description

Calculate the difference between the error rate and significance level for the secondary endpoint, Lan-DeMets error spending approach.

Usage

ldSecControl(ap, alpha, cvec, tVec, ExtrmLoc, type = 2)

Value

difference between alpha and the calculated error rate.

Arguments

ap

significance level for the primary endpoint

alpha

targeted significance level for the secondary endpoint

cvec

a vector of calculated primary boundaries

tVec

a vector of information, gammaVec = sqrt(tVec)

ExtrmLoc

an integer between 1 and K, locate the maximum of type I error of secondary endpoint

type

type of sequential procedures. Type 1 OBF d, Type 2 POC d.

Author

Jiangtao Gou

References

Lan, K. K. G., and Demets, D. L. (1983). Discrete sequential boundaries for clinical trials. Biometrika 70, 659-663.

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.

See Also

secControl