powered by
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)
An approximation of the function \(\gamma^m(x)\) under the assumption that all p-values are independent and exactly uniform.
Number of tests.
Number (or Inf) indicating what kind of minimum to consider. Defaults to Inf, corresponding to the global minimum.
Number of bootstrap replicates. Rule of thumb is to use at least 10 * m.
Integer denoting the number of cores to use when using parallelization, Defaults to 1, corresponding to single-threaded computations.
Numerical (in (0,1)); threshold to use in tTMTI. If set to NULL, then either TMTI (default) or rtTMTI is used.
Integer; Number of smallest p-values to use in rtTMTI. If se to NULL, then either TMTI (default) or tTMTI is used.
## Get an approximation of gamma gamma_function = gamma_bootstrapper(10) ## Evaluate it in a number, say .2 gamma_function(.2)
Run the code above in your browser using DataLab