indeplasso | R Documentation |
Independent LASSO using summary statistics (a.k.a. soft-thresholding)
indeplasso(coef, lambda = exp(seq(log(0.001), log(0.1), length.out = 20)))
coef |
vector of regression coefficients ( |
lambda |
a vector of |
A function to find the minimum of \beta
in
f(\beta)=\beta'\beta - 2\beta'r + 2\lambda||\beta||_1
where r
is the vector of regression coefficients. The analytical solution
is given by
\hat{\beta}=sign(r)(max(|r| - \lambda))
A list with the following
lambda |
Same as |
beta |
A matrix of estimates of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.