This function performs portfolio optimization using LASSO regularization and stochastic weight selection.
po.SW.lasso(y0, x0, b, sample)
A numeric vector of optimized portfolio weights.
A numeric vector of response values.
A numeric matrix of predictors.
Number of assets to select in each sample.
Number of random samples to generate.