Lesson 8.3: Model monitoring, metrics, thresholds and actions
Build a credit model monitoring routine: metric families, thresholds that allow for noise, control charts, leading indicators and a diagnosis grid.
By the end of this lesson you will be able to design a monitoring pack for a credit model, choose metrics from each of its main families, set red-amber-green thresholds that allow for the noise in each metric, draw a control chart for a default rate, use leading indicators when outcomes are slow to arrive, add checks on data quality and on manual overrides, read a month of monitoring results and diagnose what is changing, and decide what to do about it. You should have read Lessons 7.5, 8.1 and 8.2, which covered calibration, validation and population stability. The arithmetic is ratios, percentages and standard errors, and the worked results come from the six-month monitoring scenario built on the synthetic data of Modules 6 to 8.
Validation (Lesson 8.1) is a deep review done now and then. Monitoring is the lighter, regular check that runs between validations, monthly or quarterly, to catch the model going wrong while there is still time to act. A model can be sound on the day it is approved and unsound a year later, because the population, the economy, the lender's own policy or the data feeds have changed. Monitoring is how a lender finds out before the losses do.
What a monitoring pack contains
A good pack is short, regular and built from a fixed set of measures that cover different ways a model can fail. Seven families of metric are common.
Family · What it asks · Example metrics · Typical frequencyPopulation stability · Are applicants the same kind as in development? · PSI of the score, CSI of each characteristic · Monthly
Discrimination · Does the score still rank good and bad correctly? · AUC or Gini, KS, bad rate by score band · Quarterly (needs outcomes)
Calibration · Do predicted PDs match observed defaults? · Observed ÷ expected, binomial z-score, traffic lights by grade · Quarterly
Business outcomes · What is the model doing to volumes and quality? · Approval rate, bad rate among approved, average score · Monthly
Leading indicators · What do early signals say before defaults arrive? · First-payment default, delinquency at 3 and 6 months, vintage curves · Monthly
Data quality · Are the inputs arriving correctly? · Missing rates, out-of-range values, bin shares · Monthly or daily
Use of the model · Is the score being followed? · Override rate, performance of overrides · Monthly
Each family catches something the others miss. PSI warns before outcomes exist. Calibration catches the economy changing. Discrimination catches a model losing its edge. Data checks catch a broken feed. Override checks catch staff working around the model.
A six-month scenario
The scenario of Lesson 8.2 supplies the data. The scorecard scores 3,000 applicants a month. From month 2 onwards the population drifts towards higher utilisation and more credit enquiries. Here is what a monthly report would show.
Month · PSI · Approval rate (score of 570 or more) · Overall bad rate · Average predicted PD · Observed ÷ predicted · AUC1 · 0.002 · 56.6% · 10.90% · 9.85% · 1.11 · 0.669
2 · 0.025 · 52.0% · 11.30% · 10.82% · 1.04 · 0.689
3 · 0.091 · 46.2% · 11.57% · 11.81% · 0.98 · 0.685
4 · 0.195 · 38.9% · 12.87% · 13.03% · 0.99 · 0.706
5 · 0.327 · 33.9% · 15.07% · 13.98% · 1.08 · 0.692
6 · 0.448 · 30.2% · 14.97% · 14.52% · 1.03 · 0.698
A table of numbers is hard to read at a glance. Two charts bring out the story. First, the bad rate against the model's own prediction.
Second, what the drift is doing to the business.
Setting thresholds that respect noise
Each metric needs a threshold at which it turns amber and one at which it turns red. A common mistake is to set them by feel, which produces either constant false alarms or silence. The thresholds must account for the noise in the metric, which depends on sample size.
PSI. Fixed rules of thumb work if the cohorts are large (Lesson 8.2): green below 0.10, amber 0.10 to 0.25, red above 0.25.
Calibration ratio. The ratio of observed to expected defaults is noisy because the number of defaults is small. For a month with about 330 defaults, the standard error of the ratio is roughly 1 ÷ √330 = 5.5 per cent. A ratio of 1.11 is two standard errors above 1.0, which is unusual but not alarming, and it would be sensible to call it green. A threshold of 1.00 plus or minus 0.05 would flag nearly every month. A workable rule for monthly data of this size is green within 0.85 to 1.15, amber from 1.15 to 1.30 (or 0.70 to 0.85) and red beyond. With quarterly data and three times as many defaults the bands can be tighter, about plus or minus 0.10.
Discrimination. A monthly AUC from 3,000 applicants with about 330 bad loans has a standard error near 0.017, so values wander by 0.02 or more from month to month: in the table above, the AUC goes 0.669, 0.689, 0.685, 0.706, 0.692, 0.698. A threshold that reacted to any one month would be noise. Use a three-month rolling AUC and flag amber when it falls more than 0.03 below the development holdout value (0.692 here), red when it falls more than 0.06.
Approval rate. This is a business measure with its own tolerance: for example amber if it falls more than 10 per cent in relative terms from the reference month and red if more than 25 per cent.
Predict first: apply these thresholds to the six months above. Which metrics are green, amber or red in month 4? Write down your answer for the PSI, the calibration ratio, the AUC and the approval rate before reading on.
In month 4: PSI is 0.195, amber. The calibration ratio is 0.99, green. The AUC is 0.706, above the development value, green. The approval rate is 38.9 per cent, down 31 per cent from month 1 (56.6 per cent), red by the 25 per cent rule. The result is a mixed picture, with population stability and volume flagged and the model's accuracy sound. The next section shows how to read such a picture.
Control charts: a statistical way to set limits
A control chart draws limits that a stable process stays within almost always, so that a point outside them is a signal. For a default rate, the chart is a p-chart. If the true bad rate is p and each month has n applicants, the observed rate has a standard deviation of √(p × (1 − p) ÷ n), and a stable process stays within three standard deviations of p about 99.7 per cent of the time.
For a monitoring chart on calibration, the centre of the chart is the model's own expected bad rate for the month, and the question is whether the observed rate lies within the limits around it. Here is the table of z-scores, each month's observed rate minus the expected, divided by the standard deviation.
Month · Expected bad rate · Observed bad rate · Standard deviation · z-score1 · 9.85% · 10.90% · 0.54% · +1.93
2 · 10.82% · 11.30% · 0.57% · +0.85
3 · 11.81% · 11.57% · 0.59% · −0.41
4 · 13.03% · 12.87% · 0.62% · −0.26
5 · 13.98% · 15.07% · 0.63% · +1.72
6 · 14.52% · 14.97% · 0.64% · +0.70
For month 1, for instance, the standard deviation is √(0.0985 × 0.9015 ÷ 3,000) = 0.54 per cent, and the z-score is (10.90 − 9.85) ÷ 0.54 = 1.93. All six z-scores lie within ±2, and none comes near ±3. The model is calibrated in each month, even as the default rate climbs by half. If you had instead drawn a control chart around the fixed development bad rate of 10.4 per cent, with limits at 10.4 ± 3 × 0.56 per cent = 8.7 to 12.1 per cent, months 4 to 6 would all have been outside the limits, and the chart would have raised an alarm, correctly saying that the bad rate has changed but not that the model has failed. Choosing what to centre the chart on is choosing what question it answers.
Control charts also support run rules, such as eight consecutive months on one side of the centre, which signal a persistent bias that no single month would reveal.
Leading indicators
A one-year probability of default cannot be tested until a year has passed. A monitoring pack therefore needs measures that react sooner.
First-payment default and early delinquency. The share of new loans that miss the first instalment, or reach 30 days past due within the first three months, shows the quality of new lending at once. A rise here is the earliest sign of weakness in the latest approvals.
Vintage curves. The cumulative default rate by months on book of each month's or quarter's lending (Lesson 4.3), compared with older vintages at the same age. The MOB 6 reading takes six months, not twelve.
Roll rates. The monthly movement between delinquency buckets (Lesson 3.3) shows stress building in the existing book.
Score migration. How the scores of existing borrowers move over time, from behavioural models, shows deteriorating customers.
External signals. Bureau trends, macroeconomic data and the experience of other lenders.
For the scenario, leading indicators would add a view that the PSI alone cannot give: whether the new, riskier applicants are defaulting early at the rates the model predicts. If their early delinquency matches the model's prediction, the model is handling the shift. If it is above, calibration for the new group is failing, and the signal arrives months before the one-year default count does.
Data quality checks
Many model failures are data failures. The monitoring pack should include checks that run on every batch of applications.
Missing values. The share of each field that is missing. A jump signals a broken feed or a form change.
Out-of-range values. Utilisation above 100 per cent or negative income.
Bin shares. The CSI of Lesson 8.2 on the missing bin, to catch a field that has emptied.
Freshness. Are the bureau data from the expected date?
Reconciliation. Counts of scored applications against counts received.
An example. The field "months at current employer" is missing for 8 per cent of applicants in development. In month 7, it is missing for 19 per cent. In the scorecard, a missing value has its own bin with its own points (Lesson 5.1). The CSI for that characteristic is, for the missing bin alone, (0.19 − 0.08) × ln(0.19 ÷ 0.08) = 0.11 × 0.865 = 0.095, and the rest of the bins also move, so the total CSI is amber. The cause is a mobile app release that no longer made the field compulsory. The model is not wrong, but it is scoring applicants on less information, and the fix is in the application form. Without a data check, it would show up months later as an unexplained loss of accuracy.
Overrides and use of the model
A score is only useful if people follow it. Lenders let credit officers override the model in some cases: approving an applicant below the cut-off or declining one above it, for reasons the model cannot see. Overrides are legitimate in moderation and need monitoring.
Override rate. The share of decisions that go against the score. A rate of 2 to 5 per cent might be normal and 15 per cent a sign that the model is not trusted or that policy is unclear.
Direction. More low-side overrides (approving below the cut-off) or high-side overrides (declining above it)?
Performance of overrides. The default rate of loans approved by override against what the model predicted for them. Overridden approvals that perform as the model predicts show that the overrides add nothing, and those that perform better show that the officers know something the model does not.
An illustration. In a quarter, 6,000 applications are scored and 240 decisions (4 per cent) are overridden. Of those, 150 are approvals of applicants below the cut-off, whose model PDs average 12 per cent, so 18 defaults would be expected. If 17 occur, the overrides performed as the model predicted, and the officers' judgement added nothing in terms of risk, while the lender took on riskier loans than its policy intended. If only 8 occur, the officers saw something real, and the lender should ask what it was and whether it can enter the model. If 29 occur, the overrides were costly. Each of these has a different action.
Diagnosing a pattern of signals
Single metrics are rarely the answer. The pattern across metrics points to a cause. Here is a grid for the most common cases.
PSI · Calibration · Discrimination · Business outcome · Likely cause · Typical actionRed · Green · Green · Approval rate falling · Applicant mix has shifted (as in the scenario) · Find the source with CSIs. Review marketing, cut-off and pricing. Watch early outcomes. No rebuild
Green · Red · Green · Losses above plan · Level of risk has shifted for everyone (economy) · Recalibrate (Lesson 7.5). Review cut-off economics
Green · Green · Red · Bad rate among approved rising · Model has lost ranking power · Investigate. Rebuild or add variables
Red · Red · Red · Everything moving · New segment or structural change · Rebuild. Restrict use meanwhile
Green · Green · Green · Data fields changed · Possible silent data change · Check the data quality metrics
Amber · Green · Green · Override rate high · People are working around the model · Review policy, train, investigate overrides
For the six-month scenario, the first row applies: PSI red, calibration green, AUC green and the approval rate falling. The conclusion, "the applicant mix has changed, the model is coping, and the main effect is commercial" is more useful than "the PSI is red". The lender's action list would be: identify the channel or campaign that is bringing in more stretched borrowers (using the utilisation and enquiries CSIs), decide whether to accept the lower volume, loosen the cut-off, raise prices for the riskier group or change marketing, and watch the early delinquency of the new cohort.
Escalation and governance
Monitoring only works if results lead to action. A good routine fixes the following in advance.
1. Owner. Each metric has a named person responsible.
2. Thresholds. Written down, with the reasoning, approved by the model owner and the risk function.
3. Escalation. An amber result is noted and reviewed at the next monthly meeting. Two ambers in a row, or one red, go to the model risk committee within a stated time (such as five working days).
4. Required responses. For each red, the owner must supply a diagnosis, an action and a date, and the result is recorded.
5. Records. The monitoring pack, the diagnosis and the decision are kept, so that validation and audit can see what happened.
6. Review of the pack itself. Once a year, check whether the metrics and thresholds still make sense, and whether any alert was missed or any alarm was false.
The point of fixing these in advance is that the thresholds are not tuned after the data arrive, when there is pressure to explain a bad number away.
A monitoring report in Python
The calculations of the monthly pack are short and can be automated.
python
import numpy as np
import pandas as pd
from sklearn.metrics import rocaucscore
def psi(e, a, eps=1e-4):
e, a = np.clip(e, eps, None), np.clip(a, eps, None)
return float(((a - e) np.log(a / e)).sum())
def monthlyreport(monthdf, devshares, edges, devauc, refapproval, cutoff=570):
out = {}
bands = pd.cut(monthdf["score"], edges, right=False).valuecounts(normalize=True, sort=False)
out["psi"] = round(psi(devshares.values, bands.values), 3)
n = len(monthdf)
exp = monthdf["pd"].mean()
obs = monthdf["bad"].mean()
sd = np.sqrt(exp (1 - exp) / n)
out["obsoverexp"] = round(obs / exp, 2)
out["z"] = round((obs - exp) / sd, 2)
out["approval%"] = round((monthdf["score"] >= cutoff).mean() 100, 1)
out["approvalchange%"] = round((out["approval%"] - refapproval) / refapproval 100, 1)
out["auc"] = round(rocaucscore(monthdf["bad"], -monthdf["score"]), 3)
def rag(value, amber, red, higherisworse=True):
v = value if higherisworse else -value
return "red" if v > red else "amber" if v > amber else "green"
out["psirag"] = rag(out["psi"], 0.10, 0.25)
out["calibrag"] = "green" if 0.85 <= out["obsoverexp"] <= 1.15 else "amber"
out["aucrag"] = rag(devauc - out["auc"], 0.03, 0.06)
out["approvalrag"] = rag(-out["approvalchange%"], 10, 25)
return out
one row per month; keep the history so that trends and run rules can be drawn
history = pd.DataFrame([monthlyreport(m, devshares, edges, 0.692, 56.6) for m in monthlyframes])
print(history)
Two habits make this robust. Store every month's result in a table, so that trends and run rules can be drawn and so that audit can see the history. And keep the thresholds in one configuration file, under version control, so that a change to a threshold is a visible decision.
A worked example: a quarterly review meeting
At the quarterly meeting the analyst presents the month 6 results of the scenario. The committee wants a decision on three questions.
1. Is the model still valid? Calibration is green: observed bad rate 14.97 per cent against 14.52 predicted, a z-score of 0.70 and an observed-to-predicted ratio of 1.03. The rolling three-month AUC is 0.699 (0.692, 0.698 and 0.706 over months 4 to 6 averaged), within 0.01 of development. The ranking and the levels hold. The model is valid for the population it is now seeing.
2. What has changed? PSI 0.448, red since month 5. CSIs: utilisation 0.664 and enquiries 0.624, with the other three characteristics below 0.01. The share of applicants in the highest-utilisation bin has risen from 20 to 47 per cent. The cause is in who applies, and the likely source is a marketing channel change, which she is investigating with the acquisition team.
3. What should we do? She recommends: (a) keep the model and cut-off for now, since the bad rate among approved is stable at about 6 per cent; (b) accept that the approval rate has fallen from 56.6 to 30.2 per cent and ask commercial teams whether the volume loss is acceptable, using the profit table of Lesson 7.4 to value loosening the cut-off, which would let in more of the riskier group at their true, higher bad rates; (c) split the monitoring pack by channel from next month; (d) review early delinquency of month 4 to 6 approvals at the next meeting; (e) set a trigger for escalation: a PSI above 0.50, a calibration ratio above 1.30 or a rolling AUC below 0.66.
The committee adopts (a) to (d) and sets the triggers. No rebuild was needed, and a report that had shown only a red PSI might have suggested one. The routine kept the response proportionate.
Common mistakes
Setting thresholds without regard to noise. Monthly metrics from a few hundred defaults wander. Use tolerances, rolling windows and control limits.
Watching only the score. Data quality, overrides and leading indicators catch different failures.
Reading a red PSI as a failed model. Check calibration and discrimination before concluding anything.
Centring a control chart on the wrong value. Centre it on the question being asked: the model's expected rate to test calibration, the historical rate to test the portfolio.
Waiting a year for outcomes. Use early delinquency, vintages and roll rates.
Tuning thresholds after seeing the data. Fix them in advance.
No owner and no escalation. An alert nobody owns is ignored.
Not keeping history. Without a record of past reports, trends and audit are impossible.
Key takeaways
A monitoring pack covers seven families: population stability, discrimination, calibration, business outcomes, leading indicators, data quality and use of the model.
Thresholds must reflect noise. For monthly data with about 330 defaults, the observed-to-predicted ratio has a standard error of about 5.5 per cent, and the monthly AUC wanders by 0.02, so use tolerance bands and rolling windows.
In the six-month scenario, PSI turned red in month 5 and the approval rate fell 47 per cent, while calibration (z-scores between −0.4 and +1.9) and AUC stayed healthy.
A control chart centred on the model's expected rate tests calibration, and centred on the historical rate it tests the portfolio. They answer different questions.
Leading indicators such as first-payment default, early delinquency and vintage curves show problems months before one-year defaults.
Data and override checks catch silent failures: a field going missing, or staff working around the score.
A diagnosis grid links the pattern of signals to the action: stable accuracy with a shifted population calls for a business review, not a rebuild.
Check yourself
1. A month has 400 defaults expected and 450 observed. What is the observed-to-predicted ratio and the z-score, if the PD is about 10 per cent on 4,000 loans?
Ratio 450 ÷ 400 = 1.125. The standard deviation of the count is √(4,000 × 0.1 × 0.9) = 19. The z-score is (450 − 400) ÷ 19 = 2.6, which is unusual.
2. Why use a three-month rolling AUC instead of a monthly one?
A monthly AUC from a few hundred bad loans has a standard error near 0.017, so single months wander by 0.02 or more. A rolling window averages out noise.
3. PSI is red, calibration and AUC are green and the approval rate has halved. What is the likely situation and action?
The applicant mix has shifted and the model is handling it. Find the source with CSIs, review the commercial and cut-off decisions and watch early outcomes. A rebuild is not indicated.
4. Why should thresholds be written down before the data arrive?
To prevent them being adjusted to make an unwelcome result look acceptable, and to make the response automatic and accountable.
5. What does a rise in the missing-value rate of a key input suggest?
A data or form change. The model is scoring on less information, so fix the source and check the CSI of that characteristic.
Try this
Design and run a monitoring pack. Set aside fifty to sixty minutes.
1. Take the development sample and the scorecard of Module 6, or invent a score for at least 5,000 loans. Build six monthly cohorts of 2,000 to 3,000 loans in which the applicant mix drifts gradually.
2. For each month compute the PSI, the approval rate at a cut-off, the average predicted PD, the observed bad rate, the observed-to-predicted ratio and the AUC.
3. Write thresholds for each metric, with a note on the noise that justifies them. Assign a green, amber or red status to each metric in each month and draw the table.
4. Compute the z-score of the observed against the expected default rate for each month and draw a control chart with limits at plus and minus 3 standard deviations.
5. Add one data-quality check and one override check, with invented but plausible numbers, and compute the CSI or the override performance.
6. Use the simulator to confirm the status of one month, then diagnose the pattern with the grid of this lesson.
7. Write a five-sentence report for a committee: what changed, whether the model is still valid, the likely cause, your recommendation and the triggers for escalation.
A good result is a six-month table with statuses, a control chart, a diagnosis that links the signals to a cause and a recommendation that is proportionate to what the data show. Lesson 8.4 completes the module with the last two pieces of governance: testing a challenger and documenting the model.
Tags: Credit Risk Analytics Model Monitoring Thresholds Control Charts Early Warning