Skip to contents

Create an object of class 'SansSouciStruct'

Usage

SansSouciStruct(struct, leaves, truth = NULL)

Arguments

struct

A (dyadic) structure

leaves

A list of leaves

truth

An optional numeric vector of $m$ values in $0,1$, the status of each null hypothesis (0 means H0 is true, 1 means H1 is true). Typically used in simulations.

Value

An object of class 'SansSouciStruct'

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.

See also

SansSouciDyadic

Examples

s <- 100
q <- 7
m <- s*2^q

dd <- dyadic.from.window.size(m, s, method = 2)
obj <- SansSouciStruct(dd$C, dd$leaf_list)