powered by
seqgsphh() implements the sequential Generalized Hochberg and Hommel procedures based on group-sequential p-values.
seqgsphh()
seqgsphh( pm = matrix(rep(c(0.03, 0.04, 0.01), times = 2), ncol = 3, nrow = 2), alpha = 0.025, epsilon = 1e-10, precision = 10, method = "Hochberg" )
List with elements
rejected: the index set of rejected hypotheses
rejected
decisionsm: rejection decision for each endpoint (row) at each timepoint (column)
decisionsm
cumdecisionsm: cumulative rejection decision for each endpoint (row) at each timepoint (column)
cumdecisionsm
Numeric matrix of group-sequential p-values for different hypotheses (in row) at different times (in column).
Numeric scalar of the overall family-wise error rate.
Numeric scalar indicating the lower bound for alpha.
alpha
Integer scalar for precision of the values, obsolete for backward compatibility.
"Hochberg" or "Hommel"
Xiaodong Luo
pm <- matrix(rep(c(0.03, 0.04, 0.01), times = 2), ncol = 3, nrow = 2) seqgsphh(pm = pm, alpha = 0.025, method = "Hochberg") seqgsphh(pm = pm, alpha = 0.025, method = "Hommel")
Run the code above in your browser using DataLab