Usage
scadglm(x, y, wt.initsoln=NULL, lambda, initsoln=NULL,
family = binomial(), weight = NULL, offset = NULL,
function.precision=1e-10, nopenalty.subset=NULL)
fullscadglm(x, y, lambda, initsoln=NULL, family = binomial(),
weight = NULL, offset = NULL, function.precision=1e-10,
nopenalty.subset=NULL, eps0=1e-5, maxloop=10)
Arguments
x
an (n * p) matrix of features.
y
an (n) vector of response.
wt.initsoln
a (p+1) vector of initial solution for one-step SCAD.
lambda
regularization parameter for the SCAD.
initsoln
a (p+1) vector of initial solution.
family
a description of the error distribution and link function to be used in the model.
weight
an optional (n) vector of weights to be used in the fitting process.
offset
this can be used to specify an a priori
known component to be included in the linear predictor during fitting.
function.precision
function.precision
parameter used in the internal
solver. Default is 1e-10.
nopenalty.subset
a set of indices for the predictors that are not subject to the L1
penalty.
maxloop
the maximum number of loops for the SCAD iteration.