View source: R/svr-functions.R
This function performs one iteration of estimating the confidence interval. That is, it performs the l1-SVR regression rankscore test under a single null hypothesis.
1 2 |
gamma0 |
Scalar, a conjectured value of the coefficient for the covariate of interest, i.e. the covariate for which the confidence interval is being constructed. |
index |
Integer, indexes which covariate is of interest. |
intercept |
Boolean, indicates whether an intercept term is included in the regression. |
Y |
Vector of dependent variable. |
X |
Matrix of covariates. |
U |
Vector of residuals from regressing |
epsilon |
Real scalar, bandwidth for SVR. |
lambda |
Real scalar, parameter for SVR that scales the penalty. |
heteroskedastic |
Boolean, indicate whether data has
heteroskedastic errors. If set to |
hc |
Scalar determing the quantiles of a standard normal distribution used to define the bandwidth for nonparametric density estimation. See Powell (1991) and Bai et. al. (2021) for details. |
kappa |
Scalar that directly scales the bandwdith for nonparametric density estimation. See Powell (1991) and Bai et. al. (2021) for details. |
target |
Target, equal to the size of the test. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.