scadR: Scad using summary statistics

View source: R/scadR.R

scadRR Documentation

Scad using summary statistics

Description

Coordinate descent algorithm to solve: 0.5 x'X'Xx - x'b + 0.5 scad_penalty + 0.5 lambda2 ||x||_2^2 Function to get scad solutions given X, a reference panel, and b, regression coefficients, the correlation coefficient r in article

Usage

scadR(
  lambda1,
  lambda2 = 0,
  gamma = 3.7,
  X,
  b,
  thr = 1e-04,
  trace = 0,
  maxiter = 10000,
  blocks = NULL,
  x = NULL
)

SeojinHwang/scadsum documentation built on June 30, 2023, 10:52 p.m.