File Exchange

image thumbnail

Permutation Test

version 2019.2.1.0 (27.5 KB) by Laurens R Krol
A permutation test (aka randomization test) for MATLAB, testing for a difference in means between two samples.

62 Downloads

Updated 01 Feb 2019

GitHub view license on GitHub

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.

Cite As

Laurens R Krol (2019). Permutation Test (https://www.github.com/lrkrol/permutationTest), GitHub. Retrieved .

Comments and Ratings (2)

Works really well! Thanks for the upload :)

Updates

2019.2.1.0

- Changed number of bins in the plot
- Added separate script permutationPrecision
- Updated documentation

2018.3.14.0

Cosmetic changes

2018.3.14.0

Added exact test

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor