scikit_posthocs.global_simes_test

scikit_posthocs.global_simes_test(p_vals: Union[List, numpy.ndarray]) float

Global Simes test of the intersection null hypothesis.

Computes the combined p value as min(np(i)/i), where p(1), …, p(n) are the ordered p values 1.

Parameters

p_vals (Union[List, ndarray]) – An array of p values.

Returns

p_value – Global p value.

Return type

float

References

1

Simes, R. J. (1986). An improved Bonferroni procedure for multiple tests of significance. Biometrika, 73(3):751-754.

Examples

>>> arr = [0.04, 0.03, 0.98, 0.01, 0.43, 0.99, 1.0, 0.002]
>>> sp.global_simes_test(arr)