Hello,
I'm running a lasso with some very high dimensional categorical variables included as alwaysvars. The code is:
Afterwards, I run lassocoef to see the selected variables.
The output of lassocoef includes the hundreds of values of the dpc variable. Is it possible to omit these from the lassocoef output, and only print the selected "othervars"?
Thanks,
Mitch
I'm running a lasso with some very high dimensional categorical variables included as alwaysvars. The code is:
lasso linear `dv' (i.dpc i.year) x*, noconstant sel(cv)
The output of lassocoef includes the hundreds of values of the dpc variable. Is it possible to omit these from the lassocoef output, and only print the selected "othervars"?
Thanks,
Mitch
Comment