Initialises index coefficient vector through linear regression or penalised linear regression.
Arguments
- Y
Column matrix of response.
- X
Matrix of predictors entering indices.
- index.ind
An
integervector that assigns group index for each predictor.- init.type
Type of initialisation for index coefficients. (
"penalisedReg"- Penalised linear regression;"reg"- Linear regression)- lambda0
If
init.type = "penalisedReg", penalty parameter for L0 penalty.- lambda2
If
init.type = "penalisedReg", penalty parameter for L2 penalty.- M
If
init.type = "penalisedReg", the big-M value to be used in the MIP.
