qs_control | R Documentation |
Control quantreg_spacing parameters
qs_control(
trunc = TRUE,
small = 1e-06,
lambda = NULL,
output_quantiles = TRUE,
calc_avg_me = FALSE,
calc_r2 = TRUE,
...
)
trunc |
whether to truncate residual values below the argument "small" |
small |
level of "small" values to guarentee numerical stability. If not specified, set dynamically based on the standard deviation of the outcome variable. |
lambda |
For penalized regression, you can specify a level of lambda which will weight the penalty. If not set, will be determined based on 10-fold cross-validation. |
output_quantiles |
whether to save fitted quantiles as part of the function output |
calc_avg_me |
whether to return average marginal effects as part of the fitted object |
calc_r2 |
whether to calculate psuedo-r2 for quantile regression |
... |
Other arguments, ignored for now |
control parameters to pass to the control arguments of quantreg_spacing
,
the lower-level function called by qs
. This is set via the function qs_control
,
which returns a named list, with elements including:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.