fast_lasso_sum_ess.Rd
Rewrite lasso.sum.ess
fast_lasso_sum_ess(bVec, sVec, r2Mat, n, group, lambda, alpha, initVec, maxIter = 100L)
bVec | genetic effect estimates |
---|---|
sVec | standard error of genetic effect estimates; |
r2Mat | residual errors; |
n | sample size; |
group | 1-based group indicator |
lambda | l1 penalty parameter |
alpha | l2 penalty parameter |
initVec | initial value of beta |
maxIter | maximum number of iterations |
a list where `beta` is the fitted regression coefficient vector, and `iteration` is the actual iteration.