forked from be-green/quantspace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrq.fit.lasso.Rd
46 lines (36 loc) · 975 Bytes
/
rq.fit.lasso.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/quant_regress.R
\name{rq.fit.lasso}
\alias{rq.fit.lasso}
\title{Quantile Regression w/ Lasso Penalty}
\usage{
rq.fit.lasso(
X,
y,
tau,
lambda,
weights,
scale_x = T,
method = "two_pass",
nfold = 10,
nlambda = 50,
parallel = F,
...
)
}
\arguments{
\item{X}{Design matrix, X}
\item{y}{outcome variable, y}
\item{tau}{quantile to estimate}
\item{lambda}{penalty parameter}
\item{weights}{optional vector of weights}
\item{scale_x}{whether to scale the design matrix before estimation}
\item{method}{method to use when fitting underlying quantile regression algorithm}
\item{nfold}{number of folds to use when cross-validating}
\item{nlambda}{number of lambdas to search over.}
\item{parallel}{whether to run cv search in parallel, if applicable}
\item{...}{other arguments to pass to underlying fitting algorithm}
}
\description{
Quantile Regression w/ Lasso Penalty
}