A permutation test determines the p-value by:
-
A
Fitting a parametric model to the data and computing residuals
-
B
Repeatedly shuffling group labels and recomputing the test statistic to build a null distribution
-
C
Resampling with replacement from the observed data
-
D
Comparing the test statistic to a theoretical chi-squared distribution