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.

3.10.1. nistats.thresholding.fdr_threshold

nistats.thresholding.fdr_threshold(z_vals, alpha)

return the Benjamini-Hochberg FDR threshold for the input z_vals

Parameters
z_vals: array,

a set of z-variates from which the FDR is computed

alpha: float,

desired FDR control

Returns
threshold: float,

FDR-controling threshold from the Benjamini-Hochberg procedure