Quantitative research · Credit risk · 2026
Beyond AUC.
Credit risk probability modelling, calibration and model validation. An empirical study of whether a more complex model produces better rankings—and probabilities reliable enough to support decisions.
Research question
Does complexity earn its place in a credit-risk model?
Ranking borrowers by risk and estimating reliable probabilities are different problems. A model can improve ROC–AUC while still misrepresenting absolute risk. This study compares regularised logistic regression with gradient boosting, then tests whether sigmoid calibration improves the boosting probabilities.
Principal finding
Boosting performed better on the locked holdout. Logistic regression led in 4 of 5 training-validation folds. The evidence supports a holdout-specific advantage, while a stable general preference for the more complex model remains unresolved.
Experimental design
Keep selection, calibration and evaluation separate.
A fixed stratified split reserves the final holdout. Five outer training folds evaluate the complete workflow, with a small five-fold hyperparameter search inside each fit. Each calibration score comes from a search that excluded that observation from preprocessing, fitting and hyperparameter selection.
Raw and calibrated boosting share the exact same final base estimator, isolating the sigmoid mapping. Log loss selects the hyperparameters; the holdout never does. A constant-prevalence predictor provides a reference for probability scoring rules.
- Source
- Corrected UCI South German Credit · 1,000 observations
- Development / holdout
- 800 / 200 records · stratified · seed 42
- Predictors
- 20 features · 3 continuous measurements · 17 categorical attributes
- Target integrity
- Explicitly recoded to 1 = bad credit · 300 bad / 700 good
- Calibration
- Sigmoid mapping · cross-fitted hyperparameter searches · shared base model
- Uncertainty
- 2,000 paired stratified bootstrap replicates
Measured results
A favourable holdout is one part of the evidence.
Both trained model families outperform the constant on ranking and proper scoring rules. Boosting’s holdout AUC advantage is 0.040, with a paired 95% interval of [0.004, 0.077]. That interval excludes zero for these fitted models and this case mix.
| Model | ROC–AUC | Average precision | Brier score | Log loss |
|---|---|---|---|---|
| Constant prevalence | 0.500 | 0.300 | 0.21000 | 0.61086 |
| Logistic regression | 0.749 | 0.574 | 0.17535 | 0.52486 |
| Gradient boosting | 0.790 | 0.635 | 0.16180 | 0.49362 |
| Boosting + sigmoid | 0.790 | 0.635 | 0.16174 | 0.49411 |

Bootstrap intervals condition on the fitted models and the observed 60 bad / 140 good mix. They exclude uncertainty from refitting, population prevalence and temporal drift. These are nominal comparisons across related metrics, not a multiplicity-adjusted claim of overall superiority.
The ranking reverses in training-only validation.
Mean outer-fold AUC is 0.790 for logistic regression and 0.775 for boosting. Logistic leads in 4 of 5 folds. These folds reuse overlapping training data and are a stability analysis, not independent external validation. Their disagreement with the holdout is part of the result.

Probability quality
Calibration is an intervention to test.
Sigmoid calibration preserves the boosting ranking here, so AUC and average precision stay unchanged. Holdout Brier score changes by -0.00006, while log loss changes by +0.00049. Both paired intervals include zero. There is no convincing benefit from the added mapping in this study.
The mapping improves outer-fold log loss in only 1 of 5 folds. Reliability diagrams help explain where probabilities differ from frequencies, but sparse bins and arbitrary bin boundaries limit their precision. Proper scoring rules assess probability quality and also reflect discrimination.

Sampling sensitivity
Thirty per cent bad credit is a sampling choice.
These records date from 1973–1975, and bad-credit outcomes were deliberately oversampled. The observed 30% share does not estimate a bank’s population default rate. Contract non-compliance is also not a fully specified modern default event over a prediction horizon.
Under a hypothetical change in prevalence, Bayes’ rule adjusts posterior odds by the ratio of target to source prior odds. This requires a calibrated source posterior and stable class-conditional feature distributions, P(X|Y). It demonstrates sensitivity; it does not recover real-world default probabilities.
Target posterior odds = source posterior odds × target prior odds ÷ source prior odds

Interpretation
Predictive signal is only a starting point.
The contribution is a controlled empirical comparison with explicit calibration, uncertainty and model-risk questions. Stronger evidence for a complex model would require representative data, a defined outcome horizon and validation across time or external portfolios.
What the study supports
- Useful discriminatory information beyond a constant-prevalence baseline.
- A conditional boosting advantage on the fixed holdout, alongside contradictory fold rankings.
- No convincing gain from sigmoid calibration on this limited sample.
- The importance of distinguishing a good ranking from reliable probability levels.
What it does not establish
- Contemporary portfolio PD calibration, economic value or deployment readiness.
- A universal model winner or equivalence between the model families.
- Causal feature effects, fairness or regulatory compliance. Combined personal-status codes cannot reliably identify sex.
- External or forward-time validity: borrower identifiers and prediction timestamps are unavailable.
Reproducibility
Trace the conclusions back to executed experiments.
The project includes typed Python modules, a dependency lockfile, source checksums, a prespecified protocol, row-level predictions, tuning results and bootstrap draws. All 28tests passed. A second experiment run reproduced the seven compared numerical artifacts exactly. The 16-page report discusses all 14 original figures.