Description Usage Arguments Details Value Source
View source: R/create_permutations.R
Creates a permuted version of the fixed design matrix.
1 | create_permutations(X, y)
|
X |
n-by-p design matrix, with n > p. |
y |
response vector of length n. This is used in the setting in which n < 2p, to estimate sigma hat and generate additional rows in X and y. |
This creates p permuted variables for a fixed design matrix of size n by p.
A list containing:
X |
n-by-p design matrix, rescaled so that ||X_j||^2_2 = 1, and augmented if n < 2p. |
X_perm |
n-by-p matrix of permuted variables. |
y |
vector of observed responses (augmented if n < 2p). |
Barber and Candes, Controlling the false discovery rate via knockoffs. Ann. Statist. 43 (2015), no. 5, 2055–2085. https://projecteuclid.org/euclid.aos/1438606853
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.