Machine Learning for Finance (PDF edition)
Five people quote the accuracy of the same credit model and give 0.9125, 0.7353, 0.7375, 0.7185 and 0.6984. Nobody is wrong: each is the correct answer to the question its author was asking, and the distance from the highest to the lowest is 0.2141 of area under the curve, most of the distance between a good model and no model at all.
Brechin Credit is an unremarkable lender to British small companies and its model is an unremarkable model: seven characteristics, weights of evidence, a logistic regression, points on the industry scale. The five numbers differ because of one field that is populated three months after the money is lent and takes 0.1772 with it when it goes; because of a year the model had not seen; and because the only applications with an outcome are the ones an earlier policy accepted.
And the number that decided how much money the lender made is none of the five. It is 8.2367 per cent, the bad rate at which a marginal loan is worth writing, being 6,982 of margin on a performing loan divided by the 84,767 swing between a performing loan and a default. That ratio puts the cut-off at 550 points, which approves 83.50 per cent of applications and earns 17,348,284. At 600 points, the score a nervous committee reaches for, the same book approves 16.80 per cent and earns 5,596,817. Being careful costs 11,751,467.
Then 2020 arrives. The ranking barely moves. The level under-predicts the bad rate in nine bands out of ten, by as much as 9.612 percentage points. And the profit-maximising cut-off moves thirty points, to 580, so a policy written once and left at 550 turns 2,563,882 into a loss of 149,416. The card did not break; the price of risk did.
One dataset of 8,400 applications is carried the whole way through, with the arithmetic printed rather than asserted: the outcome window and why it is a modelling decision; binning and the weight of evidence; the points scale derived from first principles; what each characteristic is actually worth, measured by removing it; discrimination against calibration, which fail separately and for different reasons; population stability on fixed bands; the applicants the model never saw; the cut-off priced in both years; whether 180 boosted trees earn their keep on the same seven inputs, in accuracy and then in money; explaining a decision to an applicant and to a regulator; the monthly monitoring pack with thresholds stated as decisions; and the seven questions to ask of somebody else's model paper, answered on Brechin.
Four companion workbooks reproduce every printed figure by a live formula and check themselves against the page. There is no code in this book.
For credit risk modellers and validators, model risk and internal audit, chief risk officers and credit committees, and data scientists arriving in a regulated lender from somewhere else.
This edition: PDF, 6 x 9 in, 127 pages, DRM-free. The free companion Excel workbooks for this book are at julianrsterling.com/model.