Novice user here! I am trying to predict salary based on variables such as gender, jobfunction, retention, performance while accounting for the fact that people are in different salary grades which by itself will cause differences in individual salaries from grade to grade. I don't think I am doing this correctly. Can someone please help. ods graphics on; title "Selection Method LASSO Using Cross Validation"; proc glmselect data = train testdata=test plots(stepAxis=number)=(criterionPanel ASEPlot CRITERIONPANEL); model salary = grade F1 F2 F3 F4 F5 F6 F7 F8 F9 Gender Reten Minority P2 P1 AgeCat / selection=LASSO(choose=CV stop=CV) CVDETAILS; run; %put &=_glsind; proc glm data=test; model Salary = &_glsind / solution clParm; quit; ods graphics off;
... View more