We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f79b02 commit 114802cCopy full SHA for 114802c
1 file changed
dabest/_classes.py
@@ -883,7 +883,7 @@ def __permutation_test(self):
883
884
self.__permutations_delta_delta = np.array(self.__permutations[1]-self.__permutations[0])
885
886
- self.__pvalue_permutation = len(list(filter(lambda x: x>THRESHOLD,
+ self.__pvalue_permutation = len(list(filter(lambda x: np.abs(x)>THRESHOLD,
887
self.__permutations_delta_delta)))/self.__permutation_count
888
889
@@ -1254,7 +1254,7 @@ def __permutation_test(self):
1254
1255
self.__permutations_weighted_delta = np.array(output)
1256
1257
1258
output)))/self.__permutation_count
1259
1260
0 commit comments