Description Usage Arguments Details Value References See Also Examples
View source: R/hierarchicalFDR.R
Apply hierarchical test for each hierarchy, and test external variables for FDR control at level alpha
1 | hierarchicalFDR(X, y, group, var, test = partialFtest)
|
X |
original data |
y |
associated response |
group |
vector with index of groups. group[i] contains the index of the group of the variable var[i]. |
var |
vector whith the variables contained in each group. group[i] contains the index of the group of the variable var[i]. |
test |
function for testing the nullity of a group of coefficients in linear regression. 3 parameters : X : design matrix, y response and varToTest : vector of variables to test; return a pvalue |
Version of the hierarchical testing procedure of Yekutieli for HCgglasso output. You can use th selFDR function to select groups at a desired level alpha.
a list containing :
pvalues of the different test (without correction)
adjusted pvalues
Index of the group
Matrix describing the hierarchical tree.
Yekutieli, Daniel. "Hierarchical False Discovery Rate-Controlling Methodology." Journal of the American Statistical Association 103.481 (2008): 309-16.
selFDR, hierarchicalFWER
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.