Description Usage Arguments Details
View source: R/two_pass_first_order_qreg.R
Smoothed Quantile Regression with Post-Processing
1 2 3 4 5 6 7 8 | post_processed_grad_descent(
X,
y,
tau,
lambda = 0,
nwarmup_samples = 0.1 * nrow(X),
lp_size = 10000
)
|
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 |
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.