seqgspgx {MultiGroupSequential} | R Documentation |
Sequential graphical procedure based on group-sequential p-values
Description
seqgspgx()
implements the sequential graphical procedure for multiple
hypotheses based on group-sequential p-values.
Usage
seqgspgx(
pm = matrix(rep(c(0.03, 0.04, 0.01), times = 2), ncol = 3, nrow = 2),
alpha = 0.025,
W = c(0.6, 0.4),
G = rbind(c(0, 1), c(1, 0))
)
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. |
W |
Numeric vector of the weights of the graph. |
G |
Numeric transition matrix of the graph. |
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
seqgspgx(
pm = matrix(rep(c(0.03, 0.04, 0.01), times = 2), ncol = 3, nrow = 2),
alpha = 0.025,
W = c(0.6, 0.4),
G = rbind(c(0, 1), c(1, 0))
)
[Package MultiGroupSequential version 1.1.0 Index]