Discriminatory power (Gini, AUC)
Discriminatory power is the ability of a rating model or scorecard to rank borrowers that later default above those that do not. It is measured by the area under the ROC curve (AUC) and by the Gini coefficient, also called the accuracy ratio, which equals twice the AUC minus one.
What it is
Discriminatory power is the ability of a rating model to separate borrowers that will default from those that will not, by giving the first group worse ratings. It concerns the order of borrowers, not the level of the default probabilities. A model with high discriminatory power puts most future defaulters at the bad end of the scale.
Two statistics summarise it.
- AUC, the area under the receiver operating characteristic (ROC) curve. The curve plots the share of defaulters caught against the share of non-defaulters wrongly flagged, as the cut-off moves along the score scale.
- Gini coefficient, also called the accuracy ratio. It is the area between the cumulative accuracy profile of the model and that of a random model, divided by the same area for a perfect model.
For a continuous score the two are linked by one formula:
Gini = 2 x AUC - 1
Here AUC is the area under the ROC curve and Gini is the accuracy ratio. A powerless model has an AUC of one half and a Gini of zero. A perfect model has an AUC of one and a Gini of one.
AUC also has a plain reading. It is the probability that a randomly chosen defaulter has a worse score than a randomly chosen non-defaulter.
Why it matters
A rating system exists to separate good credits from bad ones. If the ordering is poor, limits, pricing and capital are set on a ranking that does not reflect risk.
Validators test discriminatory power when a model is built and again on realised defaults. Regulatory guidance on model validation names discriminatory power as one of the properties a rating system is tested for, next to calibration of the default probabilities.
Worked example
Illustrative numbers.
A scorecard ranks 10 borrowers, 2 of which default later. From best to worst, the borrowers are numbered 1 to 10, and the two defaulters sit at positions 6 and 9.
- Pair each defaulter with each of the 8 non-defaulters, giving 16 pairs.
- The defaulter at position 6 is worse than the non-defaulters at positions 1 to 5, which makes 5 correct pairs. It ranks better than those at positions 7, 8 and 10, which makes 3 wrong pairs.
- The defaulter at position 9 is worse than the non-defaulters at positions 1 to 5, 7 and 8, which makes 7 correct pairs. It ranks better only than the borrower at position 10, which makes 1 wrong pair.
- Correct pairs: 5 + 7 = 12 of 16. AUC = 12 / 16 = 0.75.
- Gini = 2 x 0.75 - 1 = 0.50.
How to read it
A higher value means a better ranking. An AUC near one half means the model barely beats chance. The statistics depend on the portfolio and the period, so a value is compared with the same model’s earlier results or with a benchmark on the same portfolio, not across unlike portfolios.
Assumptions
- Defaults are observed over a clear horizon, and the sample holds enough defaults. With few defaults the estimate is imprecise, so a confidence interval is reported.
- The Gini coefficient is read as discriminatory power on a score that ranks risk. Its meaning weakens when the curves of two models cross.
- A good ranking says nothing on calibration. A model can rank well and still understate the default rate.
Who uses it
- Credit risk modellers compute the statistics at development and compare candidate models.
- Model validators recompute them independently and report weak results to the model owner.
- Data scientists track the statistics over time to detect a decline in performance.
Common confusions
- The Gini coefficient of a rating model is not the Gini index of income inequality, though both are areas between curves.
- High discriminatory power is not the same as accurate default probabilities. Calibration is tested separately.
- AUC and Gini carry the same information on different scales. Comparing one model’s AUC with another’s Gini gives a wrong conclusion.
- A high value on the development sample does not prove performance on later data. Out-of-sample testing is needed.