sqr.fit | R Documentation |
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.
sqr.fit(
X,
y,
tau,
spar = 1,
d = 1,
weighted = FALSE,
mthreads = TRUE,
ztol = 1e-05
)
X |
design matrix ( |
y |
response vector |
tau |
sequence of quantile levels in (0,1) |
spar |
smoothing parameter |
d |
subsampling rate of quantile levels (default = 1) |
weighted |
if |
mthreads |
if |
ztol |
zero tolerance parameter used to determine the effective dimensionality of the fit |
A list with the following elements:
coefficients |
matrix of regression coefficients |
crit |
sequence critera for smoothing parameter select: (AIC,BIC) |
np |
sequence of number of effective parameters |
fid |
sequence of fidelity measure as quasi-likelihood |
nit |
number of iterations |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.