class statsmodels.stats.multitest.RegressionFDR(endog, exog, regeffects, method='knockoff', **kwargs)
[source]
Control FDR in a regression procedure.
Parameters: |
|
---|---|
Returns: |
|
This class Implements the knockoff method of Barber and Candes. This is an approach for controlling the FDR of a variety of regression estimation procedures, including correlation coefficients, OLS regression, OLS with forward selection, and LASSO regression.
For other approaches to FDR control in regression, see the statsmodels.stats.multitest module. Methods provided in that module use Z-scores or p-values, and therefore require standard errors for the coefficient estimates to be available.
The default method for constructing the augmented design matrix is the ‘equivariant’ approach, set design_method=’sdp’
to use an alternative approach involving semidefinite programming. See Barber and Candes for more information about both approaches. The sdp approach requires that cvxopt be installed.
threshold (tfdr) | Returns the threshold statistic for a given target FDR. |
© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.stats.multitest.RegressionFDR.html