lambdaCalculationHAC
is an auxiliary function for rlassoHAC; it calculates the penalty parameters.lambdaCalculationHAC
is an auxiliary function for rlassoHAC; it calculates the penalty parameters.
lambdaCalculationHAC(
X.dependent.lambda = FALSE,
c = 2,
gamma = 0.1,
kernel,
bands,
bns,
lns,
nboot,
y = NULL,
x = NULL
)
Logical, TRUE, if the penalization parameter depends on the design of the matrix x. FALSE, if independent of the design matrix (default).
Constant for the penalty with default c = 2 .
Constant for the penalty with default gamma=0.1.
String kernel function, choose between "Truncated", "Bartlett", "Parzen", "Tukey-Hanning", "Quadratic Spectral".
Constant bandwidth parameter.
Block length.
Number of blocks.
Number of bootstrap iterations.
Residual which is used for calculation of the variance or the data-dependent loadings.
Regressors (vector, matrix or object can be coerced to matrix).
Penalty term
Penalty loadings, vector of length p (no. of regressors)
This is lambda0 * Ups0
Summary of the used penalty function.