Hello Everybody!
I ran the code below:
proc hpgenselect data=out.final lassosteps=50;
model &depvar (event='1') = &VARLIST / dist=binomial;
partition ROLEVAR=Selected(TRAIN="1" VALIDATE="0");
selection method=LASSO(SELECT=SBC choose=validate stop=none);
run;
and I get the error below
ERROR 22-322: Syntax error, expecting one of the following: ), ADAPTIVE, CHOOSE, LSCOEFFS, MAXEF, MAXEFFECTS, MAXSTEP, MAXSTEPS, SLE, SLENTRY, SLS, SLSTAY, STOP.
I'm a newbie with HPGENSELECT. Anyone know what I'm doing wrong?
Hi @BTAinRVA
The SELECT= option is not supported by the LASSO method.
Here is the link to the documentation: https://support.sas.com/documentation/onlinedoc/stat/142/hpgenselect.pdf
Please check p.4224 regarding the SELECTION statement.
Best,
Hi @BTAinRVA
The SELECT= option is not supported by the LASSO method.
Here is the link to the documentation: https://support.sas.com/documentation/onlinedoc/stat/142/hpgenselect.pdf
Please check p.4224 regarding the SELECTION statement.
Best,
I think it is choking on the SELECT= option. The selection method is based on the CHOOSE= option (which you have. Take a look here for the valid options.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.