sqr.fit {qfa} | R Documentation |
Spline Quantile Regression (SQR)
Description
This function computes spline quantile regression (SQR) solution from response vector and design matrix.
It uses the FORTRAN code rqfnb.f
in the "quantreg" package with the kind permission of Dr. R. Koenker.
Usage
sqr.fit(y, X, tau, c0, d = 1, weighted = FALSE, mthreads = FALSE)
Arguments
y |
response vector |
X |
design matrix ( |
tau |
sequence of quantile levels in (0,1) |
c0 |
penalty parameter |
d |
subsampling rate of quantile levels (default = 1) |
weighted |
if |
mthreads |
if |
Value
A list with the following elements:
coefficients |
matrix of regression coefficients |
nit |
number of iterations |
[Package qfa version 2.1 Index]