This function performs LASSO, Ridge, or Elastic Net regression for portfolio optimization.
po.avg(y0, x0, method = "LASSO")
A numeric vector of optimized portfolio weights.
A numeric vector of response values.
A numeric matrix of predictors.
The regularization method: "LASSO", "RIDGE", or "EN" (Elastic Net).