seqgspgx | R Documentation |
seqgspgx()
implements the sequential graphical procedure for multiple
hypotheses based on group-sequential p-values.
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))
)
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. |
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)
Xiaodong Luo
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))
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.