SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
WhiteDiamond
Fluorite | Level 6

Dear Community,

 

I'm using the Base SAS 9.2 in order to replicate the findings of a study made using R tool and rminer package. The file that I'm currently using, Bank Marketing Dataset, is a dataset that has been created from a Portuguese Bank to predict if the client will subscribe a term deposit or not.

 

I've been searching for a solution on the Internet, and all the analysis that I've found on this dataset are made using R. Up to this point, I already analyzed the main variables and attributes using SAS; however I'm not able to calculate the ROC curves and the Lift curves for the models: Logistic Regression, Decision Tree and Support Vector Machine in order to determine which is the most appropriate model to make the prediction.

 

It would be great if someone in these community could give me any suggestion. Thanks for your time.

 

 

2 REPLIES 2
Ksharp
Super User

I guess you should use Decision Tree and Random Forest .

Rick_SAS
SAS Super FREQ

Although you say "Base SAS," I assume you mean SAS/STAT procedures.  

 

Try limiting your search to the proceedings of SAS conferences to get targeted SAS-only solutions. For example, do an internet search for

roc lift site:lexjansen.com

 

There are many results, some going back 20 years. 

 

You should also consider updating your version of SAS. SAS 9.2 is from March 2008, so it's almost nine years old. There have been seven releases of SAS since then, with an eighth release coming out shortly.  Newer releases include procedures like HPSPLIT which enable you to form tree-based regression models with SAS/STAT.  PROC LOGISTIC also contains the ROC statement, which provides a convenient way to work with ROC curves.

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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