dag_test_FS {ISS} | R Documentation |
dag_test_FS
Description
Implements the fixed sequence testing procedure of familywise error rate control. The sequence is given through ordering elements of p_order
increasingly.
Usage
dag_test_FS(p_order, p, alpha, decreasing = FALSE)
Arguments
p_order |
a numeric vector or matrix with one column whose order determines the sequence of tests. |
p |
a numeric vector taking values in (0, 1] such that |
alpha |
a numeric value in (0, 1] specifying the Type I error rate. |
decreasing |
a boolean value determining whether the order of p_order should be understood in decreasing order. |
Value
A boolean vector of the same length as p
with each element being TRUE
if the corresponding hypothesis is rejected and FALSE
otherwise.
Examples
p_order <- c(0.5, 0, 1)
p <- c(0.01, 0.1, 0.05)
alpha <- 0.05
dag_test_FS(p_order, p, alpha, decreasing = TRUE)
[Package ISS version 1.0.0 Index]