Contributor
Posts: 20

# Standardize Factor

Dear Statisticians

I m building a predictive model by using SAS E-Miner credit Scoring .  I used the

data from 2007 to 2012. We have  a factor call "Terms" which current situation (2013-2014)

of the data is significantly change.The average

of term for the model is around 30 terms. Two year later term are getting longer (Average 48 terms) due to changing of some practices

. If I countinue using "Term" in my model. I think it s no longer useful and I have to re-build the model so soon. For example,

=< 12 terms = 10 points

13-24 = 5 points

25- 36 = 0 points

>=36 = -5 point

From the score, all new customers will receive -5 points. Because the nobody has no term Less than 36. The proportion of other groups will be 0.

So I decided to standardize my factor by 2 methods.

1) In finding Z we need SD, No of observation, and Average.

I fixed the AVG of all records by using Average of data in model. This mean all records of data will have the same N, and Average

2) N , Average and SD are not fixed, They are vary by their date.

Below are examples of the two groups

1)

 Contract Term Date AVG SD Z 1 12 01-Jan-07 23.25 12.65 (0.89) 2 18 02-Jan-07 23.25 12.65 (0.42) 3 20 03-Jan-07 23.25 12.65 (0.26) 4 24 04-Jan-07 23.25 12.65 0.06 5 12 05-Jan-07 23.25 12.65 (0.89) 6 16 06-Jan-07 23.25 12.65 (0.57) 7 48 07-Jan-07 23.25 12.65 1.96 8 36 08-Jan-07 23.25 12.65 1.01

2)

 Contract Term Date AVG SD Z 1 12 01-Jan-07 12.00 - - 2 18 02-Jan-07 15.00 4.24 0.71 3 20 03-Jan-07 16.67 4.16 0.80 4 24 04-Jan-07 18.50 5.00 1.10 5 12 05-Jan-07 17.20 5.22 (1.00) 6 16 06-Jan-07 17.00 4.69 (0.21) 7 48 07-Jan-07 21.43 12.47 2.13 8 36 08-Jan-07 23.25 12.65 1.01

From the above example, Value of Z of the two group are changed and can effect to the range of score.

I need u all suggestion about the method of calculating the Z value which one is better.

My background is not statistician or mathematician, but really interested in Data Modelling and really need support from you all guys.

Ros

Super Contributor
Posts: 337

## Re: Standardize Factor

Hi Ros,

Not a statistician here, but I am a big fan of the Interactive Grouping and Scorecard nodes in Enterprise Miner. I used to do everything by hand back in the day, and these nodes do a lot of the hard work behind the scenes.

Two things that I thing you could improve:

You are using data from 2007 to 2012. This time window is too large. The standard is to have 12 month periods, but it could vary depending on whether it is new applications vs behavior, the specific credit practice, or country regulations. But I would rather do yearly periods e.g. use June 2010 through May 2011 to predict the next year. I would think that this way the variable TERMS would be more stable.

Instead of using the moving average to determine how to bin or group the variable TERMS, I would use the Interactive Grouping node in the credit scoring tab directly. This node bins the variables for you, and most importantly calculates and graphs the weight of evidence of each of the bins, it also calculates the Information Value and only passes the variables that meet a threshold to the next nodes in your diagram (think of a Scorecard node).

I would much rather use weight of evidence and information value than moving average to assess a variable.

You can learn more about these nodes in the reference help. Press F1 if you are on Enterprise Miner.

This book is also a must read for credit scoring professionals:

Credit Risk Scorecards: Developing and Implementing Intelligent Credit Scoring

# Naeem Siddiqi

I hope this helps,

Miguel

Discussion stats