dag_test_MG | R Documentation |
Implements the graph-testing procedures proposed by \insertCitemeijer2015multiple;textualISS for one-way logical relationships. Here implemented for the specific application to isotonic subgroup selection.
dag_test_MG(
X0,
p,
alpha,
version = c("all", "any"),
leaf_weights,
sparse = FALSE
)
X0 |
a numeric matrix giving points corresponding to hypotheses. |
p |
a numeric vector taking values in (0, 1] such that |
alpha |
a numeric value in (0, 1] specifying the Type I error rate. |
version |
either |
leaf_weights |
optional weights for the leaf nodes. Would have to be a numeric vector
of the same length as there are leaf nodes in the DAG (resp. polytree, see |
sparse |
a logical value specifying whether |
A boolean vector of the same length as p
with each element being TRUE
if the corresponding hypothesis is rejected and FALSE
otherwise.
meijer2015multipleISS
X0 <- rbind(c(0.5, 0.6), c(0.8, 0.9), c(0.9, 0.8))
p <- c(0.02, 0.025, 0.1)
alpha <- 0.05
dag_test_MG(X0, p, alpha)
dag_test_MG(X0, p, alpha, version = "any")
dag_test_MG(X0, p, alpha, sparse = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.