seqgsphh {MultiGroupSequential} | R Documentation |
Sequential generalized Hochberg and Hommel procedures based on group-sequential p-values
Description
seqgsphh()
implements the sequential Generalized Hochberg and Hommel
procedures based on group-sequential p-values.
Usage
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"
)
Arguments
pm |
Numeric matrix of group-sequential p-values for different hypotheses (in row) at different times (in column). |
alpha |
Numeric scalar of the overall family-wise error rate. |
epsilon |
Numeric scalar indicating the lower bound for |
precision |
Integer scalar for precision of the values, obsolete for backward compatibility. |
method |
"Hochberg" or "Hommel" |
Value
List with elements
-
rejected
: the index set of rejected hypotheses -
decisionsm
: rejection decision for each endpoint (row) at each timepoint (column) -
cumdecisionsm
: cumulative rejection decision for each endpoint (row) at each timepoint (column)
Author(s)
Xiaodong Luo
Examples
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")
[Package MultiGroupSequential version 1.1.0 Index]