R/source_subsel.R
prescreen_lasso.Rd
Given the estimated lasso coefficients, return the indices of the first num_to_keep variables that enter the model
num_to_keep
prescreen_lasso(beta_hat_lasso, num_to_keep)
(p x L) matrix of estimated coefficients from the lasso; sparsity decreases in the column index L
p x L
L
number of variables to return in the screening process
ind_keep: the indices of the variables to keep
ind_keep