Professional Documents
Culture Documents
Good
4
Worked Out Example
• Suppose a Bank wants to start credit card division. They
want to set up a system to screen applicants and classify
them either ‘low risk’ or ‘high risk’ from the information
they have received.
• They get a data of 18 clients from their apex bank who
turned out to be ‘Hi risk’ or ‘Lo Risk’.
• This data table is given on next slide.
• Build the Discriminant Function (Model) and Find
– % of Customers that it is able to classify correctly
– Statistical Significance
– Which variables are relatively better in discriminating
– How to classify a new credit card applicant by building a decision
5
rule
Worked Out Example
Sr No Risk – Hi / Lo AGE INCOME IN ‘000 YRS MARRIED
1 1 35 40 8
2 1 33 45 6
3 1 29 36 5
4 2 22 32 0
5 2 26 30 1
6 1 28 35 6
7 2 30 31 7
8 2 23 27 2
9 1 32 48 6
10 2 24 12 4
11 2 26 15 3
12 1 38 25 7
13 1 40 20 5
14 2 32 18 4
15 1 36 24 3 6
Worked Out Example
Sr No Risk – Hi / Lo AGE INCOME IN ‘000 YRS MARRIED
16 2 31 17 5
17 2 28 14 3
18 1 33 18 6
7
SPSS
1. Analyze
2 Classify
3 Discriminant
8
SPSS
1. Move DV into
Grouping Variable
2. Move IV
Select respective
variables and use
this to move
9
SPSS
1. Select DV
10
SPSS
Continue
11
SPSS
Click on Statistics
12
SPSS
Click on
ANOVA,
Fisher’s &
Unstandardized
Continue
13
SPSS
Click on ‘Classify’
14
SPSS
15
SPSS
Click on ‘Save’
16
SPSS
17
SPSS
Click on ‘Ok’
18
SPSS
19
Worked Out Example
• Important System Outputs –
1. % of Customers that it is able to classify correctly
21
SPSS
• Wilks’ Lambda
• = With in S.S. (‘Sum of Squares’) / Total S.S. (Sum of Squares)
= 0.319
• Wilk’s Lambda –This value is between 0 to 1. Any value
closer to 0 indicates better discriminating power
• If the model is good, ‘With in SS’ should be as much less as
possible
• Since Sig. Value is 0.001, therefore
• Confidence Level = (100 – 0.001) = 99.999
• Model is Good Fit
22
SPSS
23
SPSS
24
Worked Out Example
4. How to classify a new credit card applicant by
building a decision rule
• System Output –
GROUP MEANS
G1 (LOW RISK) 1.37793
G2 ( HIGH RISK) -1.37793
- 1.37793 0 1.37793 25
Worked Out Example
4. How to classify a new credit card applicant by
building a decision rule
• D = -10.00335 + 0.24560 (AGE) + 0.00008
(INCOME) + 0. 08465 ( YRS MARRIED)
• e.g. Age – 40, Income – 25000, Yrs Married – 15
Substituting in the equation above – D = ? & where
does it fit? Low Risk or High Risk?
- 1.37793 0 1.37793 26
Summery
• Look at
• % of Customers that it is able to classify correctly – At least > 80,
Close to 100
• Unstandardized Coefficients ( Constant included) for forming
the equation
• Standardized Coefficients – For understanding of discriminating
power of IVs
• Wilk’s Lambda –This value is between 0 to 1. Any value closer
to 0 indicates better discriminating power
• ‘Eigenvalue If the model is Good, Eigenvalue should be greater
than 1. Higher the value, better it is
• Canonical Correlation - Any Value > 0.5 – Accept the model
• Significance value / Confidence Level – Very Good at @ 99%
Which is ( 1- Sig. Value). That Means Discrimination between two
27
groups is highly significant
Similarities and Differences
NO. ANALYSIS ANOVA REGRESSION DA REMARKS
28
Practice Example
• The retail outlet wants to know the consumer behaviour
pattern of the purchase of the products in two categories -
National Brand (Brand 1) and Local Brand (Brand 2) ,
which would help it to place orders depending on demand
and requirements of the customers. The retail outlet uses
data of 20 customers, wrt Annual Income and Household
Size, from retail outlet in another location to arrive at a
decision about customer visiting at their end. This retail
outlet wants to use Discriminant Analysis to screen the
responsiveness of customers towards national brand
(Brand 1) and local brand (Brand 2) and find out the
following based on SPSS outputs -
29
Practice Example
1. The percentage of customers that it is able to
classify correctly.
2. Statistical significance of the Discriminant
function.
3. Which variable are relatively better in
discriminating between consumers for national and
local brand.
4. Discriminant Function & Classification of new
customers into one of the two groups namely -
national and local brand acceptors.
30
Practice Example
31
Practice Example
32
Practice Example
33