Warning: function is no longer exported. Recommend using rq.group.pen() instead. Similar to cv.rq.pen function, but uses group penalty. Group penalties use the L1 norm instead of L2 for computational convenience. As a result of this the group lasso penalty is the same as the typical lasso penalty and thus you should only use a SCAD or MCP penalty. Only the SCAD and MCP penalties incorporate the group structure into the penalty. The group lasso penalty is implemented because it is needed for the SCAD and MCP algorithm.
rq.group.fit(
x,
y,
groups,
tau = 0.5,
lambda,
intercept = TRUE,
penalty = "SCAD",
alg = "LP",
a = 3.7,
penGroups = NULL,
...
)
Returns the following:
Coefficients of the model.
Residuals from the fitted model.
Unpenalized portion of the objective function.
Quantile being modeled.
Sample size.
Whether intercept was included in model.
Matrix of predictors.
Vector of responses.
Vector of group assignments.
Single quantile to be modeled.
Single value or seperate value for each group.
Whether intercept should be included in the model or not.
Type of penalty used: SCAD, MCP or LASSO.
Only LP, QICD no longer available
Additional tuning parameter for SCAD and MCP.
Vector of TRUE and FALSE entries for each group determing if they should be penalized. Default is TRUE for all groups.
Additional arguments sent to rq.group.lin.prog()
Ben Sherwood, ben.sherwood@ku.edu and Adam Maidman
Yuan, M. and Lin, Y. (2006). Model selection and estimation in regression with grouped variables. J. R. Statist. Soc. B, 68, 49-67.
Peng, B. and Wang, L. (2015). An Iterative Coordinate Descent Algorithm for High-Dimensional Nonconvex Penalized Quantile Regression. Journal of Computational and Graphical Statistics, 24, 676-694.