update_beta_TF_lasso: Beta update in L2E trend filtering regression using Lasso

View source: R/update_beta_TF_lasso.R

update_beta_TF_lassoR Documentation

Beta update in L2E trend filtering regression using Lasso

Description

update_beta_TF_lasso updates beta in L2E trend filtering regression using the Lasso penalty

Usage

update_beta_TF_lasso(y, X, beta, tau, D, lambda, max_iter = 100, tol = 1e-04)

Arguments

y

Response vector

X

Design matrix

beta

Initial vector of regression coefficients

tau

Initial precision estimate

D

The fusion matrix

lambda

The tuning parameter

max_iter

Maximum number of iterations

tol

Relative tolerance

Value

Returns a list object containing the new estimate for beta (vector) and the number of iterations (scalar) the update step utilized


jocelynchi/L2E-package-demo documentation built on Oct. 6, 2022, 6:05 a.m.