Higher Criticism (HC) test statistics for testing the global significance of many independent hypotheses. As an input, the test receives a list of P-values and returns the HC test statistics. See (Donoho & Jin 2004)
from scipy.stats import norm
from hctest import HCtest
n = 1000 #number of samples
X = norm.rvs(size=n)
pvals = norm.sf(X)
hc = HCtest(pvals)
hc_val, p_th = hc.HCstar(gamma = 0.25)
print("Higher-Criticism test statistic = ", hc_val)