update_beta_sparse_ncv updates beta for L2E sparse regression using existing penalization methods
update_beta_sparse_ncv(
y,
X,
beta,
tau,
lambda,
penalty,
max_iter = 100,
tol = 1e-04
)Returns a list object containing the new estimate for beta (vector) and the number of iterations (scalar) the update step utilized
Response vector
Design matrix
Initial vector of regression coefficients
Initial precision estimate
Tuning parameter
Available penalties include lasso, MCP and SCAD.
Maximum number of iterations
Relative tolerance