Allocation of Effort in Monte Carlo Simulation for Power of Permutation Tests
置换检验功效蒙特卡洛模拟中的计算投入分配
Consider a randomization test in which an observed statistic is compared to a null distribution constructed by first drawing a random sample from the set of all possible permutations of the data and then calculating the statistic anew for each member of the random sample. If the power of such a test is investigated by simulation, the computer code must have two main loops. In the outer loop, which has O iterations, data are generated under a specific alternative hypothesis.…