Calculate permutation p-value Calculate perutation p-value of actual model performance vs null hypothesis distribution. pPerm
will calculate the cumulative (1-tailed) probability of actual
belonging to permutation_distribution
. side
is guessed by actual value compared to median(permutation_distribution). Test is performed on original data OR ranked for non-parametric statistics.