Description Usage Arguments Value
View source: R/variable_selection_functions.R
Given a N x M
data matrix Y
and a N x P
matrix of predictor X
,
estimate the model
Y = XB + E
for P x M
regression coefficient matrix B
.
The penalty applies a lasso penalty to all elements of B
.
1 | dss_select_lasso(Y, X, W = NULL)
|
Y |
|
X |
|
W |
|
The solution path for L
values of lambda
in the form
of an array of dimension M x P x L
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.