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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

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
  • 1357 views
  • 3 likes
  • 2 in conversation