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.
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
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.