qs_control.Rd
Control quantreg_spacing parameters
qs_control( trunc = TRUE, small = NULL, lambda = NULL, output_quantiles = TRUE, calc_avg_me = FALSE, ... )
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 |
... | 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: