fit_lasso | R Documentation |
Fit a quantile regression w/ a lasso penalty
fit_lasso(
x,
y,
tau = 0.5,
lambda = NULL,
weights = NULL,
intercept = TRUE,
coef.cutoff = 1e-04,
method = "sfn",
...
)
x |
design matrix |
y |
outcome variable |
tau |
target quantile |
lambda |
weight for penalization factor |
weights |
optional observation weights |
intercept |
whether or not to model the intercept |
coef.cutoff |
what value for a coefficient is considered 0 |
method |
what underlying regression method to use for fitting |
... |
other arguments to pass to method |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.