Description Usage Arguments Value
View source: R/compute_threshold.R
Calculates the threshold T for variable selection for the Knockoff and Knockoff+ procedures.
1 | compute_threshold(W, q, plus)
|
W |
the set of p test statistics. |
q |
the desired FDR. |
plus |
a boolean T/F, true for the Knockoff+ procedure and false for the Knockoff procedure. |
A threshold to use for variable selection.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.