Hi there,
I want to need a method for inference with variable selection.
To do so, I tried the dsregress command to apply lasso variable selection and regression, modelled in the following notations
However, stata does not appear to identify this command and neither can I seem to install it.
Has this command been deleted and is there an alternate one? If not, what can be done here?
I want to need a method for inference with variable selection.
To do so, I tried the dsregress command to apply lasso variable selection and regression, modelled in the following notations
Code:
dsregress Y X1, controls(X2-X50) sel(cv)
Code:
. dsregress con_avg7day i.Stepone, controls( rate_pneumoniaml_death2018 rate_pneumoniafem_case20 > 18 rate_pneumoniafem_death2018 rate_pneumoniatot_case2018 rate_pneumoniatot_death2018 rate_tb2 > 018 rate_influenzacase_2018 rate_influenzadeath_2018 rate_hepcases_2018 rate_hepdeaths_2018 ra > te_diabetes2018) sel(cv) command dsregress is unrecognized r(199); . ssc install dsregress ssc install: "dsregress" not found at SSC, type search dsregress (To find all packages at SSC that start with d, type ssc describe d) r(601);
Comment