BookmarkSubscribeRSS Feed
Ronein
Meteorite | Level 14

Hello

Let's say that I have Logistic regression model that produce probability to failure ("PD").

Let's say that  for each category of explanatory variable I know the B (Coefficient).

My question:

I want to build score card  so for each category of explanatory variable I can see the score card.

As far as I know the total score card that customer can have from all explanatory variables is 1000 (It is the worst case  ,highest PD).

What is the way to calculate score card based on the table below

 

Data My_Model;
infile datalines dlm="," dsd;
input Var_name $ category B;
cards;
Intercept,.,2.5069
X1,1,-1.4065
X1,2,0
X2,1,-0.893
X2,2,0
X3,1,-0.69
X3,2,0
X4,1,-1.4856
X4,2,-0.7367
X4,3,-0.4019
X4,4,0
X5,1,-0.9493
X5,2,0
X6,1,-0.4826
X6,2,-0.288
X6,3,0
X7,1,-0.538
X7,2,0
X8,1,-1.4357
X8,2,-0.9454
X8,3,-0.1199
X8,4,0
X9,1,-1.4907
X9,2,-0.6121
X9,3,-0.1348
X9,4,0
;
Run;

 

2 REPLIES 2
PaigeMiller
Diamond | Level 26

This is a great question for Google. There's plenty of instructions out there on the internet for creating a scorecard.

--
Paige Miller
Ksharp
Super User
This topic is too big . You need a couple of days to search it.Check attachment could give you a start.

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!

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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