simulation of two sample permutation test for spiked model
1 | simTwoSample(n1, n2, p, M, sparse, B, SNR, modelParam, needPvalue = FALSE)
|
p |
p |
M |
simulate M times test procedure to compute empirical power |
B |
resample B times to get randomization test |
SNR |
the signal noise ratio we need, mean value will scale to fit this SNR |
modelParam |
the parameters of spiked model, including theSigmaSq, V, D, r |
n |
n |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.