This function can be used to construct standard errors,
confidence intervals and tests of hypotheses regarding linear L1
regression models. The bootstrap method used compute xypairs bootstrap
for linear L1 regression.
Usage
boot.regL1(x, y, R = 1000)
Value
A list consisting of four elements: a vector of lambda mle estimate for each bootstrap sample and another vector with empirical quantiles. A matrix B of dimension R by p is returned with the R resampled estimates of the vector of L1 linear regression parameters. A matrix U of sampled indices.
Arguments
x
the regression design matrix.
y
the regression response vector.
R
the number of bootstrap replications.
See Also
boot.rq Bootstrapping Quantile Regression from package quantreg.