l2_relax_comb_opt: Solve L2-relaxation primal problem Details refer to Shi, Su...

View source: R/l2relax.R

l2_relax_comb_optR Documentation

Solve L2-relaxation primal problem Details refer to Shi, Su and Xie (2022) "l_2-relaxation: With applications to forecast combination and portfolio analysis"

Description

Solve L2-relaxation primal problem Details refer to Shi, Su and Xie (2022) "l_2-relaxation: With applications to forecast combination and portfolio analysis"

Usage

l2_relax_comb_opt(sigma_mat, tau, solver = "CVXR", tol = 1e-08)

Arguments

sigma_mat

Sample covariance matrix

tau

The regularization parameter

solver

The solver to use; "Rmosek" or "CVXR"

tol

Tolerance for the solver

Value

w_hat: The estimated combination weights


zhan-gao/LasForecast documentation built on Sept. 18, 2024, 9:40 p.m.