Randomization test (source code)

= Randomization test

A randomization test compares a statistic with values obtained by applying transformations that preserve the joint distribution under the null hypothesis.