simTwoSample: simulation of two sample permutation test for spiked model

Description Usage Arguments

Description

simulation of two sample permutation test for spiked model

Usage

1
simTwoSample(n1, n2, p, M, sparse, B, SNR, modelParam, needPvalue = FALSE)

Arguments

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


kfeng123/randomizationTest documentation built on May 12, 2019, 2:02 p.m.