BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Vish33
Lapis Lazuli | Level 10

Hello all,

 

I want to create a basic model which would identify/predict customers those are eligible to get the loan so that these customers would be targeted by the customer care people.

 

Please find the attachments for sample documents. I am new to modelling , so i would like to know how this can be done in SAS.

 

And i want to automate this finally to run on weekly/monthly basis.

 

 

Thank you.

Vish

1 ACCEPTED SOLUTION

Accepted Solutions
StatDave
SAS Super FREQ

Assuming that your response is binary (eligible vs not), you would be fitting a logistic model. You can use PROC LOGISTIC to fit the model and the SCORE statement in that procedure to get predicted probabilities of eligibility for you test data set.  See the LOGISTIC documentation and examples there such as the "Scoring data sets" example.  Basic code would be like:

 

proc logistic data=train;

model binary_response(event="Y") = predictor1 predictor2;

score data=test out=mypreds;

run;

View solution in original post

3 REPLIES 3
StatDave
SAS Super FREQ

Assuming that your response is binary (eligible vs not), you would be fitting a logistic model. You can use PROC LOGISTIC to fit the model and the SCORE statement in that procedure to get predicted probabilities of eligibility for you test data set.  See the LOGISTIC documentation and examples there such as the "Scoring data sets" example.  Basic code would be like:

 

proc logistic data=train;

model binary_response(event="Y") = predictor1 predictor2;

score data=test out=mypreds;

run;

Vish33
Lapis Lazuli | Level 10

Thank you for your inputs. I will look into the Logistic documentation.

Ksharp
Super User

Also you could try Decision Tree.

Check PROC HPSPLIT example .

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

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 4368 views
  • 0 likes
  • 3 in conversation