Description Usage Arguments Value
Function for getting bootstrap estimates for LASSO.
1 2 |
x |
predictors |
y |
response |
wt |
weights for the coefficients of weighted LASSO. Defaults to NULL |
ts |
stepsize for proximal gradient and sub-gradient method (use opt_ts() to generate stepsize). Defaults to NULL |
method |
optimization method. Three different methods are available to use. method = c(lasso_cd, lasso_sg, lasso_pg). Defaults to lasso_cd |
k |
no. of folds for cross-validation. Default value is 5. |
n_it |
no. of iteration for lasso_cd optimization. Default value is 10. |
df |
degree of freedom. Number of desired variables to be zero. Defaults to NULL |
n.sim |
no. of bootstrap replicates. Default value is 500. |
The summary frame of the bootstrap comprising mean, median, bias, standard deviation and confidence intervals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.