Description Usage Arguments Value See Also
Does k-fold cross-validation for alpha-norm, and return the best lambda and q
1 2 |
x |
design matrix |
y |
response vector |
lambda_Tune |
user-supplied lambda sequence |
q_Tune |
user-supplied q sequence |
intercept |
whether intercept should be in the model, default to be TRUE |
nfolds |
number of folds , default to be 5 |
tol |
tolerence of convergence condition |
T |
number of maximum iterations for each coefficient |
trace |
print the process of alphanorm |
An object of S3 class "cv.alphanorm"
lambda |
the values of lambda used in the fits in the decreasing order |
q |
the values of q used in the fits |
cvm |
The mean cross-validation error, a matrix of length(q)*length(lambda) |
lambda.min |
value of lambda that gives minimum cvm |
q.min |
value of q that gives minimum cvm |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.