Qm

A two-sided permutation p-value

You compare two groups of two on the values

1,2,3,4,1, \quad 2, \quad 3, \quad 4,

where group A got the two lowest, 11 and 22. The test statistic is the sum of group A, and you want a two-sided p-value (a difference in either direction counts). Enumerate every split of the four values into two groups of two.

What is the two-sided permutation p-value?

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

A permutation test p-value by handPermutation p-value with unequal group sizesPermutation p-value when the split is not the most extremePermutation p-value with three-versus-three groupsThe permutation test, inference by reshuffling labels
All questions →