Quantile Regression with Smoothing Splines
qsmspline.RdThis function is used to fit a quantile smoothing spline with L2 penalty.
Arguments
- x,y
vectors giving the coordinates of the points to be interpolated.
- p
quantile to be estimated.
- lambda
penalty parameter.
- maxIter
the maximum number of iterations.
- eps
the absolute convergence tolerance.
- gamma
scaling for initial values.
- aggressive
aggressive step size in Bosch et al (1995) - not yet implemented.
Details
This is an implementation of Bosch et al's (1995) algorithm to fit a quantile smoothing spline with L2 penalty. The penalty parameter must be set by the user.
Value
a list containing the following components (see Bosch et al, 1995)
- a1
first set of constraints.
- a2
second set of constraints.
- b1
Lagrangian associated with a1.
- b2
Lagrangian associated with a2.
- fit
fitted values.
