rq.fit.post_lasso.Rd
Quantile Regression w/ Lasso Penalty
rq.fit.post_lasso(
X,
y,
tau,
lambda,
weights,
scale_x = T,
method = "agd",
nfold = 5,
nlambda = 10,
...
)
Design matrix, X
outcome variable, y
quantile to estimate
penalty parameter
optional vector of weights
whether to scale the design matrix before estimation
method argument to be passed to quantreg::rq
number of folds to use when cross-validating
number of lambdas to search over when cross-validating
other arguments to pass to underlying fitting algorithm