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?
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 sizesA two-sided permutation p-valuePermutation p-value with three-versus-three groupsThe permutation test, inference by reshuffling labels
All questions →