View source: R/cqr.fit.lasso.R
cqr.fit.lasso | R Documentation |
Composite quantile regression (cqr) find the estimated coefficient which minimize the absolute error for various quantile level. High level function for estimating and selecting parameter by composite quantile regression with adaptive lasso penalty.
cqr.fit.lasso(X,y,tau,lambda,beta,method,maxit,toler,rho)
X |
the design matrix |
y |
response variable |
tau |
vector of quantile level |
method |
"mm" for majorize and minimize method,"cd" for coordinate descent method, "admm" for Alternating method of mulipliers method |
lambda |
The constant coefficient of penalty function. (default lambda=1) |
rho |
augmented Lagrangian parameter |
beta |
initial value of estimate coefficient (default naive guess by least square estimation) |
maxit |
maxim iteration (default 200) |
toler |
the tolerance critical for stop the algorithm (default 1e-3) |
a list
structure is with components
beta |
the vector of estimated coefficient |
b |
intercept |
cqr.fit.lasso(x,y,tau) work properly only if the least square estimation is good.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.