residuals.PLR {LorenzRegression} | R Documentation |
Residuals for the penalized Lorenz regression
Description
residuals
provides residuals for an object of class "PLR"
.
Usage
## S3 method for class 'PLR'
residuals(object, pars.idx = "BIC", ...)
Arguments
object |
An object of class |
pars.idx |
What grid and penalty parameters should be used for parameter selection. Either a character string specifying the selection method, where the possible values are:
Or a numeric vector of length 2, where the first element is the index of the grid parameter and the second is the index of the penalty parameter. |
... |
Additional arguments passed to the function |
Details
Computing residuals entail to estimate the link function of the single-index model. This is done via the function Rearrangement.estimation
.
Value
A vector of residuals.
See Also
Lorenz.Reg
, Rearrangement.estimation
Examples
## For examples see example(Lorenz.Reg), example(Lorenz.boot) and example(PLR.CV)