lambdaCalculationLoad( X.dependent.lambda =FALSE, c =2, gamma =0.1, load, bns, lns, nboot, y =NULL, x =NULL)
Arguments
X.dependent.lambda: Logical, TRUE, if the penalization parameter depends on the design of the matrix x. FALSE, if independent of the design matrix (default).
c: Constant for the penalty with default c = 2 .
gamma: Constant for the penalty with default gamma=0.1.
load: Penalty loadings, vector of length p (no. of regressors).
bns: Block length.
lns: Number of blocks.
nboot: Number of bootstrap iterations.
y: Residual which is used for calculation of the variance or the data-dependent penalty.
x: Regressors (vector, matrix or object can be coerced to matrix).
Returns
lambda0: Penalty term
Ups0: Penalty loadings, vector of length p (no. of regressors)