graphical {MultiGroupSequential} | R Documentation |
Graphical procedure
Description
graphical()
performs graphical procedure to test multiple hypotheses
Usage
graphical(
p = c(0.01, 0.04, 0.03),
W = c(0.5, 0.25, 0.25),
G = rbind(c(0, 1, 0), c(0, 0, 1), c(1, 0, 0)),
alpha = 0.05
)
Arguments
p |
Numeric vector of p-values for the hypotheses. |
W |
Numeric vector of weigths of the graph. Must have the same length
as |
G |
Matrix of the transition matrix of the graph. |
alpha |
Numeric scalar with the overall type-1 error rate. |
Value
A list with a single element containing a vector indicating whether
hypotheses are rejected (1
) or not (0
).
Author(s)
Kaiyuan Hua, Xiaodong Luo
Examples
graphical(p = c(0.02, 0.03, 0.01))
[Package MultiGroupSequential version 1.1.0 Index]