A utility function to calculate the absolute p values.

.SimulatedPValueAbs(permutedVar, simulatedClusterVar)

Arguments

permutedVar

An array containing the distance of clusters for each model for every permutation.

simulatedClusterVar

Variance of simulated clusters

Value

p-values for each model.