Description Usage Arguments Value Examples
Use cross validation to find the optimal ridge penalty parameter
1 | cv_ridge(form, d, lambdas, tol = 1e-08, seed)
|
form |
A formula specifying the model. |
d |
A dataframe. |
lambdas |
The candidate tuning parameters for the ridge penalty term |
tol |
Tolerance for the condition number to truncate colinear variables |
seed |
A seed to control the randomness |
A list with fitted coefficients, regression data X,Y and tolerance
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.