Description Usage Arguments Details Value
Independent LASSO using summary statistics (a.k.a. soft-thresholding)
1 2 |
coef |
vector of regression coefficients (r) |
lambda |
a vector of λs |
A function to find the minimum of β in
f(β)=β'β - 2β'r + 2λ||β||_1
where r is the vector of regression coefficients. The analytical solution is given by
\hat{β}=sign(r)(max(|r| - λ))
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.