A permutation test (aka randomization test) for MATLAB, testing for a difference in means between two samples. It supports one- and two-tailed tests, and returns a p-value, the observed difference, and the effect size. The result can optionally be visualized using a histogram. It is also possible to perform exact tests, during which all possible permutations are considered.
Laurens R Krol (2019). Permutation Test (https://www.github.com/lrkrol/permutationTest), GitHub. Retrieved .
- Changed number of bins in the plot
Added exact test
Create scripts with code, output, and formatted text in a single executable document.