A two-sided permutation p-value
You compare two groups of two on the values
where group A got the two lowest, and . 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
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- 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 →