permutatietoetsen
Permutation tests are statistical hypothesis tests that evaluate the null hypothesis by comparing the observed data to a distribution of a test statistic generated under the null hypothesis. They rely on random permutations of the data to create this reference distribution, making them non - parametric and distribution - free. The core procedure involves shuffling the data labels (or observations) while keeping the observed data values fixed, then calculating the test statistic for each permutation. This creates a permutation distribution of the statistic. The proportion of permutations where the statistic is as extreme or more extreme than the observed statistic under the null hypothesis defines the p - value.
Permutation tests are commonly used when traditional parametric assumptions (such as normality) are not met or