Permutation test (source code)

= Permutation test
{wiki}

A permutation test uses relabelings of observations as its null-preserving transformations and computes a p-value from the resulting orbit of the test statistic.