View source: R/GHC_objective.R
GHC_objective | R Documentation |
Internal function to calculate the value of the kth GHC objective (possibly minus an offset) when the kth p-value order statistic is x, for a set of size d.
GHC_objective(x, k, d, offset, pairwise_cors)
x |
The p-value of the kth p-value order statistic. |
k |
Which objective to use. |
d |
The size of the set. |
offset |
Used to zero the correct value when we put this into uniroot |
pairwise_cors |
A vector of all d(d-1)/2 pairwise correlations between the test statistics, where d is total number of test statistics in the set. |
The value of the kth HC objective
GHC_objective(x=0.1, k=2, d=5, offset=0, pairwise_cors=rep(0.2,10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.