mne.stats.bonferroni_correction

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

P-value correction with Bonferroni method.

Parameters
pvalarray_like

Set of p-values of the individual tests.

alphafloat

Error rate.

Returns
rejectarray, bool

True if a hypothesis is rejected, False if not.

pval_correctedarray

P-values adjusted for multiple hypothesis testing to limit FDR.

Examples using mne.stats.bonferroni_correction