statsmodels.stats.multitest.RegressionFDR.threshold#

RegressionFDR.threshold(tfdr)[source]#

Return the threshold statistic for a given target FDR

Parameters:
tfdrfloat

The target false discovery rate.

Returns:
float

The threshold statistic corresponding to tfdr, or np.inf if no such threshold exists.