I have used the user-written cvlasso (Ahrens, A., Hansen, C.B., Schaffer, M.E. 2018. cvlasso: Program for cross-validation using lasso, square-root lasso, elastic net, adaptive lasso and post-OLS estimators. http://ideas.repec.org/c/boc/bocode/s458458.html) to simplify a model containing several interaction terms. For simplicity, let's say that the model is reduced to:
Code:
outcome = a + bX1 + cX2 dX3 + eX1X2 + fX1X3
Best,
Kjell
0 Response to nlcom after elastic net?
Post a Comment