BookmarkSubscribeRSS Feed
dubya
Calcite | Level 5

I am currently using SAS 9.4 and am interested in performing model selection using the LASSO technique. I ran across a tutorial online and Proc GLMSELECT seems to be a great way to do this. However, I was wondering, can I perform the LASSO technique with the version of SAS that I have? I am asking this because the youtube tutorial used version 13.1.

2 REPLIES 2
rayIII
SAS Employee

Yep, you can use SELECTION=LASSO in 9.4, for example:

 

proc glmselect data = sashelp.iris;
model petallength = petalwidth sepalwidth sepallength / selection=lasso;
run;

 

Ray

Rick_SAS
SAS Super FREQ

The SAS analytical procedures (such as SAS/STAT, SAS/ETS, SAS/IML,...) use numbers like

13.1, 13.2, and 14.1

for their releases.  Because these products are released during a major or minor release of the rest of SAS, you will also see references to the SAS maintenance releases, such as

9.4m1, 9.4m2, and 9.4m3.

 

The "Rosetta Stone" that enables you to see the correspondence between these two numbering systems is the article

"How old is your version of SAS: Release dates for SAS Software"

 

If you don't know which version of SAS you are running, you can determine your version of SAS software at run time.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1386 views
  • 0 likes
  • 3 in conversation