ncross.rq.fitXB {quantregGrowth} | R Documentation |
Estimation of noncrossing regression quantiles with monotonicity restrictions.
Description
These are internal functions of package quantregGrowth
and should be not
called by the user.
Usage
ncross.rq.fitXB(y, x, B=NULL, X=NULL, taus, monotone=FALSE, concave=FALSE,
nomiBy=NULL, byVariabili=NULL, ndx=10, deg=3, dif=3, lambda=0, eps=.0001,
var.pen=NULL, penMatrix=NULL, lambda.ridge=0, dropcList=FALSE,
decomList=FALSE, vcList=FALSE, dropvcList=FALSE, centerList=FALSE,
ridgeList=FALSE, ps.matrix.list=FALSE, colmeansB=NULL, Bconstr=NULL,
adjX.constr=TRUE, adList=FALSE, it.j=10, myeps=NULL, ...)
ncross.rq.fitXBsparse(y, x, B=NULL, X=NULL, taus, monotone=FALSE, concave=FALSE,
nomiBy=NULL, byVariabili=NULL, ndx=10, deg=3, dif=3, lambda=0, eps=.0001,
var.pen=NULL, penMatrix=NULL, lambda.ridge=0, dropcList=FALSE, decomList=FALSE,
vcList=FALSE, dropvcList=FALSE, centerList=FALSE, ridgeList=FALSE,
ps.matrix.list=FALSE, colmeansB=NULL, Bconstr=NULL, adjX.constr=TRUE,
adList=FALSE, it.j=10, myeps=NULL, ...)
ncross.rq.fitX(y, X = NULL, taus, adjX.constr=TRUE, lambda.ridge = 0,
eps = 1e-04, ...)
gcrq.rq.cv(y, B, X, taus, monotone, concave, ndx, lambda, deg, dif, var.pen=NULL,
penMatrix=NULL, lambda.ridge=0, dropcList=FALSE, decomList=FALSE,
vcList=vcList, dropvcList=FALSE, nfolds=10, foldid=NULL, eps=.0001,
sparse=FALSE, ...)
Arguments
y |
the responses vector. see |
x |
the covariate supposed to have a nonlinear relationship. |
B |
the B-spline basis. |
X |
the design matrix for the linear parameters. |
taus |
the percentiles of interest. |
monotone |
numerical value (-1/0/+1) to define a non-increasing, unconstrained, and non-decreasing flexible fit, respectively. |
concave |
numerical value (-1/0/+1) to possibly define concave or convex fits. |
nomiBy |
useful for VC models (when |
byVariabili |
useful for VC models (when |
ndx |
number of internal intervals within the covariate range, see |
deg |
spline degree, see |
dif |
difference order of the spline coefficients in the penalty term. |
lambda |
smoothing parameter value(s), see |
eps |
tolerance value. |
var.pen |
Varying penalty, see |
penMatrix |
Specified penalty matrix, see |
lambda.ridge |
a (typically very small) value, see |
dropcList |
see |
decomList |
see |
vcList |
to indicate if the smooth is VC or not, see |
dropvcList |
see |
centerList |
see |
ridgeList |
see |
ps.matrix.list |
nothing relevant for the user. |
colmeansB |
see |
Bconstr |
see |
foldid |
vector (optional) to perform cross validation, see the same arguments in |
nfolds |
number of folds for crossvalidation, see the same arguments in |
cv |
returning cv scores; see the same arguments in |
adjX.constr |
logical to shift the linear covariates. Appropriate only with linear terms. |
adList |
see |
it.j |
Ignore. |
myeps |
Ignore. |
sparse |
logical, meaning if sparse computations have to be used. |
... |
optional. |
Details
These functions are called by gcrq
to fit growth charts based on regression
quantiles with non-crossing and monotonicity restrictions. The computational methods are based on the package
quantreg by R. Koenker and details are described in the reference paper.
Value
A list of fit information.
Author(s)
Vito M. R. Muggeo
See Also
Examples
##See ?gcrq