mne.stats.bonferroni_correction

mne.stats.bonferroni_correction(pval, alpha=0.05)[source]

P-value correction with Bonferroni method.

Parameters:
pval : array_like

set of p-values of the individual tests.

alpha : float

error rate

Returns:
reject : array, bool

True if a hypothesis is rejected, False if not

pval_corrected : array

pvalues adjusted for multiple hypothesis testing to limit FDR

Examples using mne.stats.bonferroni_correction