Respuesta :
Answer:
Check the explanation
Explanation:
Number of Number of The proportion of The proportion of
Non Acceptors Acceptors Non-acceptors (p0) Acceptors (p1)
A 352 223 100% 100%
A1 348 36 99% 16%
A2 4 187 1% 84%
Gini Index 1-(0.99)^2-(0.01)^2 1-(0.16)^2-(0.84)^2
0.0198 0.2688
Combined Gini Index for A1 and A2:
Number of Non Acceptors Number of Acceptors Total
A 352 223 575
A1 348 36 384
A2 4 187 191
Combined Gini Index 1-(352/575)^2-(223/575)^2
0.4748
Gini index if training records are split by customer's family size:
Number of Non Acceptors Number of Acceptors Total
A 352 223 575
A1 348 36 384
A2 4 187 191
Gini Index for this node 1-(352/575)^2-(223/575)^2
0.4748
Gini (A1) 1-(348/384)^2-(36/384)^2
0.1699
Gini (A2) 1-(4/191)^2-(187/191)^2
0.0410
Gini (A1,A2) 0.4748-(384/575)^0.1699-(191/575)^0.0410
-1.4147