View source: R/tree-functions.R
pruning | R Documentation |
The pruned forest structure makes the computation of V.star()
,
curve.V.star.forest.naive()
and curve.V.star.forest.fast()
faster.
pruning(C, ZL, leaf_list, prune.leafs = FALSE, delete.gaps = FALSE)
C |
A list of list representing the forest structure. See |
ZL |
A list of integer vectors representing the upper bounds |
leaf_list |
A list of vectors representing the atoms of the forest structure. See |
prune.leafs |
A boolean, |
delete.gaps |
A boolean, |
A list with three named elements.
VstarNm
V^*(\mathbb N_m)
is computed as by-product by the algorithm, so we might as well return it.
C
The new C
after pruning.
ZL
The new ZL
after pruning.
Durand, G., Blanchard, G., Neuvial, P., & Roquain, E. (2020). Post hoc false positive control for structured hypotheses. Scandinavian Journal of Statistics, 47(4), 1114-1148.
Durand G. (2025). A fast algorithm to compute a curve of confidence upper bounds for the False Discovery Proportion using a reference family with a forest structure. arXiv:2502.03849.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.