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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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