qrfit {cqrReg} | R Documentation |
Quantile Regression (qr) model fitting
Description
High level function for estimating parameters by quantile regression
Usage
qrfit(X,y,tau,beta,method,maxit,toler,rho)
Arguments
X |
the design matrix |
y |
response variable |
tau |
quantile level |
method |
"mm" for majorize and minimize method,"cd" for coordinate descent method, "admm" for Alternating method of mulipliers method,"ip" for interior point mehod |
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) |
Value
a list
structure is with components
beta |
the vector of estimated coefficient |
b |
intercept |
Note
qrfit(x,y,tau) work properly only if the least square estimation is good. Interior point method is done by quantreg.
[Package cqrReg version 1.2.1 Index]