Usage
qbsks(x,y,w,pw, knots,nknots, degree,Tlambda, constraint,
n.sub = n1000cut(n), equal,smaller, greater,gradient, coef,maxiter,
trace, n.equal,n.smaller,n.greater,n.gradient,
nrq,nl1, neqc, nj0, tau,lam,tmin,kmax,lstart,
ks,mk.flag, knots.add, ic, print.mesg,
factor, tol.kn = 1e-6, eps = .Machine$double.eps, print.warn)
Arguments
x
numeric vector, sorted increasingly, the abscissa values
y
numeric, same length as x
, the observations.
w
numeric vector of weights, same length as x
, as in
cobs
. pw
penalty weights vector ... ...
knots
~~Describe knots
here~~
nknots
~~Describe nknots
here~~
degree
integer specifying polynomial degree; must be 1 or 2.
Tlambda
~~Describe Tlambda
here~~
constraint
~~Describe constraint
here~~
n.sub
integer, not larger than sample size n
; the
default has n.sub == n
as long as n
is less than 1000.
equal
~~Describe equal
here~~
smaller
~~Describe smaller
here~~
greater
~~Describe greater
here~~
gradient
~~Describe gradient
here~~
coef
~~Describe coef
here~~
maxiter
~~Describe maxiter
here~~
trace
~~Describe trace
here~~
n.equal
~~Describe n.equal
here~~
n.smaller
~~Describe n.smaller
here~~
n.greater
~~Describe n.greater
here~~
n.gradient
~~Describe n.gradient
here~~
neqc
~~Describe neqc
here~~
tmin
~~Describe tmin
here~~
kmax
~~Describe kmax
here~~
lstart
~~Describe lstart
here~~
mk.flag
~~Describe mk.flag
here~~
knots.add
~~Describe knots.add
here~~
print.mesg
~~Describe print.mesg
here~~
factor
~~Describe factor
here~~
tol.kn
``tolerance'' for shifting the outer knots.
print.warn
flag indicating if and how much warnings and
information is to be printed; currently just passed to drqssbc
.