View source: R/calc_var_nonzero_mu.R
| calc_var_nonzero_mu | R Documentation | 
Internal function to calculate variance of S(t) when the Z_1,...,Z_d have nonzero mean. See GBJ paper for more details. Vectorized in t.
calc_var_nonzero_mu(d, t, mu, pairwise_cors)
| d | The number of test statistics in the set. | 
| t | The threshold which determines the properties of S(t). | 
| mu | The common mean of the test statistics Z_1,...,Z_d | 
| 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 variance of S(t) when the Z_1,...,Z_d have nonzero mean mu.
calc_var_nonzero_mu(d=5, t=1, mu=1, pairwise_cors=rep(0.3, 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.