statable Statistics for study and research

Permutation test

How unusual is the difference if group membership were arbitrary? A permutation test reassigns the values to the groups in every possible way and computes the difference each time. The share of differences at least as extreme is the p value.

Example: Group A: 2, 4, 6; group B: 5, 7, 9. Of 20 possible splits, 4 have a difference of means of at least 3 in absolute value, so p = 0.20.

Caution: The test assumes that the values are exchangeable under H₀. It needs no normal distribution, but with small groups p can never be very small.

Related

Open in Statable