Permutation p-value when the split is not the most extreme
You compare two groups drawn from five values:
Group A has units, group B has , and group A's observed values are and . The statistic is the sum of group A (larger favors A). Enumerate every way to choose which of the values are group A.
What is the one-sided permutation p-value?