...
rq.fit.br(x, y, tau=0.5, alpha=0.1, ci=FALSE, iid=TRUE, interp=TRUE, tcrit=TRUE)
rq()
for more
details. If F then return only the estimated coefficients. Note that
for large problems the d"rq"
for tau in (0,1), or else of class "rq.process"
.
Note that rq.fit.br
when called for a single tau value
will return the vector of optimal dual variables.
See rq.object
and rq.process.object
for further details.rq()
"rq"
is
returned with various
related inference apparatus. If tau lies outside [0,1] then an object
of class rq.process
is returned. In this case parametric programming
methods are used to find all of the solutions to the QR problem for
tau in (0,1), the p-variate resulting process is then returned as the
array sol containing the primal solution and dsol containing the dual
solution. There are roughly $O(n \log n))$ distinct
solutions, so users should
be aware that these arrays may be large and somewhat time consuming to
compute for large problems.rq
, rq.fit.fnb
data(stackloss)
rq.fit.br(stack.x, stack.loss, tau=.73 ,interp=FALSE)
Run the code above in your browser using DataLab