Performs one update step for the gamma_k
parameter in an iterative optimization routine, potentially applying L1 shrinkage.
update_step_gamma(gamma_k, X_k, Sigma, r, lambda2, t, penalty, V, q_k)
A list containing:
The updated value of gamma_k
.
The updated covariance matrix Sigma
.
Current value of the gamma_k
parameter to be updated.
The \(k\)th column of the design matrix X
.
Current covariance matrix.
Residual vector, typically Y - X %*% beta
.
Non-negative tuning parameter controlling the degree of L1 shrinkage applied to gamma_k
.
Step size for the gradient update.
Penalty type; either "L1"
for soft thresholding or "None"
for unpenalized updates.
Baseline covariance matrix when \(\sigma^2 = 1\).
The \(k\)th element of the design vector q
, used in the update.