The p-value for the test of the hypothesis that the mean of
x1 differs from x2
Details
Suppose we have n1 values in one group and n2 in a
second, with n = n1 + n2. The permutation distribution
results from taking all possible samples of n2 values from
the total of n values.
References
Good, P. 2000. Permutation Tests. Springer, New York.