View source: R/gamma_bootstrapper.R
gamma_bootstrapper | R Documentation |
Function to bootstrap the Cumulative Distribution Functions (CDFs) of the TMTI statistics.
gamma_bootstrapper(m, n = Inf, B = 1000, mc.cores = 1L, tau = NULL, K = NULL)
m |
Number of tests. |
n |
Number (or Inf) indicating what kind of minimum to consider. Defaults to Inf, corresponding to the global minimum. |
B |
Number of bootstrap replicates. Rule of thumb is to use at least 10 * m. |
mc.cores |
Integer denoting the number of cores to use when using parallelization, Defaults to 1, corresponding to single-threaded computations. |
tau |
Numerical (in (0,1)); threshold to use in tTMTI. If set to NULL, then either TMTI (default) or rtTMTI is used. |
K |
Integer; Number of smallest p-values to use in rtTMTI. If se to NULL, then either TMTI (default) or tTMTI is used. |
An approximation of the function γ^m(x) under the assumption that all p-values are independent and exactly uniform.
## Get an approximation of gamma gamma_function = gamma_bootstrapper(10) ## Evaluate it in a number, say .2 gamma_function(.2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.