cv_all | R Documentation |
cv_all calculate the CV optimal beta in the problem 1/n |y - X beta|^2 + 1/nu |D beta - gamma|^2 + lambda |gamma|_1.
cv_all(X, y, D, option)
X |
the design matrix |
y |
the response vector |
D |
the linear transform |
option |
options for screening |
beta_hat: CV optimal beta
stat_cv: various intermedia statistics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.