View source: R/quant_regress.R
post_processed_grad_descent | R Documentation |
Smoothed Quantile Regression with Post-Processing
post_processed_grad_descent(
X,
y,
tau,
lambda = 0,
nwarmup_samples = 0.1 * nrow(X),
lp_size = 10000,
intercept = NULL
)
X |
design matrix |
y |
outcome variable |
tau |
target quantile |
lambda |
optional weight on penalty function |
nwarmup_samples |
number of samples to use for warmup in approximat quantile regression |
lp_size |
size of linear programming problem passed to the simplex algorithm |
intercept |
integer for location of intercept column |
This function performs smoothed quantile regression w/ post-processing to ensure accuracy of the approximate first-order method.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.