BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Heidilynne
Calcite | Level 5

Hi - I am trying to run the proc hpgenselect to do LASSO regression. However, I continue to receive this error message: 

 

ERROR: The HPGENSELECT procedure supports the FORWARD, BACKWARD, and STEPWISE variable selection
techniques. The chosen technique is not available.

 

I am using SAS 9.4 TS Level 1MI on X64_8PRO platform. 

 

Code I am using: 

proc hpgenselect data=died30;
class group (ref = "2") black (ref = "0") female (ref = "0") died30 (ref = "0") / param=ref;
model died30(event="1") = age black female iqcode apache cci lawton group / dist=binary;
selection method =lasso;
run;

 

What am I doing wrong? Thanks! 

1 ACCEPTED SOLUTION

Accepted Solutions
FreelanceReinh
Jade | Level 19

Hi @Heidilynne and welcome to the SAS Support Communities!

 

According to the documentation, the LASSO selection method in PROC HPGENSELECT was introduced in SAS/STAT version 14.1 (SAS 9.4M3). Your SAS 9.4M1 has probably SAS/STAT version 13.1. You can check this with

proc product_status;
run;

So, an upgrade to the latest release will (most likely) resolve the issue and add a lot of valuable enhancements to other language elements as well.

View solution in original post

1 REPLY 1
FreelanceReinh
Jade | Level 19

Hi @Heidilynne and welcome to the SAS Support Communities!

 

According to the documentation, the LASSO selection method in PROC HPGENSELECT was introduced in SAS/STAT version 14.1 (SAS 9.4M3). Your SAS 9.4M1 has probably SAS/STAT version 13.1. You can check this with

proc product_status;
run;

So, an upgrade to the latest release will (most likely) resolve the issue and add a lot of valuable enhancements to other language elements as well.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
What is ANOVA?

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.

Discussion stats
  • 1 reply
  • 473 views
  • 0 likes
  • 2 in conversation