Implements QICD algorithm with some variables not being penalized
QICD.nonpen(
y,
x,
z,
tau = 0.5,
lambda,
intercept = TRUE,
penalty = "SCAD",
initial_beta = NULL,
maxin = 100,
maxout = 20,
eps = 1e-05,
coef.cutoff = 1e-08,
a = 3.7,
method = "br",
scalex = TRUE,
...
)
response variable, length n vector
input nxp matrix, of dimension nobs x nvars; each row is an observation vector.
nxq matrix of bases; the coefficients for these columns will be unpenalized
the quantile value
the tuning parameter (numeric value > 0)
a logical value,should intercept be fitted (default=TRUE) (intercept should be included when using splines)
The name of the penalty function ("SCAD", "MCP", "LASSO")
Vector containing initial values for intercept (if included) and x coefficients. Should be in the form (intercept, coefficients) intercept should be left out if intercept=FALSE. The intercept should be included to be consistent with other methods, but intercept and z coefficients will be initialized to by a rq() fit of residuals from initial beta against the unpenalized predictors, z.
maximum number of iterations for inside coordinate descent,default value is 100
maximum number of iterations for outside MM step, default value is 20
The convergence threshold for coordinate descent and majorization minimization step
Threshold for determining nonzero coefficients
Scale parameter, the default value is 3.7 (>2 for SCAD, >1 for MCP, not used in LASSO)
quantile regression initialization method, can be "br" or "fn".
Whether predictors are centered and scaled
additional parameters