filtered_p(filter, test, theta, data, method = "none") filtered_R(alpha, filter, test, theta, data, method = "none")
datais supplied. The option to supply a function is useful when the value of the test statistic depends on which hypotheses are filtered out at stage one. (The
quantileto the filter statistics contained in (or produced by) the
testare functions rather than vectors of statistics, they will be applied to
data. The functions will be passed the whole
dataobject, and must work over rows, etc. themselves as appropriate.
testwill be adjusted for multiple testing after filtering, using the
p.adjustfunction in the
methodargument there for options.
filtered_p, a matrix of p-values, possible adjusted for multiple testing, with one row per null hypothesis and one column per filtering fraction given in
theta. For a given column, entries which have been filtered out are
filtered_R, a count of the entries in the
result which are less than
rejection_plotfor visualization of