Description Usage Arguments Value
View source: R/Simu_null_emp.R
Simulation of the null statistics
1 2 3 4 5 6 7 8 9 | Simu_null_emp(
res,
smp_size,
lev_res,
coeftype,
size = 10000,
base_shrink,
print = TRUE
)
|
res |
an output of Wavelet_screening function. The user can also provide a matrix of results of Wavelet_screening (from the same analysis), where the results have been concatenated by row (rbind). |
smp_size |
Sample size from the main run of Wavelet screening |
lev_res |
the level of resolution in the wavelet transform |
coeftype |
type of wavelet coefficient used for the screening (choice "c" or "d"). If missing set as "c" |
size |
number of simulation to be performed. If not specified set at 10000 |
base_shrink |
numeric, value used in the thresholding of the proportion of assocation, if non specificed set up as 1/sqrt(2*log(sample_size) |
print |
logical parameter set as TRUE, if TRUE sends a message when 10% of the simulations have been completed. |
The simulation under the null of the two test statistics used to build the final test (i.e., L_h and min(ph,pv))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.