spectral_connectivity.statistics.Benjamini_Hochberg_procedure#
- Benjamini_Hochberg_procedure(p_values, alpha=0.05)[source]#
Corrects for multiple comparisons and returns the significant p-values by controlling the false discovery rate at level alpha using the Benjamani-Hochberg procedure.
- Parameters:
p_values (array_like) –
alpha (float, optional) – The expected proportion of false positive tests.
- Returns:
is_significant – A boolean array the same shape as p_values indicating whether the null hypothesis has been rejected (True) or failed to reject (False).
- Return type:
boolean nd-array