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.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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