Y is the dependent variable with the outcome 0 and 1, and so are X1...X140. As far as I know, I can't use the simple lasso regression in order to look at which variables are shrinked down, since we got only binary data.
We also got perfect linear independence, where for example X1 stands for male and X2 for female. Furthermore, I want to do a cross validation, in order to determine which lambda value is the best.
I was reading, that some people suggested to use grouped lasso regression, but wouldn't a logistic lasso regression be more appropriate? I'm using glmnet
and the caret
packages, but I couldn't find in the documentation, which solves my problem. Which packages do you know, who can deal with those problems?