The pruned forest structure makes the computation of V.star()
,
curve.V.star.forest.naive()
and curve.V.star.forest.fast()
faster.
Arguments
- C
A list of list representing the forest structure. See
V.star()
for more information.- ZL
A list of integer vectors representing the upper bounds \(\zeta_k\) of the forest structure. See
V.star()
for more information.- leaf_list
A list of vectors representing the atoms of the forest structure. See
V.star()
for more information.- prune.leafs
A boolean,
FALSE
by default. IfTRUE
, will also prune atoms/leafs for which \(\zeta_k \geq |R_k|\), this makes the computation ofV.star()
andcurve.V.star.forest.naive()
even faster but should not be used withcurve.V.star.forest.fast()
because this needs the structure to be complete (i.e., with all its atoms). This is why the default option isFALSE
.- delete.gaps
A boolean,
FALSE
by default. IfTRUE
, will also delete the gaps in the structure induced by the pruning, seedelete.gaps()
.
Value
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.
References
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.