Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.

nilearn.glm.fdr_threshold

nilearn.glm.fdr_threshold(z_vals, alpha)[source]

Return the Benjamini-Hochberg FDR threshold for the input z_vals.

Parameters:
z_valsarray

A set of z-variates from which the FDR is computed.

alphafloat

The desired FDR control.

Returns:
thresholdfloat

FDR-controling threshold from the Benjamini-Hochberg procedure.