psbTeXtable: Summarize Primary and Refined Secondary Boundaries in a TeX...

psbTeXtableR Documentation

Summarize Primary and Refined Secondary Boundaries in a TeX table

Description

Primary boundaries and refined secondary boundaries are listed in a TeX table.

Usage

psbTeXtable(
  alpha,
  tVec,
  pOBF = TRUE,
  sOBF = FALSE,
  LanDeMets = FALSE,
  digits = 2
)

Arguments

alpha

type I error probability.

tVec

vector of relative information levels. The last element in the vector is 1.

pOBF

type of primary boundary, TURE is the O'Brien-Fleming boundary, FALSE is the Pocock boundary.

sOBF

type of secondary boundary, TURE is the O'Brien-Fleming boundary, FALSE is the Pocock boundary.

LanDeMets

type of boundary, TRUE is the error spending approach, FALSE is the original approach.

digits

number of digits after decimal point to display in the table.

Details

This function gives a TeX format table including both primary boundary and refined secondary boundary. The number of digits after decimal point can be specified through parameter digits.

Value

a TeX format table including both primary boundary and refined secondary boundary.

Author(s)

Jiangtao Gou

Fengqing (Zoe) Zhang

References

Glimm, E., Maurer, W., and Bretz, F. (2010). Hierarchical testing of multiple endpoints in group-sequential trials. Statistics in Medicine 29, 219-228.

Hung, H. M. J., Wang, S.-J., and O'Neill, R. (2007). Statistical considerations for testing multiple endpoints in group sequential or adaptive clinical trials. Journal of Biopharmaceutical Statistics 17, 1201-1210.

Jennison, C. and Turnbull, B. W. (2000). Group Sequential Methods with Applications to Clinical Trials. Chapman and Hall/CRC, New York.

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

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., Mehta, C. R., and Liu, L. (2010). Testing a primary and a secondary endpoint in a group sequential design. Biometrics 66, 1174-1184.

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, 40-48.

Examples

require(mvtnorm)
require(ldbounds)
require(xtable)
psbTeXtable(alpha=0.025,tVec=c(1/2,3/4,1),pOBF=TRUE,sOBF=FALSE,LanDeMets=FALSE)


gsrsb documentation built on July 9, 2023, 6:02 p.m.

Related to psbTeXtable in gsrsb...