create.fixed.Rd
Creates fixed-X knockoff variables.
create.fixed(
X,
method = c("sdp", "equi"),
sigma = NULL,
y = NULL,
randomize = F
)
normalized n-by-p matrix of original variables.(\(n \geq p\)).
either "equi" or "sdp" (default: "sdp"). This determines the method that will be used to minimize the correlation between the original variables and the knockoffs.
the noise level, used to augment the data with extra rows if necessary (default: NULL).
vector of length n, containing the observed responses.
This is needed to estimate the noise level if the parameter sigma
is not provided,
in case \(p \leq n < 2p\) (default: NULL).
whether the knockoffs are constructed deterministically or randomized (default: F).
An object of class "knockoff.variables". This is a list containing at least the following components:
n-by-p matrix of original variables (possibly augmented or transformed).
n-by-p matrix of knockoff variables.
vector of observed responses (possibly augmented).
Fixed-X knockoffs assume a homoscedastic linear regression model for \(Y|X\). Moreover, they only guarantee FDR control when used in combination with statistics satisfying the "sufficiency" property. In particular, the default statistics based on the cross-validated lasso does not satisfy this property and should not be used with fixed-X knockoffs.
Barber and Candes, Controlling the false discovery rate via knockoffs. Ann. Statist. 43 (2015), no. 5, 2055–2085.
Other create:
create.gaussian()
,
create.pc()
,
create.pls()
,
create.second_order()
,
create.seq()
,
create.shrink_Gaussian()
,
create.sparse_Gaussian()
,
create.sparse_seq()
,
create.zpls()