BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Souradip
Fluorite | Level 6

I am beginner in SAS. I want to know in SAS how I can predict the testing data using logistic regression ( SAS/STAT code)?.
I have the optimal model / training model. Now using this I want to forecast the test data. As well  I need the ROC curve for both the training and testing in the same graph.

 

Thanks for your help.  

1 ACCEPTED SOLUTION

Accepted Solutions
Norman21
Lapis Lazuli | Level 10

You could try using PROC SCORE, described halfway down this webpage:

 

https://stats.idre.ucla.edu/unlinked/sas-logistic/proc-logistic-and-logistic-regression-models/

Norman.
SAS 9.4 (TS1M6) X64_10PRO WIN 10.0.17763 Workstation

View solution in original post

2 REPLIES 2
Norman21
Lapis Lazuli | Level 10

You could try using PROC SCORE, described halfway down this webpage:

 

https://stats.idre.ucla.edu/unlinked/sas-logistic/proc-logistic-and-logistic-regression-models/

Norman.
SAS 9.4 (TS1M6) X64_10PRO WIN 10.0.17763 Workstation

Souradip
Fluorite | Level 6
Thanks for the quick response. Have a nice weekend !!

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 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1629 views
  • 3 likes
  • 2 in conversation