Random permutation tests and p-value calculation based on random
permutation tests.