SAS Procedures

Help using Base SAS procedures
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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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