Model risk: validation, drift, fairness, reject inference
A model that is right on average can be wrong for every group inside the average. Validation is the job of finding where, before a committee relies on it
The chapter 2.2 card has a test AUC of 0.678 over April to June, built from 633, 1,009 and 1,460 loans in the three months. You compute the AUC for each month separately. The card is not changed between months. What do you expect?
A model is a method that turns inputs into a number that drives a decision. A scorecard is one. So is a cut-off rule, a price table and an expected-loss estimate, which is why this chapter treats the lender’s own bureau cut-offs as a model too. Model risk is the loss that comes from a decision made on a model that is wrong, or used where it was never meant to work. It has two sources. The model may contain an error: bad data, a wrong design, a bug. Or the model may be sound and misused: applied to people it never saw, or after the world has moved. A validator looks for both.
The inventory: you cannot validate what you have not listed
The first control is a list. Spreadsheets with a lookup table in a column, a rule someone typed into a decision engine and a vendor’s score all make decisions, and in many lenders nobody has them in one place. A model inventory gives each model one row: who owns it, what decision it feeds, what data it reads, when it was last validated, and what it cannot see.
Each row also gets a materiality tier: how much damage a wrong answer does. A card that decides every loan is tier 1. An estimate that feeds a management report is tier 2. The tier sets how often the model is revalidated and who has to sign. The tiers and the intervals in the lab are illustrative, because each lender sets its own.
Three roles keep the list honest. The developer builds the model. The owner uses it and answers for its results. The validator is independent of both: a person who did not build the model, with no stake in it passing. Anuli’s team exists so that a model’s owner does not mark his own work. Step 6 of the lab builds a four-row inventory for Owoleaf, and it contains a finding: the cut-off rule that decides every loan has never been validated.
Validation in five questions
Validation is not one test. A validator asks five questions, in this order.
- Does the method fit the problem? This is conceptual soundness. Is the definition of bad sensible? Chapter 2.2 fixed it at 90 or more days past due within 120 days of disbursement, and noted that it mostly measures salary-advance failure. Is a logistic regression on weight of evidence suitable for the data? Are the features allowed?
- Are the data right? Where does each input come from, and was it known on the application day? The leak in chapter 2.2’s break step is a data failure: a column refreshed after the loan was made. Step 3 below finds a quieter one.
- Does the code do what the document says? The validator rebuilds the model independently and compares. Step 0 of the lab does the smallest version: run the 2.2 file, and the figures in the chapter must come out the same. If they do not, nothing after that can be trusted.
- Do the outcomes match the predictions? This is outcomes analysis, and back-testing is its main tool. The next section is about it.
- Is someone watching it? Ongoing monitoring is the same questions asked every month, with owners and trigger levels agreed in advance.
A validator also benchmarks: compares the model with something simpler. Chapter 2.2 did so when it set the card’s 0.678 against 0.648 for the bureau score alone. A model that cannot beat its benchmark by enough to pay for governing it is a finding.
Back-testing, a month at a time
A back-test compares what the model predicted at application with what happened. Two questions are separate. Does it rank: do the loans scored risky go bad more often? The AUC from chapter 2.2 answers that. And is it calibrated: when it says 9% chance of bad, do about 9% go bad? For calibration, add up the card’s probabilities and compare with the count of bad loans. If the card gives probabilities p over n loans, the expected number of bad loans is the sum of the p, and the spread of the count is the square root of the sum of p × (1 − p). The distance between observed and expected, in those units, is a z-score. Within about plus or minus 2, the difference is the kind of luck you would see anyway.
Back-testing has a built-in delay. A loan is bad only after 90 days past due inside a 120-day window, so a June application is not labelled until the end of October. A validator reading in November is testing decisions the model made five months ago. That is why monitoring also tracks the things you can see at once, such as drift (below), and why a back-test is a record of the past rather than an alarm.
Step 1 of the lab prints the table. The card is the one built in chapter 2.2, trained on applications before 1 April.
month sample loans bad bad rate card PD expected z AUC 90% interval
2026-01 train 35 2 5.7% 9.7% 3.4 -0.82 0.636 0.273 to 0.941
2026-02 train 138 13 9.4% 10.0% 13.9 -0.25 0.706 0.555 to 0.838
2026-03 train 370 38 10.3% 9.7% 35.7 0.41 0.742 0.678 to 0.808
2026-04 test 633 60 9.5% 9.4% 59.8 0.03 0.689 0.623 to 0.741
2026-05 test 1009 96 9.5% 9.0% 90.6 0.61 0.624 0.583 to 0.669
2026-06 test 1460 122 8.4% 8.2% 120.4 0.15 0.713 0.677 to 0.752
all test months: AUC 0.678, observed 278 bad, expected 270.8
Read it in three ways. The z-scores are all within plus or minus 1: month by month the card’s probabilities are about right. The AUC moves from 0.689 to 0.624 to 0.713, but the 90% intervals, made by redrawing each month’s loans 500 times, are 0.08 to 0.12 wide in the test months. The May and June intervals do not overlap, but a card that has not changed can still show that, and June, the latest month, is the card’s best. The validator reports the width alongside the figure and does not call a drop of 0.07 a decay on one month’s data. January is shown for completeness, with 35 loans and an interval from 0.27 to 0.94: no conclusion can come from it.
A pooled number has a second weakness. It averages over everything the model does, and errors in different places cancel. Step 2 slices the test months by product, KYC tier, bureau status and employer, and compares observed with expected bad loans.
test months only: 3102 loans, 278 bad
cut segment loans bad expected bad - exp z
product SAL 1658 237 175.2 61.8 5.0
product SME 408 1 13.6 -12.6 -3.5
product PL 382 5 24.0 -19.0 -4.1
product BNPL 654 35 58.0 -23.0 -3.2
kyc tier tier 1 1024 152 144.7 7.3 0.7
kyc tier tier 3 784 32 28.7 3.3 0.6
kyc tier tier 2 1294 94 97.4 -3.4 -0.4
bureau hit 2381 188 151.0 37.0 3.2
bureau thin file 721 90 119.8 -29.8 -3.0
employer EMP07 139 115 16.0 99.0 26.7
employer EMP16 31 5 3.5 1.5 0.9
employer EMP26 43 6 4.5 1.5 0.8
The card is calibrated in total (278 against 270.8) and wrong in the parts. Salary advances have 237 bad loans where the card expected 175.2, a z-score of 5.0. BNPL, personal loans and SME together have 41 against 95.6. Bureau hits have 188 against 151.0, and thin files 90 against 119.8: the card is too harsh on thin files and too soft on borrowers the bureau knows. The cuts overlap, though: 1,163 of the 1,658 test salary advances are bureau hits, so this is partly the product finding seen again. The largest gap sits in the last block. Employer EMP07 has 139 loans and 115 bad, where the card expects 16.0, a z-score of 26.7. It is 4.5% of the test loans and 41% of the test bad loans. The card has no way to know. It does not see product (chapter 2.2 said so) or employer. How an employer’s late salaries show up in a lender’s defaults is the subject of the chapter on employer and payroll lending later in this module; here it is enough that a model with no employer column will miss it.
What does the validator do with that? She writes a finding, rates it, and asks the owner for a response: add the feature, build a card per product, cover the exposure with a limit or an overlay, or accept it and document it. She does not fix the card herself, because a validator who edits the model is its developer.
Drift: has the population moved?
A model is fitted to one population. When the people applying change, its answers stop meaning what they did. Population drift is a change in the inputs. Concept drift is a change in how inputs relate to outcomes, such as a recession that makes the same income less safe. Drift in the inputs is easy to measure and does not need outcomes, so you can watch it every month while the labels are still four months away.
The usual measure is the population stability index (PSI). Cut the score, or a feature, into bins, using the edges fixed when the model was built. For each bin take the share of the development population (expected) and the share of the new population (actual):
PSI = sum over bins of (actual share - expected share) x ln(actual share / expected share)
Every term is zero or positive, because the two factors always have the same sign. A bin that has lost share and a bin that has gained it both add to the total. Step 3 works it out for the card’s five score bands, June against the training loans.
score bands, train (543 loans) against 2026-06 (1460 loans)
band expected actual a - e ln(a/e) part
1 0.186 0.123 -0.063 -0.411 0.0258
2 0.195 0.190 -0.005 -0.025 0.0001
3 0.203 0.236 0.033 0.151 0.0050
4 0.214 0.186 -0.028 -0.141 0.0039
5 0.203 0.265 0.062 0.269 0.0168
PSI 0.0516
month loans score bureau_score delinquent_12m kyc_tier wallet_in_60d
2026-01 35 0.059 0.092 0.117+ 0.025 0.605*
2026-02 138 0.016 0.002 0.002 0.008 0.026
2026-03 370 0.003 0.001 0.001 0.002 0.020
2026-04 633 0.039 0.009 0.000 0.004 0.052
2026-05 1009 0.033 0.002 0.001 0.010 0.132+
2026-06 1460 0.052 0.009 0.011 0.037 0.334*
+ = 0.10 or more, * = 0.25 or more (rules of thumb)
share of loans with under ₦25,000 of wallet inflow in 60 days: train 25.0%, 2026-06 6.0%
184 of the 543 training loans were made before 2 March, when the 60-day wallet window reaches back before the data starts on 1 January
Check the first band by hand. Training had 101 of 543 loans in band 1, a share of 0.186. June had 180 of 1,460, a share of 0.123. The difference is −0.063 and ln(0.123 ÷ 0.186) is about −0.41, so the band adds about 0.026 (the lab prints 0.0258, from unrounded shares). The five parts sum to a PSI of 0.0516.
Practitioners read PSI against two marks: below 0.10 means no action, 0.10 to 0.25 means look at other monitoring figures, above 0.25 means a major shift worth investigating. Those figures are conventions, and search summaries of academic reviews trace the two constants to Lewis (1994) and call them rules of thumb; no regulator in this chapter sets them. Treat them as prompts. A critical feature at 0.15 may matter more than a decorative one at 0.30.
The table shows the two levels of PSI. The score barely moves: 0.052 in June, comfortably under 0.10. One feature, wallet inflow in the last 60 days, climbs from 0.052 in April to 0.132 in May and 0.334 in June. A feature alarm is a reason to look, and here the look is worth doing, because it finds two separate things. First, the data window. The wallet data start on 1 January, so a 60-day inflow for an application in January or February reaches back before the data begin and is understated. 184 of the 543 training loans were made before 2 March. In training, 25.0% of loans sat in the lowest wallet bin; in June only 6.0% do. Part of the shift is the training sample’s weakness, not the population’s change, and the card learned part of its wallet weights from it. Second, real growth: customers may use the wallet more as the book matures. The lab cannot say how much of the shift is each. A validator asks the data owner how the feature was built, and does not guess. Notice also the cost of not looking: the score’s PSI said everything was fine.
PSI says the applicants changed. It does not say the model got worse, and June is in fact the card’s best month. It is a smoke alarm. Two rules keep it useful: fix the bin edges when the model is built, because moving them breaks the history, and decide the response before the alarm sounds.
Overrides
An override is a person changing the model’s decision. A high-side override approves an applicant the model would decline. A low-side override declines one the model would approve. People override for good reasons: the model cannot see the employer that has stopped paying salaries, or the customer whose file is thin because they moved from another country. People also override for bad ones: a branch target, a friend, an angry phone call.
A validator watches three things in the override log: how often (the override rate), who (concentrations in one officer or branch), and how the overridden loans perform against what the model expected. If overridden loans do better than the model said, the people know something the model does not, and that knowledge belongs in the model. If they do worse, the overrides are costing the lender, and the model’s expected loss tells you how much.
The lab’s book has no override log, because the lender’s rule, not a person, made every decision. Step 4 uses a stand-in. Put the card beside the lender’s rule, with the card’s cut-off at 557 points, the lower edge of its second band. The loans the lender approved below 557 are what a high-side override log would hold if the card were deciding.
card cut-off: 557 points (the lower edge of train band 2)
month loans below share bad rate below bad rate at or above
2026-04 633 90 14.2% 20.0% 7.7%
2026-05 1009 135 13.4% 12.6% 9.0%
2026-06 1460 180 12.3% 20.6% 6.6%
test months, below the cut-off: 405 loans, 72 bad, the card expected 80.7
below the cut-off, by product: {'BNPL': 70, 'SAL': 335}
They are 12% to 14% of loans each month. Their bad rate is 20.0%, 12.6% and 20.6%, against 7.7%, 9.0% and 6.6% for the loans at or above the cut-off. Over the three months, 72 of the 405 went bad, where the card expected 80.7, so on ranking and probability the card was right about them. It is a reading of the card and of the lender’s rule; it says nothing about what a person would have judged. Low-side overrides cannot be read from loan data at all, because a declined applicant has no outcome. That gap is the next section.
Reject inference
A model learned from approved loans sees only people the old rule approved. Reject inference is any method that guesses how the declined would have repaid, so the model can learn from them too. Chapter 2.2 named the blind spot; chapter 2.4 said a swap-in cannot be observed. Here you test a method on a case where the answer is known.
The experiment in step 5 pretends the old rule was tighter: approve only bureau hits scoring 700 or more. Loans below it, and every thin file, are treated as declined, and their outcomes are hidden from the model. The card is trained on applications from January to May and tested on June, on all loans, including the pretend-declined ones. The lab prints six versions: accepts only; three where the hidden loans are scored with the accepts-only card, multiplied by 1, 2 and 3 for being riskier, and added as fractional bad and good rows; one that treats every hidden loan as bad; and a ceiling card trained on all the outcomes.
train, January to May: 2185 loans, 209 bad. test, June: 1460 loans, 122 bad
the pretend rule approves bureau hits scoring 700+: 869 loans with outcomes (41 bad, 4.7%); 1316 loans have their outcome hidden from the model (their real outcomes: 168 bad, 12.8%)
the accepts-only card gives the hidden loans an average chance of bad of 5.7%
training set for the card AUC, all June AUC, June rejects
accepts only 0.616 0.565
inferred, hidden loans 1x as risky 0.607 0.551
inferred, hidden loans 2x as risky 0.680 0.574
inferred, hidden loans 3x as risky 0.685 0.573
every hidden loan treated as bad 0.682 0.550
ceiling: all outcomes known 0.723 0.634
Accepts only gets 0.616 on all June loans, where the ceiling gets 0.723. The card trained on 869 loans never saw a thin file or a score under 700 and gives those features a weight of zero for them, because an unseen bin has a weight of evidence of 0: no information, which is not the same as no risk. Inference helps here, but only with a suitable assumption. Scoring the hidden loans at the accepts-only card’s own estimate, 5.7% on average, lowers the AUC to 0.607: inference with no extra judgement tells the card what it already believed. (Under a pretend rule with its edge at 640, in the break step, even that version helps a little, so the assumption matters more than the method.) Multiplying by 2 lifts it to 0.680, and by 3 to 0.685. Marking every hidden loan bad does nearly as well, 0.682.
Two things follow. The gain comes from the assumption, not the data. The multiplier that works is about the ratio between the hidden loans’ real bad rate, 12.8%, and 5.7%, and the lab knows that only because the outcomes sit in the book. On real declines nobody does. And the gain is about the groups: the last column ranks only the June loans the pretend rule would decline, and inference barely moves it, from 0.565 to 0.574, against 0.634 for the ceiling. Telling the card that people below 700 are riskier than people above is easy. Telling it which of them is which needs outcomes. So reject inference can move a card’s average view of a group, if you can defend the assumption, and it cannot recover the outcomes of individual declined applicants. The experiment is also kinder than real life: the pretend-declined loans were approved by the real rule, so they are milder than the applicants a lender actually declines.
The break step below changes the pretend rule and the ordering of the methods changes with it. The literature is mixed. Search summaries say that Banasik and Crook (2007) found negligible benefit from two reject-inference methods, that an earlier experiment of theirs suggested augmentation weakened predictive power, and that they tentatively suggest it may help most where nearly all applicants are rejected. Another working paper, found in the same searches, doubts its practical use. Those are search summaries, not a reading of each paper. The reliable way to learn about declined applicants is to lend to some of them: approve a small random sample below the cut-off, within a loss limit the board has agreed, and record the outcomes. At the experiment’s hidden-loan bad rate of 12.8%, a sample of 234 loans yields about 30 bad ones (30 ÷ 0.128). A validator asks to see that plan, with its owner and budget, not a statistical trick.
Fairness is a model risk too
A model can rank well and calibrate well and still be wrong for a group, for example through a feature that stands in for state, tribe, religion or sex. This chapter’s segment table shows KYC tier in the first cuts and finds nothing alarming there (tier 1: 152 bad against 144.7 expected, z of 0.7). That is a calibration check, not a fairness test. The chapter on fairness in AI credit, later in this module, tests the 2.2 card for gaps by state and KYC tier and covers what the rules ask. Put it in the validator’s list as a sixth question.
What the rules ask: SR 26-2 and the CBN
Two documents set the vocabulary.
The Federal Reserve’s SR 26-2 (a Supervision and Regulation letter), “Revised Guidance on Model Risk Management”, is dated 17 April 2026, was issued jointly with the Office of the Comptroller of the Currency (OCC) and the Federal Deposit Insurance Corporation (FDIC), and supersedes and replaces SR 11-7 (4 April 2011) and SR 21-8as of 2026-11. Search results quote this from the Fed’s own letter, and several commentaries give the same date and list of superseded letters. The letter’s full text was not read for this chapter. One vendor blog says the old and new documents coexist; that contradicts the letter and is not followed. Commentaries differ on scope: some describe banks above roughly $30 billion in assets as the group most affected, not a hard cut-off, and most report generative and agentic AI as outside the guidance while one treats the guidance as extending to AIas of 2026-11. Read the letter before relying on any of this.
SR 26-2 is US supervisory guidance. It is not Nigerian law and it binds no Nigerian lender. It matters to this chapter as the best-known statement of what a model risk programme contains, and because a Nigerian bank with US relationships, or a funder, may ask a lender to meet it. For Nigerian banks the regulator is the CBN. A search for a standalone CBN model risk guideline found none. The closest document found is the CBN’s 2019 Guidelines on the Management of Interest Rate Risk in the Banking Book (IRRBB), which search summaries say apply to commercial and merchant banks from January 2020 and expect a board-approved model management policy, named roles for building and validating models, a regular model risk assessment, and independent review and validation covering conceptual soundness, monitoring, and outcomes analysis with back-testing (for interest-rate risk models)as of 2026-11. Those are search summaries of the CBN’s PDF, not a reading of it, and the searches found no word on later amendments. A credit scorecard is not an interest-rate model, so that guideline does not bind it directly. The pattern is the same as the one above.
Put side by side, the two documents ask for what this chapter did: an inventory, independent validation, outcome tests, monitoring and a written policy. A small lender may have no regulator asking, and a funder or partner bank often will. Chapter 2.8 covers what a customer is owed when a model declines them. The later chapter on governing AI credit models in module 4 returns to monitoring jobs and change control.
Back at Northmere
Anuli’s report to Northmere’s credit committee, copied to Owoleaf’s, is short. The card ranks, at 0.678 against 0.648 for the bureau score alone, but month by month the AUC is a noisy 0.62 to 0.71. It is calibrated in total and not by product, bureau status or employer. One feature, wallet inflow, has drifted, partly because of the way the training data were built. The loans a card-led policy would have declined were 13% of the book and bad at about 18%. Its inventory entry says the card is blind to product and employer, and its reason codes say what it weighed, not why a borrower fell behind. She recommends shadow use with named conditions and a re-test after a quarter, and she gives Anayochukwu the list.
You write one file, modelrisk.py, step by step, beside scorecard.py in labs/finance. Keep the file as written: each step adds to it. It reads the book read-only. Do not open data1/answers/: a validator has no key. The loan outcomes you compare with are the book’s own schedule and repayments, as in chapter 2.2. All figures are illustrative.
0. Check the book and the card. data1/ and scorecard.py must exist (chapter 2.2, step 0 builds data1; it takes about 40 seconds). Run the card’s own file and keep three lines. This is a replication check: if the figures differ, stop and fix chapter 2.2 first.
cd labs/finance
ls data1/finance.sqlite scorecard.py
python3 scorecard.py | grep "^test:"test: 3102 loans, 278 bad (9.0%), applied 2026-04-01 to 2026-06-27
test: AUC 0.678 KS 0.294
test: AUC 0.678 Gini 0.356 KS 0.292data1/finance.sqlite and scorecard.py are listed first. The three lines are 2.2’s sample report, its model fit (AUC 0.678, KS 0.294) and its out-of-time validation (AUC 0.678, Gini 0.356, KS 0.292). The card reproduces.
1. Back-test month by month. Start modelrisk.py with the setup, the card and the back-test.
"""modelrisk.py: validate the chapter 2.2 scorecard. Standard library only; every figure illustrative.
Needs scorecard.py (chapter 2.2) in the same folder. Money is integer kobo.
Each later step adds to this file; keep it as written."""
import collections
import datetime as dt
import math
import random
import sqlite3
import scorecard as s
NAMES = ["bureau_score", "delinquent_12m", "kyc_tier", "wallet_in_60d"] # the 2.2 card's features
def the_card():
"""The 2.2 card exactly as built there: trained on applications before 1 April."""
rows = s.load_sample()
train, test = s.split(rows)
return rows, train, test, s.build_card(train, NAMES)
def pd_bad(card, rows):
"""The card's own probability of bad: 1 / (1 + e^-(log-odds of bad))."""
return [1 / (1 + math.exp(-x)) for x in s.log_odds_bad(card, rows)]
def by_month(rows):
out = collections.defaultdict(list)
for r in rows:
out[r["applied_at"][:7]].append(r)
return dict(sorted(out.items()))
def auc_interval(risk, bad, draws=500, seed=42):
"""Bootstrap: redraw the loans with replacement, recompute the AUC, report the 5th and 95th percentile."""
rng = random.Random(seed)
n = len(risk)
results = []
for _ in range(draws):
pick = [rng.randrange(n) for _ in range(n)]
b = [bad[i] for i in pick]
if 0 < sum(b) < n:
results.append(s.auc([risk[i] for i in pick], b))
results.sort()
return results[int(0.05 * len(results))], results[int(0.95 * len(results)) - 1]
def show_backtest():
rows, train, test, card = the_card()
print(f"{'month':<9}{'sample':<7}{'loans':>6}{'bad':>5}{'bad rate':>9}{'card PD':>8}{'expected':>9}{'z':>6}"
f"{'AUC':>7}{'90% interval':>16}")
for month, part in by_month(rows).items():
bad = [r["bad"] for r in part]
p = pd_bad(card, part)
expected = sum(p)
z = (sum(bad) - expected) / math.sqrt(sum(q * (1 - q) for q in p)) # binomial sd of the bad count
risk = [-s.score(card, r) for r in part] # more risk = fewer points
lo, hi = auc_interval(risk, bad)
print(f"{month:<9}{'train' if month < s.TRAIN_BEFORE[:7] else 'test':<7}{len(part):>6}{sum(bad):>5}"
f"{sum(bad) / len(part):>9.1%}{sum(p) / len(p):>8.1%}{expected:>9.1f}{z:>6.2f}"
f"{s.auc(risk, bad):>7.3f}{f'{lo:.3f} to {hi:.3f}':>16}")
bad = [r["bad"] for r in test]
risk = [-s.score(card, r) for r in test]
print(f"all test months: AUC {s.auc(risk, bad):.3f}, observed {sum(bad)} bad, "
f"expected {sum(pd_bad(card, test)):.1f}")python3 -c "import modelrisk as m; m.show_backtest()"month sample loans bad bad rate card PD expected z AUC 90% interval
2026-01 train 35 2 5.7% 9.7% 3.4 -0.82 0.636 0.273 to 0.941
2026-02 train 138 13 9.4% 10.0% 13.9 -0.25 0.706 0.555 to 0.838
2026-03 train 370 38 10.3% 9.7% 35.7 0.41 0.742 0.678 to 0.808
2026-04 test 633 60 9.5% 9.4% 59.8 0.03 0.689 0.623 to 0.741
2026-05 test 1009 96 9.5% 9.0% 90.6 0.61 0.624 0.583 to 0.669
2026-06 test 1460 122 8.4% 8.2% 120.4 0.15 0.713 0.677 to 0.752
all test months: AUC 0.678, observed 278 bad, expected 270.8The z column is the observed minus expected bad loans over their binomial spread: all within plus or minus 1. AUC moves between 0.624 and 0.713 in the test months, with intervals 0.08 to 0.12 wide. January has 35 loans and says nothing. The pooled test figures are the 2.2 ones: AUC 0.678, 278 bad against 270.8.
2. Slice the outcomes. Add this. It reads each salary advance’s employer from loan_employers, a table the card never used.
# ---- outcomes by segment: where is the card wrong? -----------------------------------------------
def employer_of():
"""Loan id -> employer id, for salary advances only (the card never sees it)."""
db = sqlite3.connect(f"file:{s.DB}?mode=ro", uri=True)
return dict(db.execute("SELECT loan_id, employer_id FROM loan_employers"))
def show_segments(top=3):
rows, train, test, card = the_card()
emp = employer_of()
p = dict(zip((r["loan_id"] for r in test), pd_bad(card, test)))
cuts = {
"product": lambda r: r["product"],
"kyc tier": lambda r: f"tier {r['kyc_tier']}",
"bureau": lambda r: "thin file" if not r["hit"] else "hit",
"employer": lambda r: emp.get(r["loan_id"], "none"),
}
print(f"test months only: {len(test)} loans, {sum(r['bad'] for r in test)} bad")
print(f"{'cut':<10}{'segment':<10}{'loans':>6}{'bad':>5}{'expected':>9}{'bad - exp':>10}{'z':>7}")
for cut, key in cuts.items():
groups = collections.defaultdict(list)
for r in test:
groups[key(r)].append(r)
table = []
for seg, part in groups.items():
q = [p[r["loan_id"]] for r in part]
bad = sum(r["bad"] for r in part)
exp = sum(q)
table.append((bad - exp, seg, len(part), bad, exp, (bad - exp) / math.sqrt(sum(x * (1 - x) for x in q))))
table.sort(reverse=True)
shown = table[:top] if cut == "employer" else table
for diff, seg, n, bad, exp, z in shown:
print(f"{cut:<10}{seg:<10}{n:>6}{bad:>5}{exp:>9.1f}{diff:>10.1f}{z:>7.1f}")python3 -c "import modelrisk as m; m.show_segments()"test months only: 3102 loans, 278 bad
cut segment loans bad expected bad - exp z
product SAL 1658 237 175.2 61.8 5.0
product SME 408 1 13.6 -12.6 -3.5
product PL 382 5 24.0 -19.0 -4.1
product BNPL 654 35 58.0 -23.0 -3.2
kyc tier tier 1 1024 152 144.7 7.3 0.7
kyc tier tier 3 784 32 28.7 3.3 0.6
kyc tier tier 2 1294 94 97.4 -3.4 -0.4
bureau hit 2381 188 151.0 37.0 3.2
bureau thin file 721 90 119.8 -29.8 -3.0
employer EMP07 139 115 16.0 99.0 26.7
employer EMP16 31 5 3.5 1.5 0.9
employer EMP26 43 6 4.5 1.5 0.8Calibrated in total, wrong in the parts. Salary advances are 61.8 bad loans above the card’s expectation and the other three products 55 below it. EMP07 has 115 bad loans where the card expects 16.0.
3. Measure drift with PSI. Add this.
# ---- drift: the population stability index -------------------------------------------------------
def psi(expected, actual, floor=0.0001):
"""PSI = sum over bins of (actual share - expected share) x ln(actual share / expected share).
expected and actual map bin -> count. A share is floored at `floor` so an empty bin does not give ln(0)."""
keys = set(expected) | set(actual)
e_total, a_total = sum(expected.values()), sum(actual.values())
total = 0.0
for k in keys:
e = max(expected.get(k, 0) / e_total, floor)
a = max(actual.get(k, 0) / a_total, floor)
total += (a - e) * math.log(a / e)
return total
def score_bands(card, train, bands=5):
"""Band edges from the training scores only (as in 2.2's step 5); returns a function row -> band 1..5."""
ordered = sorted(s.score(card, r) for r in train)
cuts = [ordered[len(ordered) * k // bands] for k in range(1, bands)]
return lambda r: 1 + sum(s.score(card, r) >= c for c in cuts)
def show_psi(month="2026-06"):
rows, train, test, card = the_card()
band = score_bands(card, train)
exp = collections.Counter(band(r) for r in train)
act = collections.Counter(band(r) for r in by_month(rows)[month])
e_n, a_n = sum(exp.values()), sum(act.values())
print(f"score bands, train ({e_n} loans) against {month} ({a_n} loans)")
print(f"{'band':<6}{'expected':>9}{'actual':>8}{'a - e':>8}{'ln(a/e)':>9}{'part':>8}")
for k in sorted(exp):
e, a = exp[k] / e_n, act[k] / a_n
print(f"{k:<6}{e:>9.3f}{a:>8.3f}{a - e:>8.3f}{math.log(a / e):>9.3f}{(a - e) * math.log(a / e):>8.4f}")
print(f"PSI {psi(exp, act):.4f}\n")
features = ["bureau_score", "delinquent_12m", "kyc_tier", "wallet_in_60d"]
def cell(c):
return f"{c:.3f}{'*' if c >= 0.25 else '+' if c >= 0.1 else ' '}"
print(f"{'month':<9}{'loans':>6}{'score':>9}" + "".join(f"{f:>16}" for f in features))
for m, part in by_month(rows).items():
cells = [psi(collections.Counter(band(r) for r in train), collections.Counter(band(r) for r in part))]
for f in features:
fn = s.FEATURES[f][0]
cells.append(psi(collections.Counter(str(fn(r)) for r in train),
collections.Counter(str(fn(r)) for r in part)))
print(f"{m:<9}{len(part):>6}{cell(cells[0]):>9}" + "".join(f"{cell(c):>16}" for c in cells[1:]))
print("+ = 0.10 or more, * = 0.25 or more (rules of thumb)")
low = "1: under ₦25,000"
share = lambda part: sum(s.FEATURES["wallet_in_60d"][0](r) == low for r in part) / len(part)
print(f"share of loans with under ₦25,000 of wallet inflow in 60 days: train {share(train):.1%}, "
f"{month} {share(by_month(rows)[month]):.1%}")
early = sum(r["applied_at"] < "2026-03-02" for r in train)
print(f"{early} of the {len(train)} training loans were made before 2 March, when the 60-day wallet window "
f"reaches back before the data starts on 1 January")python3 -c "import modelrisk as m; m.show_psi()"score bands, train (543 loans) against 2026-06 (1460 loans)
band expected actual a - e ln(a/e) part
1 0.186 0.123 -0.063 -0.411 0.0258
2 0.195 0.190 -0.005 -0.025 0.0001
3 0.203 0.236 0.033 0.151 0.0050
4 0.214 0.186 -0.028 -0.141 0.0039
5 0.203 0.265 0.062 0.269 0.0168
PSI 0.0516
month loans score bureau_score delinquent_12m kyc_tier wallet_in_60d
2026-01 35 0.059 0.092 0.117+ 0.025 0.605*
2026-02 138 0.016 0.002 0.002 0.008 0.026
2026-03 370 0.003 0.001 0.001 0.002 0.020
2026-04 633 0.039 0.009 0.000 0.004 0.052
2026-05 1009 0.033 0.002 0.001 0.010 0.132+
2026-06 1460 0.052 0.009 0.011 0.037 0.334*
+ = 0.10 or more, * = 0.25 or more (rules of thumb)
share of loans with under ₦25,000 of wallet inflow in 60 days: train 25.0%, 2026-06 6.0%
184 of the 543 training loans were made before 2 March, when the 60-day wallet window reaches back before the data starts on 1 JanuaryThe score PSI stays under 0.06 in every month. Wallet inflow reaches 0.132 in May and 0.334 in June, and January’s 0.605 comes mostly from the window (wallet data start on 1 January) and from having only 35 loans. The two parts of the last lines (25.0% against 6.0%, and 184 of 543) are what to take to the data owner.
4. Read a stand-in for the override log. Add this.
# ---- overrides: approving against the model, or declining against it -----------------------------
def show_overrides(cut=None):
"""Treat the card's bottom-band edge as the model's cut-off. Loans the lender approved below it are
what a high-side override log would hold if the card made the decisions."""
rows, train, test, card = the_card()
band = score_bands(card, train)
note = "" if cut else " (the lower edge of train band 2)"
cut = cut or min(s.score(card, r) for r in train if band(r) == 2) # lowest score in band 2 = the edge
print(f"card cut-off: {cut} points{note}")
print(f"{'month':<9}{'loans':>6}{'below':>7}{'share':>7}{'bad rate below':>16}{'bad rate at or above':>22}")
for m, part in by_month(rows).items():
if m < s.TRAIN_BEFORE[:7]:
continue
below = [r for r in part if s.score(card, r) < cut]
above = [r for r in part if s.score(card, r) >= cut]
print(f"{m:<9}{len(part):>6}{len(below):>7}{len(below) / len(part):>7.1%}"
f"{sum(r['bad'] for r in below) / len(below):>16.1%}{sum(r['bad'] for r in above) / len(above):>22.1%}")
below = [r for r in test if s.score(card, r) < cut]
exp = sum(pd_bad(card, below))
print(f"test months, below the cut-off: {len(below)} loans, {sum(r['bad'] for r in below)} bad, "
f"the card expected {exp:.1f}")
by_product = collections.Counter(r["product"] for r in below)
print("below the cut-off, by product:", dict(sorted(by_product.items())))python3 -c "import modelrisk as m; m.show_overrides()"card cut-off: 557 points (the lower edge of train band 2)
month loans below share bad rate below bad rate at or above
2026-04 633 90 14.2% 20.0% 7.7%
2026-05 1009 135 13.4% 12.6% 9.0%
2026-06 1460 180 12.3% 20.6% 6.6%
test months, below the cut-off: 405 loans, 72 bad, the card expected 80.7
below the cut-off, by product: {'BNPL': 70, 'SAL': 335}The lender approved 405 loans below the card’s cut-off in the test months, 12% to 14% of the loans each month. They went bad at 12.6% to 20.6%, against 6.6% to 9.0% above the cut-off, and the card’s expected 80.7 against 72 observed says it ranked these loans about right.
5. Run the reject-inference experiment. Add this. It trains the card on January to May, hides the outcomes of loans the pretend rule would have declined, and tests on June.
# ---- reject inference, tested on a rule we can see through ---------------------------------------
PRETEND_CUT = 700 # the pretend old rule: approve only bureau hits scoring this or more
REFIT_BEFORE = "2026-06-01" # this experiment trains on January to May and tests on June
def accepted(r, cut=None):
return bool(r["hit"]) and r["score"] >= (cut or PRETEND_CUT)
def _woe_weighted(items, name):
"""Like 2.2's woe_table, but every item counts `weight` loans, split between good and bad by p_bad."""
bin_of = s.FEATURES[name][0]
count = collections.defaultdict(lambda: [0.0, 0.0]) # bin -> [good, bad]
for r, p_bad, w in items:
b = bin_of(r)
if b is not None:
count[b][0] += w * (1 - p_bad)
count[b][1] += w * p_bad
k = len(count)
goods = sum(c[0] for c in count.values()) + 0.5 * k
bads = sum(c[1] for c in count.values()) + 0.5 * k
return {b: math.log(((g + 0.5) / goods) / ((d + 0.5) / bads)) for b, (g, d) in count.items()}
def _fit_weighted(x, y, w, steps=30, ridge=1e-6):
"""Newton's method as in 2.2's fit_logistic, with a weight on every row."""
n = len(x[0])
b = [0.0] * n
for _ in range(steps):
grad = [0.0] * n
hess = [[0.0] * n for _ in range(n)]
for xi, yi, wi in zip(x, y, w):
p = 1 / (1 + math.exp(-sum(bj * v for bj, v in zip(b, xi))))
for i in range(n):
grad[i] += wi * (yi - p) * xi[i]
for j in range(n):
hess[i][j] += wi * p * (1 - p) * xi[i] * xi[j]
for i in range(n):
hess[i][i] += ridge
step = s.solve(hess, grad)
b = [bj + sj for bj, sj in zip(b, step)]
if max(abs(t) for t in step) < 1e-9:
break
return b
def fit_weighted(items):
"""items: (row, p_bad, weight). A loan with a known outcome has p_bad 0 or 1; an inferred one has a fraction."""
woe = {n: _woe_weighted(items, n) for n in NAMES}
rows = [it[0] for it in items]
x = s.design(rows, NAMES, woe)
# each item becomes a bad row of weight w x p and a good row of weight w x (1 - p)
xs, ys, ws = [], [], []
for xi, (_, p, w) in zip(x, items):
for label, weight in ((1, w * p), (0, w * (1 - p))):
if weight > 0:
xs.append(xi)
ys.append(label)
ws.append(weight)
b = _fit_weighted(xs, ys, ws)
return dict(names=NAMES, woe=woe, intercept=b[0], coef=dict(zip(NAMES, b[1:])))
def show_reject_inference():
rows = s.load_sample()
train = [r for r in rows if r["applied_at"] < REFIT_BEFORE]
test = [r for r in rows if r["applied_at"] >= REFIT_BEFORE]
seen = [r for r in train if accepted(r)]
hidden = [r for r in train if not accepted(r)]
print(f"train, January to May: {len(train)} loans, {sum(r['bad'] for r in train)} bad. "
f"test, June: {len(test)} loans, {sum(r['bad'] for r in test)} bad")
print(f"the pretend rule approves bureau hits scoring {PRETEND_CUT}+: {len(seen)} loans with outcomes "
f"({sum(r['bad'] for r in seen)} bad, {sum(r['bad'] for r in seen) / len(seen):.1%}); "
f"{len(hidden)} loans have their outcome hidden from the model "
f"(their real outcomes: {sum(r['bad'] for r in hidden)} bad, {sum(r['bad'] for r in hidden) / len(hidden):.1%})")
def auc_on(card, part):
return s.auc(s.log_odds_bad(card, part), [r["bad"] for r in part])
june_rejects = [r for r in test if not accepted(r)]
results = []
known = [(r, r["bad"], 1.0) for r in seen]
card = fit_weighted(known)
results.append(("accepts only", card))
guess = pd_bad(card, hidden)
print(f"the accepts-only card gives the hidden loans an average chance of bad of {sum(guess) / len(guess):.1%}")
for k in (1, 2, 3):
inferred = [(r, min(0.95, q * k), 1.0) for r, q in zip(hidden, guess)]
results.append((f"inferred, hidden loans {k}x as risky", fit_weighted(known + inferred)))
results.append(("every hidden loan treated as bad", fit_weighted(known + [(r, 1.0, 1.0) for r in hidden])))
results.append(("ceiling: all outcomes known", fit_weighted([(r, r["bad"], 1.0) for r in train])))
print(f"\n{'training set for the card':<38}{'AUC, all June':>14}{'AUC, June rejects':>19}")
for label, c in results:
print(f"{label:<38}{auc_on(c, test):>14.3f}{auc_on(c, june_rejects):>19.3f}")python3 -c "import modelrisk as m; m.show_reject_inference()"train, January to May: 2185 loans, 209 bad. test, June: 1460 loans, 122 bad
the pretend rule approves bureau hits scoring 700+: 869 loans with outcomes (41 bad, 4.7%); 1316 loans have their outcome hidden from the model (their real outcomes: 168 bad, 12.8%)
the accepts-only card gives the hidden loans an average chance of bad of 5.7%
training set for the card AUC, all June AUC, June rejects
accepts only 0.616 0.565
inferred, hidden loans 1x as risky 0.607 0.551
inferred, hidden loans 2x as risky 0.680 0.574
inferred, hidden loans 3x as risky 0.685 0.573
every hidden loan treated as bad 0.682 0.550
ceiling: all outcomes known 0.723 0.634Accepts only gives 0.616 on June; the ceiling is 0.723. Inference at 1x risk (0.607) is worse than none, at 2x it is 0.680 and at 3x 0.685. Within the pretend-declined loans the best method reaches 0.574 against the ceiling’s 0.634.
6. Keep the inventory and run the lot. Add the last block. The inventory is a list of dictionaries. show_inventory flags a model that was never validated, and one that is overdue, from the tier’s review interval. main runs every step in order.
# ---- the model inventory: what you have, who owns it, when it was last validated ------------------
REVIEW_MONTHS = {1: 12, 2: 18, 3: 24} # ILLUSTRATIVE: how often each materiality tier is revalidated
INVENTORY = [
# id, name, owner, use, tier (1 = most material), last validated (None = never), what it cannot see
dict(id="M01", name="bureau cut-off rule (loans.py)", owner="credit policy", use="decides every loan",
tier=1, validated=None, limits="one rule per product; no outcome test"),
dict(id="M02", name="application scorecard (chapter 2.2)", owner="credit risk", use="shadow, decides nothing",
tier=1, validated="2026-10-28", limits="approved loans only; blind to product and employer"),
dict(id="M03", name="risk-based price table (chapter 2.4)", owner="pricing", use="proposes a rate",
tier=2, validated=None, limits="PD from the scorecard; LGD assumed"),
dict(id="M04", name="expected-loss estimates (chapter 3.2)", owner="finance", use="management report",
tier=2, validated=None, limits="no recoveries in this book"),
]
def add_months(day, months):
y, m = divmod(day.year * 12 + day.month - 1 + months, 12)
return dt.date(y, m + 1, min(day.day, 28))
def show_inventory(as_of=None):
as_of = as_of or s.CUT_OFF
print(f"model inventory as of {as_of}")
for m in INVENTORY:
if m["validated"] is None:
status = "NEVER VALIDATED"
if m["use"].startswith("decides"):
status += ": in live use, escalate"
else:
due = add_months(dt.date.fromisoformat(m["validated"]), REVIEW_MONTHS[m["tier"]])
status = f"validated {m['validated']}, next due {due}" + (", OVERDUE" if due < as_of else "")
print(f"{m['id']} tier {m['tier']} {m['name']:<40}{status}")
print(f" owner {m['owner']}; use: {m['use']}; cannot see: {m['limits']}")
def main():
for step in (show_backtest, show_segments, show_psi, show_overrides, show_reject_inference, show_inventory):
print(f"\n== {step.__name__} ==")
step()
if __name__ == "__main__":
main()python3 -c "import modelrisk as m; m.show_inventory()"model inventory as of 2026-10-28
M01 tier 1 bureau cut-off rule (loans.py) NEVER VALIDATED: in live use, escalate
owner credit policy; use: decides every loan; cannot see: one rule per product; no outcome test
M02 tier 1 application scorecard (chapter 2.2) validated 2026-10-28, next due 2027-10-28
owner credit risk; use: shadow, decides nothing; cannot see: approved loans only; blind to product and employer
M03 tier 2 risk-based price table (chapter 2.4) NEVER VALIDATED
owner pricing; use: proposes a rate; cannot see: PD from the scorecard; LGD assumed
M04 tier 2 expected-loss estimates (chapter 3.2) NEVER VALIDATED
owner finance; use: management report; cannot see: no recoveries in this bookM02 carries 2026-10-28 because you have now validated it. Next due is 12 months later, because tier 1 reviews every 12 months in this illustrative table. M01, the rule that decides every loan, has never been validated and is flagged. Run python3 modelrisk.py to print every step in order; it takes about three seconds.
Change the pretend rule. Edit PRETEND_CUT = 700 to 740 and run python3 -c "import modelrisk as m; m.show_reject_inference()", then do the same with 640. At 740 the last six lines are:
training set for the card AUC, all June AUC, June rejects
accepts only 0.647 0.623
inferred, hidden loans 1x as risky 0.633 0.607
inferred, hidden loans 2x as risky 0.695 0.630
inferred, hidden loans 3x as risky 0.701 0.635
every hidden loan treated as bad 0.671 0.571
ceiling: all outcomes known 0.723 0.659At 640, accepts only reaches 0.684 and inference at 2x 0.714 (ceiling 0.723). The accepts-only card is better at 740 (0.647) than at 700 (0.616), and “every hidden loan bad” falls from 0.682 to 0.671. The same method looks useful or useless depending on where a rule that you can only see through has its edge. Then move the override cut-off: run python3 -c "import modelrisk as m; m.show_overrides(575)". At 575 points, 1,045 test loans (31% to 38% of each month’s loans) sit below the cut-off, and 152 of them went bad against the 170.2 the card expected: a stricter cut-off makes the override list a third of the book, which no one could review. In the real world you have one rule and one set of declined, and the true answer is never printed.
Template
# Model monitoring report: <model id and name>, <period>
Prepared by <model owner or analyst>. Findings countersigned by <independent validator>. Actions approved by <committee>.
## 1. Status
<green / amber / red>, and the one sentence that explains it. Thresholds breached: <count>.
## 2. Thresholds (agreed before this run)
| Measure | Amber | Red | Convention or our own |
## 3. Stability: score PSI
Bin edges fixed at <build date>. PSI by month: <figures>. Breach? <yes/no>
## 4. Discrimination and calibration over time
| Month | Loans | Bad | Expected | z | AUC | 90% interval |
Pooled: <AUC, observed, expected>. Benchmark: <figure>. Segments beyond the z threshold: <list with figures>.
## 5. Drift in the inputs
| Feature | PSI by month | Breach? | Cause known? (ask the data owner, do not guess) |
## 6. Fairness checks
Done: <what, with figures>. Not done: <what, and when it will be>.
## 7. Actions
| Finding | Action | Owner | Due |
## 8. How this could be wrong
<one way, and what would show it>
## 9. Decision and sign-off
Decision needed: <what, from whom, by when>. Out of scope: <what this report does not cover>.
Prepared <name, date>. Countersigned <name, date>. Approved <name, date>. WORKED EXAMPLE
Anayochukwu, who owns the card at Owoleaf, writes this each month. In this example Anuli’s validation team at Northmere, which reviews the card for its funder, countersigns the findings, and Owoleaf’s credit committee approves the actions. This is the report for April to June applications, dated 21 November 2026 (an assumption), from the lab’s figures.
Status. Amber: the ranking and the total hold, but there are eight breaches (seven segments and one feature). Owoleaf set these thresholds before the run: PSI 0.10 amber and 0.25 red (conventions, not regulation); a z-score beyond ±2 (the chapter’s luck band, also a convention); an alert if a month’s whole AUC interval sits below 0.648, the bureau score alone (Owoleaf’s own).
Stability. Score PSI is 0.039, 0.033 and 0.052 for April, May and June. No breach.
Discrimination. AUC is 0.689 (0.623 to 0.741), 0.624 (0.583 to 0.669) and 0.713 (0.677 to 0.752); pooled 0.678. No interval is wholly below 0.648, so May’s fall is not shown to be decay. Calibration in total: 278 bad against 270.8 expected, every monthly z within ±1. Seven segments breach: salary advances 237 against 175.2 (z 5.0), SME, PL and BNPL, bureau hits and thin files, and employer EMP07, 115 against 16.0 (z 26.7).
Drift. wallet_in_60d PSI is 0.052, 0.132 and 0.334: amber in May and red in June, the eighth breach. The lowest wallet bin held 25.0% of training loans and 6.0% in June; 184 of 543 training loans pre-date 2 March. Cause unknown, so the data owner is asked.
Fairness. Done: KYC tier calibration, z 0.7, 0.6 and −0.4. Not done: any test by state, which waits for the fairness chapter.
Actions. Salary-advance card, Anayochukwu, 30 November; EMP07 limit, credit policy, 30 November; wallet rebuilt with a full window, data owner, 15 December; monthly PSI, Anayochukwu, standing.
Could be wrong. Applications since June are not yet labelled as good or bad, so a fall in quality since then would show first in PSI, not in the AUC.
Decision. Shadow use for a quarter. Out of scope: the cut-off rule M01.
Now you
You are a credit analyst at an unnamed 50-person SME lender in Aba. It runs the chapter 2.2 card in shadow, beside its own rule, and has never written a monitoring report. Write the report for May applications only. Use show_backtest for May’s loans, bad loans, z and AUC with its interval. Use show_psi("2026-05") for the score and the four features. The lab prints segments for the three test months together, so use that table and say so. Set your thresholds first, and write down which are conventions. A colleague proposes moving the score’s bin edges to the May population so the wallet alarm goes quiet; say why you would not, in section 5. Your head of credit risk signs the report, and the risk committee decides whether the card stays in shadow, is rebuilt or is retired.
Self-check
Anuli has finished the review of the card. Pooled AUC is 0.678 against 0.648 for the bureau score, and the pooled count of bad loans matches (278 against 271). By product, salary advances are 62 bad loans above the card's expectation and the other products 55 below. One employer has 115 bad loans against 16 expected. The wallet feature has a PSI of 0.334 in June. Anayochukwu asks Owoleaf's credit committee to approve the card to decide all salary-advance applications next month.
- DOC SR 26-2: Revised Guidance on Model Risk Management Board of Governors of the Federal Reserve System, 2026
The US supervisory letter, dated 17 April 2026, that search results say replaces SR 11-7. Read its definition of a model and its sections on validation and ongoing monitoring; skip anything that depends on US bank size. This chapter could not fetch the text and relies on search summaries of it.
- DOC CBN: Guidelines on the Management of Interest Rate Risk in the Banking Book Central Bank of Nigeria, 2019
The CBN document in which search results found model governance expectations: a model policy, validation roles and back-testing. Read the model risk part for the shape of what a Nigerian bank is asked for; the rest is about interest-rate risk and is not needed here.
- PAPER Reject Inference, Augmentation and Sample Selection John Banasik and Jonathan Crook, 2007
An empirical test of augmentation, the family of methods used in step 5, and of a sample selection model. Search summaries say it finds negligible benefit from either; read the introduction and conclusions for when reject inference might help, and leave the statistics of the selection model for later. Read: the introduction and the conclusions.
- PAPER Statistical Classification Methods in Consumer Credit Scoring: a Review David Hand and William Henley, 1997
A widely cited review of the statistical methods used in credit scoring and the problems that are particular to it. Read for the framing of the field; the sections on classification methods can be skipped. Read: the parts on problems particular to credit scoring.
- PAPER A critical review of existing and new population stability testing procedures in credit risk scoring Johan du Pisanie, Christian Budde, James Allison and Visagie, 2023
A review of how the PSI is used in credit scoring. Search summaries say it reports the usual bands from Lewis and argues for statistical critical values in place of the rule of thumb. Read the opening for the caveat; the new tests can wait. Read: the introduction on the population stability index.
- BOOK Intelligent Credit Scoring, second edition Naeem Siddiqi, 2017
A practitioner text on building and running scorecards; its contents page (the link) lists validation, scorecard and portfolio monitoring reports and reacting to changes. Read the monitoring chapter first. Read: the validation sections and the post-implementation chapter on monitoring reports.
All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.