I am running different regularized estimators, elasticnet and linear lasso. I want to plot Cross-validation plots for both of them. I would like to have the cross validation plots be on the same graph but I don't know how to do it with the cvplot command.
Code:
lasso linear hotspot_150miEB std_aod std_d_6d std_d_pm_natt std_f_naics_* eststo lassolinear elasticnet linear hotspot_150miEB std_aod std_d_6d std_d_pm_natt std_f_naics_* alpha(0) eststo ridge cvplot ridge cvplot lassolinear
Code:
cvplot lassolinear ridge cvplot lassolinear || cvplot ridge
Thank you in advance for your help!
0 Response to Mulitple CV graphs for lasso/elasticnet estimates
Post a Comment