Introduction
Example 1: two independent groups (PlantGrowth)
A small simulation study
The difference in medians
Example 2: paired data (sleep)
When to use permutation tests, and when not to
Conclusion

Note: This post has been written in collabo…

Continue reading: <a href=“https://www.r-bloggers.com/2026/11/permutation-tests-in-r-let-your-data-build-its-own-null-dist …