po.SW.lasso | R Documentation |
This function performs portfolio optimization using LASSO regularization and stochastic weight selection.
po.SW.lasso(y0, x0, b, sample)
y0 |
A numeric vector of response values. |
x0 |
A numeric matrix of predictors. |
b |
Number of assets to select in each sample. |
sample |
Number of random samples to generate. |
A numeric vector of optimized portfolio weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.