Skip to content

Commit 5314c37

Browse files
committed
fix default of the qunatile aggragation
1 parent 9c2d77c commit 5314c37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hidimstat/statistical_tools/aggregation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import numpy as np
22

33

4-
def quantile_aggregation(pvals, gamma=0.05, adaptive=False):
4+
def quantile_aggregation(pvals, gamma=0.5, adaptive=False):
55
"""
66
Implements the quantile aggregation method for p-values.
77
@@ -15,7 +15,7 @@ def quantile_aggregation(pvals, gamma=0.05, adaptive=False):
1515
pvals : ndarray of shape (n_sampling*2, n_test)
1616
Matrix of p-values to aggregate. Each row represents a sampling instance
1717
and each column a hypothesis test.
18-
gamma : float, default=0.05
18+
gamma : float, default=0.5
1919
Quantile level for aggregation. Must be in range (0,1].
2020
adaptive : bool, default=False
2121
If True, uses adaptive quantile aggregation which optimizes over multiple gamma values.

0 commit comments

Comments
 (0)