lambdaCalculation | R Documentation |
This function implements different methods for calculation of the penalization parameter \lambda
. Further details can be found under rlasso.
lambdaCalculation(
penalty = list(homoscedastic = FALSE, X.dependent.lambda = FALSE, lambda.start = NULL,
c = 1.1, gamma = 0.1),
y = NULL,
x = NULL
)
penalty |
list with options for the calculation of the penalty.
|
y |
residual which is used for calculation of the variance or the data-dependent loadings |
x |
matrix of regressor variables |
The functions returns a list with the penalty lambda
which is the product of lambda0
and Ups0
. Ups0
denotes either the variance (independent
case) or the data-dependent loadings for the regressors. method
gives the selected method for the calculation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.