Description Usage Arguments Value
View source: R/svr-functions.R
This function performs the support vector regression under l1 regularization. A regression rankscore test is performed to conduct inference and construct confidence intervals.
1 2 3 4 |
formula |
Regression formula, e.g., |
data |
Data frame. |
epsilon |
Scalar defining soft-thresholding rule. |
lambda |
Scalar parameter to scale l1 penalty. |
h |
Scalar determining the quantiles of a standard normal distribution used to define the bandwidth for nonparametric density estimation. If no argument is provided, then errors are assumed to be homoskedastic, and error density estimation is not performed. See Powell (1991) and Bai et. al. (2021) for details. |
kappa |
Scalar that directly scales the bandwidth for nonparametric density estimation. If no argument is provided, then errors are assumed to be homoskedastic, and error density estimation is not performed. See Powell (1991) and Bai et. al. (2021) for details. |
solver |
Character, name of the linear programming package in
R used to obtain the bounds on the treatment effect. The
function supports |
inference |
Boolean, determines whether or not p-values and
confidence intervals will be estimated. Set to |
confidence.level |
Scalar between 0 and 1. Determines the confidence level for estimating confidence intervals. |
confidence.iter |
Integer determining maximum number of iterations performed when estimating the confidence interval. Set to 25 by default. |
confidence.tol |
Scalar between 0 and 1. Determines the tolerance for the confidence level when estimating the confidence interval. |
confidence.same |
Scalar between 0 and 1. Sets the tolerance for determining when the confidence interval estimate may no longer be improved. |
A list containing the coefficient estimates from the regression, the p-values, and the confidence intervals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.