Hi! I am trying to run a Lasso regression for variable selection. Specifically I would like Stata to return the relevant coefficients from the Lasso approach and then run an OLS regression with those selected variables to get coefficients with standard errors. I am puzzled, however, which commands will get me there. I have been using "lasso linear" and then "lassocoef, display(coef, postselection)". I then read, however, to get standard errors I would need to run dsregress but this does not give me the coefficients for all my controls as I would like them to have. If you could explain that would be really helpful! Thank you!
-
Login or Register
- Log in with
Comment