Learn R Programming

DESP (version 0.2-2)

DESP_SRL_B: Estimation of the coefficient matrix

Description

This function computes the coefficient matrix B estimate, column-by-column. The observations of the data matrix X are assumed to have zero mean.

Usage

DESP_SRL_B(X, lambda, solver = 'CD', sto = FALSE, nThreads = 1)

Arguments

X
The data matrix.
lambda
The penalization parameter that promotes sparsity.
solver
The solver. A string indicating the solver to use.

The default is "CD".

sto
Indicates whether a randomized algorithm (stochastic coordinate descent) have to be used when choosing the coordinate descent method, default FALSE.
nThreads
Set the number of threads for parallel processing when choosing the coordinate descent method or the SCS solver, default 1.

Value

The coefficient matrix.

See Also

sqR_Lasso