Description Usage Arguments Value References
View source: R/main_functions.R
Cross-validation function to select regularization parameter delta in the penalized loss criterion.
1 2 3 4 5 6 7 8 |
y1 |
(n by 1) matrix corresponding to the response variable. |
X1 |
(n by L) matrix of main covariates where n is the sample size and L=m if z is NULL, and L= m+1 otherwise. Here, m refers to the number of x-covariates. |
z.names |
character denoting the column name of the z-covariate if z is not NULL. Can be NULL. |
K |
scalar denoting the number of folds for cross-validation
when |
est.MSE |
character that indicates how the mean squared error is estimated in the penalized loss
criterion when |
show.plots |
logical indicator. If TRUE and |
predict.out:output from LARS algorithm of Efron et al (2004).
delta.out:the penalization parameter delta obtained from K-fold cross validation.
Efron, B., Hastie, T., Johnstone, I. AND Tibshirani, R. (2004). Least angle regression. Annals of Statistics 32, 407–499.
Garcia, T.P. and M¨uller, S. (2014). Influence of measures of significance-based weights in the weighted Lasso. Journal of the Indian Society of Agricultural Statistics (Invited paper), 68, 131-144.
Garcia, T.P., Mueller, S., Carroll, R.J., Dunn, T.N., Thomas, A.P., Adams, S.H., Pillai, S.D., and Walzem, R.L. (2013). Structured variable selection with q-values. Biostatistics, DOI:10.1093/biostatistics/kxt012.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.