scikit_posthocs.global_simes_test

scikit_posthocs.global_simes_test(p_vals: List | 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

Examples

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