l2_relax: l2-relaxation forecast combination A wrapper function with...

View source: R/l2relax.R

l2_relaxR Documentation

l2-relaxation forecast combination A wrapper function with parameter tuning and estimation.

Description

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

Usage

l2_relax(y, x, tau, solver = "CVXR", tol = 1e-08)

Arguments

y

foreccasting target

x

forecasts to be combined

tau

The regularization parameter

solver

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

tol

Tolerance for the solver

Value

A list


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