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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 1313 views
  • 0 likes
  • 3 in conversation