Lesson 9.2: Finding stress in a portfolio with drill-downs
Spot hidden stress in a loan book: portfolio indicators, the dilution effect, drill-downs by product and region, contribution analysis and noise limits.
By the end of this lesson you will be able to choose leading indicators for a whole loan portfolio, see why a portfolio average can hide a serious problem in one corner, drill down by product, region and other dimensions to find where stress is concentrated, use a contribution analysis to say how much of a change comes from each segment, set limits that allow for the noise in small segments, and explain the result so that the business can act. You should have read Lesson 9.1, which introduced early warning signals for single accounts, and Lessons 3.3 and 4.3, which covered roll rates and vintages. The arithmetic is rates, shares and sums, and the examples come from a synthetic book of 24,000 accounts that has a pocket of stress built into it.
Lesson 9.1 looked at accounts one by one. A risk head also needs to know about the portfolio: is stress building anywhere in the book, how fast and where? The question is harder than it sounds, because a large book is an average of many different groups, and an average can stay calm while one group is in trouble. The skill of this lesson is to look beneath the average without drowning in noise.
Portfolio-level leading indicators
The same logic that applies to an account applies to a portfolio: look at measures that move before losses do. A common set, each of which can be tracked monthly, is:
Indicator · What it shows · Where it was introducedEarly delinquency rate (share of accounts 1 to 30 days past due) · Fresh stress entering the book · Lesson 2.4
Bounce or return rate on instalments · Payment strain before delinquency · Lesson 9.1
Roll rates between delinquency buckets · How fast stress turns into default · Lesson 3.3
Early vintage default rates (months on book 3 and 6) · Quality of recent lending · Lesson 4.3
Utilisation of revolving lines · Dependence on credit · Lesson 9.1
Collection efficiency and promises kept · Strength of repayment · Lesson 2.4
Share of accounts with several signals · Concentration of risky accounts · Lesson 9.1
Restructuring and hardship requests · Borrowers asking for help · Lesson 9.1
Contactability · Share of customers the lender can reach · Lesson 9.1
For the rest of the lesson, take one of them, the bounce rate: the share of live accounts in a month with an instalment returned unpaid. It is simple, timely and moves before defaults.
The scenario: a book of 24,000 accounts
The synthetic book has three products, each in four regions.
Product · Accounts per region · Accounts in total · Normal bounce ratePersonal loan · 2,500 · 10,000 · about 2.0%
Two-wheeler loan · 2,000 · 8,000 · about 2.5%
Small business loan · 1,500 · 6,000 · about 3.0%
That makes 24,000 accounts in twelve segments (a product in a region). Over twelve months, the bounce rate of each segment is recorded. In the first six months everything is normal. From month 7, stress builds in one segment only: the small business loans in the West, where the bounce rate begins to climb each month. The book is built so that the stress is real and everything else is stable. The question is how quickly and how reliably a risk team would find it.
The portfolio average hides it
Start where a monitoring pack usually starts, with the whole book. In quarters of three months, the portfolio bounce rate is:
Quarter · Months · Portfolio bounce rateQ1 · 1 to 3 · 2.47%
Q2 · 4 to 6 · 2.49%
Q3 · 7 to 9 · 2.56%
Q4 · 10 to 12 · 2.72%
The rate rises from 2.49 to 2.72 per cent between the second and fourth quarters, a change of 0.23 percentage points, or 9 per cent in relative terms. A reader might shrug: a small rise, within the normal wobble of monthly data (the quarterly rate in Q1 and Q2 differs by 0.02 and the monthly values range from 2.35 to 2.56 in the first half). On the portfolio view alone, there is little to see.
The same quarters for the stressed segment alone, small business loans in the West, and for the rest of the book (the other eleven segments):
Quarter · Small business, West · The other eleven segmentsQ1 · 3.27% · 2.42%
Q2 · 3.09% · 2.45%
Q3 · 4.93% · 2.40%
Q4 · 7.60% · 2.40%
The segment's bounce rate more than doubles, from 3.09 to 7.60 per cent, and the other eleven segments are flat at about 2.4 per cent. The portfolio figure creeps up by a tenth only, because the stressed segment, 1,500 of 24,000 accounts, makes up just 6.3 per cent of the book. This is the dilution effect: a serious problem in a small part of the portfolio is averaged away by a calm remainder.
The arithmetic is simple. The portfolio rate is the weighted average of the segment rates, each weighted by its share of accounts. For Q4:
> Portfolio rate = 0.063 × 7.60% + 0.937 × 2.40% = 0.479 + 2.249 = 2.73%
For Q2 the figures are 0.063 × 3.09% + 0.937 × 2.45% = 0.195 + 2.296 = 2.49%. So a 4.5-point rise in the segment moves the portfolio by only 0.24 of a point. The portfolio rate would need the segment to be many times larger to show the same effect.
With the defaults the segment's rise of 4.51 points shows up as a rise of only 0.24 in the portfolio, a factor of about 19.
Predict first: a lender's monitoring pack shows only the portfolio bounce rate, and it has risen by a tenth of a point over two quarters. The risk team must decide whether to investigate. What further information would you want before deciding? Think about what the average could be hiding.
The most important thing to ask for is the breakdown: the same rate for each product, region, channel and vintage. If the rise is spread evenly, it is a general drift, perhaps the economy. If it is concentrated in one corner, it is a local problem that needs a local response, and it may be much more serious than the average suggests. The drill-down is how you tell the two apart.
Drill down from the top
A drill-down splits the portfolio, one dimension at a time, to find where a change is concentrated. Start with the dimensions that the lender controls and that plausibly matter: product, region, channel or partner, vintage (when the loan was made), ticket size, score band, branch, employer type, collateral type.
Product
Product · Q2 bounce rate · Q4 bounce rate · ChangePersonal loan · 2.13% · 1.98% · −0.15
Two-wheeler loan · 2.60% · 2.55% · −0.05
Small business loan · 2.94% · 4.18% · +1.24
Only the small business product has risen, by 1.24 points. The other two are flat or slightly down. The problem is in small business lending.
Region
Region · Q2 bounce rate · Q4 bounce rate · ChangeNorth · 2.44% · 2.38% · −0.06
South · 2.20% · 2.29% · +0.09
East · 2.69% · 2.51% · −0.18
West · 2.63% · 3.71% · +1.08
Only the West has risen, by 1.08 points. The problem is in the West.
Each split points to one corner. The cross of the two shows which cell contains the stress.
Product by region, in Q4
· North · South · East · WestPersonal loan · 2.04% · 1.88% · 2.03% · 1.99%
Two-wheeler loan · 2.33% · 2.30% · 2.62% · 2.95%
Small business loan · 3.00% · 2.96% · 3.18% · 7.60%
One cell stands out: small business loans in the West, at 7.60 per cent, more than double any other small business cell and more than double the normal 3 per cent. This kind of table, with the hot cell highlighted, is called a heat map. Eleven of the twelve cells sit between about 1.9 and 3.2 per cent. It took two splits and a cross to find what the portfolio average had hidden.
How much of the change comes from where?
A contribution analysis answers the question "where did the change come from?" in numbers. With a stable mix of accounts, the change in the portfolio rate is the sum, over segments, of each segment's share of accounts times the change in its rate.
For each segment, the contribution to the change between Q2 and Q4 is its share of the book times its change in rate. For small business loans in the West: share 6.25 per cent (1,500 ÷ 24,000) and a change of 7.60 − 3.09 = 4.51 points, so the contribution is 0.0625 × 4.51 = +0.282 points. The portfolio's total change was +0.233 points (2.72 − 2.49, with rounding). The result:
Segment · Contribution to the change in the portfolio rate (points)Small business loans, West · +0.282
Two-wheeler loans, West · +0.019
Small business loans, South · +0.018
All nine other segments together · −0.086
Total · +0.233
The stressed segment explains more than 100 per cent of the rise, because the rest of the book improved a little. A statement like "one segment, 6 per cent of the accounts, accounts for all of the deterioration" is far more useful to a committee than "the bounce rate rose by 0.2 points".
A caution: the decomposition above assumes that the mix of accounts has not changed. If the mix shifts (more small business loans, say), part of the change in the portfolio rate comes from the change in the shares and not from any change in segment rates. A fuller analysis separates a rate effect (the change in each segment's rate, at constant shares) from a mix effect (the change in shares, at constant rates). Lesson 2.4 showed the denominator trap in a similar form.
Telling stress from noise
A real difficulty with drill-downs is that small segments are noisy. With twelve segments and a rate of 3 per cent, some will look high or low by chance. How big a move is a real signal?
The standard deviation of an observed rate p over n account-months is √(p × (1 − p) ÷ n). For a small business segment in a quarter: 1,500 accounts for three months is 4,500 account-months, and with a normal rate of 3.0 per cent:
> Standard deviation = √(0.03 × 0.97 ÷ 4,500) = √0.00000647 = 0.254 percentage points
A 3-standard-deviation limit above the normal rate is 3.0 + 3 × 0.254 = 3.76 per cent. A quarterly rate above that is very unlikely to be chance. Now compare the small business segments:
Segment · Q4 rate · Limit (3 standard deviations) · StatusSmall business, North · 3.00% · 3.76% · Normal
Small business, South · 2.96% · 3.76% · Normal
Small business, East · 3.18% · 3.76% · Normal
Small business, West · 7.60% · 3.76% · Far above
The West is about 18 standard deviations above its normal level ((7.60 − 3.0) ÷ 0.254), whereas the other three are within one. Even Q3, at 4.93 per cent, was already beyond the limit, 7.6 standard deviations above. The drill-down would therefore have raised the alarm one quarter before the Q4 number looked dramatic.
For noisier segments, with fewer accounts, the limits are wider. For a segment of 300 accounts over three months (900 account-months) at 3 per cent, the standard deviation is √(0.03 × 0.97 ÷ 900) = 0.57 points and the 3-standard-deviation limit is 4.7 per cent. A rise from 3.0 to 4.5 per cent would not be significant. The lesson: the smaller the segment, the larger the move that is needed before you can believe it, and the more you should use longer windows (such as a rolling quarter) or a lower-level indicator with more events.
A second caution concerns multiple testing. With twelve segments tested every quarter, a few false alarms are expected at lower limits, such as 2 standard deviations (about 1 in 20). Use 3 standard deviations for an automatic alert, and 2 for a watch list that someone looks at.
From a hot cell to a cause
Finding the segment is the beginning. The next steps go further down, one dimension at a time, within the hot cell.
Vintage: Are the problem accounts all from one period of origination? (Lesson 4.3.)
Channel or partner: Did they come through one dealer, agent or digital partner?
Sector or occupation: For small business loans, is the stress in one industry, such as textiles or transport?
Ticket size, tenor and score band: Is it concentrated in a particular loan size, a short tenor or a weak score band?
Branch or collector: Is it a collection-process issue in a few offices?
Event or external cause: A local event such as a flood, a strike, a closure of a large buyer or a regulatory change?
Suppose, for example, that the next drill-down shows that most of the bouncing small business accounts in the West are in one industry, textile trading, and that the business is concentrated in two towns where a major buyer has delayed payments. That is a cause the lender can act on: contact those borrowers, consider a restructuring, tighten new lending in that sector and watch for contagion to neighbouring segments. (This sequence is an illustration of how the process works, not a result from the synthetic data.)
A good practice is to drill until the cause is actionable. A region is not actionable. A named sector, a named partner or a named branch is.
Exposure and balance matter too
The examples count accounts. A lender also needs the view in rupees: the same analysis, weighted by outstanding balance. A segment with large loans matters more for losses than one with many small ones. A bounce rate of 7.6 per cent on 1,500 loans of ₹10 lakh is a bigger problem than the same rate on 1,500 loans of ₹50,000. Where the balance view and the count view disagree, a segment of large accounts is a concentration risk and deserves attention even if its rate looks ordinary. The Python code below computes both.
A drill-down in Python
The whole analysis is a grouping, a change calculation and a limit.
python
import numpy as np
import pandas as pd
df = pd.readcsv("monthlyaccounts.csv")
# columns: month (1..12), product, region, balance, bounced (0/1)
df["quarter"] = (df["month"] - 1) // 3 + 1
portfolio and segment rates by quarter, by count and by balance
def rates(g):
return pd.Series({
"accounts": len(g),
"bouncerate%": g["bounced"].mean() 100,
"bounceratebal%": (g["bounced"] g["balance"]).sum() / g["balance"].sum() 100,
})
portfolio = df.groupby("quarter").apply(rates)
byseg = df.groupby(["product", "region", "quarter"]).apply(rates).resetindex()
contribution of each segment to the change in the portfolio rate, Q2 to Q4
wide = byseg.pivottable(index=["product", "region"], columns="quarter", values="bouncerate%")
share = df[df["quarter"] == 4].groupby(["product", "region"]).size() / len(df[df["quarter"] == 4])
contrib = (share (wide[4] - wide[2])).sortvalues(ascending=False)
print(contrib.round(3).head())
print("total change", round(contrib.sum(), 3))
noise-aware limit: 3 standard deviations around each segment's baseline (first two quarters)
base = df[df["quarter"] <= 2].groupby(["product", "region"])["bounced"].mean()
nq = df[df["quarter"] == 4].groupby(["product", "region"]).size()
sd = np.sqrt(base (1 - base) / nq)
limit = (base + 3 sd) 100
flag = (wide[4] > limit)
print(pd.DataFrame({"baseline%": base 100, "Q4%": wide[4], "limit%": limit, "flag": flag}).round(2))
The nq figure is account-months in the quarter, since each row is one account in one month. Two details are easy to get wrong: compute the limit from the segment's own baseline, not the portfolio's, and compute shares for the quarter being compared.
A worked example: briefing the credit committee
The head of risk is given the quarterly numbers and asked to explain, in five minutes, whether the book needs attention. She makes four points.
1. The headline. The portfolio bounce rate rose from 2.49 to 2.72 per cent over two quarters. Taken alone, it looks minor.
2. Where. The rise comes from one segment: small business loans in the West, up from 3.09 to 7.60 per cent. It is 6.3 per cent of accounts and explains +0.28 of the +0.23 point rise in the portfolio rate. The other eleven segments are flat.
3. How sure. The segment's Q4 rate is about 18 standard deviations above its normal level, so this is not noise. It was already above its 3-standard-deviation limit in Q3, a quarter earlier than the portfolio signal.
4. What next. Drill into the segment by industry, partner and branch. Contact the largest borrowers in the hot cell. Pause new small business lending in the West until the cause is clear. Add the segment to the watchlist (Lesson 9.4). Review exposure in rupees. Check neighbouring segments for spread.
The committee's decision is easy because the evidence is specific: one segment, one rise, one set of next steps. Had she presented only the portfolio rate, the committee might have waited another quarter.
Common mistakes
Watching only the portfolio average. Dilution hides concentrated stress.
Drilling without a plan. Start with the dimensions the lender can act on, one at a time, then cross them.
Reading noise as signal. Use limits based on the segment's size and baseline.
Testing many segments at a low threshold. Expect false alarms, and use 3 standard deviations for automatic alerts.
Ignoring exposure. Check the rupee view as well as the account count.
Forgetting mix effects. A change in shares can move the portfolio rate with no change in segment rates.
Stopping at a region or product. Drill down to something actionable, such as a sector, partner or branch.
Using one indicator. Cross-check with roll rates, vintages and early delinquency.
Key takeaways
Portfolio leading indicators include early delinquency, bounce rate, roll rates, early vintage defaults, utilisation, collection efficiency and requests for help.
A portfolio average can hide a serious problem. In the synthetic book, one segment's bounce rate rose from 3.09 to 7.60 per cent while the portfolio rate rose only from 2.49 to 2.72 per cent.
Dilution depends on the segment's share of the book. A segment with 6.3 per cent of accounts moved the portfolio by about one-nineteenth of its own rise.
Drill down by product, region and other dimensions, then cross them. A heat map showed one cell, small business loans in the West, at 7.60 per cent against 1.9 to 3.2 per cent in the other eleven.
A contribution analysis shows where the change comes from: the stressed segment contributed +0.282 points against a total of +0.233.
Limits must reflect segment size. At 4,500 account-months and a 3 per cent baseline, a 3-standard-deviation limit is 3.76 per cent. Smaller segments need wider limits or longer windows.
Keep drilling until the cause is actionable, and check balances as well as counts.
Check yourself
1. A segment is 10 per cent of the book. Its rate rises from 2 to 6 per cent while the rest stays at 2 per cent. By how much does the portfolio rate rise?
0.10 × (6 − 2) = 0.4 percentage points.
2. A segment has 2,000 account-months and a normal bounce rate of 4 per cent. What is the 3-standard-deviation upper limit?
Standard deviation = √(0.04 × 0.96 ÷ 2,000) = 0.438 points. The limit is 4 + 3 × 0.438 = 5.3 per cent.
3. Why check the rupee exposure as well as the count of accounts?
A segment with large loans matters more for losses than one with many small ones, so a normal-looking rate on large balances can be a concentration risk.
4. A drill-down finds that a rise is spread evenly over all segments. What does that suggest compared with a concentrated rise?
A general cause, such as the economy or a change in collections, instead of a local one. The response is portfolio-wide, not targeted.
5. Why is "the West region" not a sufficient end to a drill-down?
A region is not something the lender can act on directly. Keep going to a sector, partner, branch or vintage that points to a cause and a response.
Try this
Find a hidden pocket of stress in a book of your own. Set aside fifty to sixty minutes.
1. Build or invent a monthly panel for at least 10,000 accounts in two dimensions, such as three products and four regions, with a normal bounce or early delinquency rate. Inject a rise in one segment from the seventh month.
2. Compute the portfolio rate by quarter, and draw it. Write down how big the rise looks.
3. Compute the rate by product and by region for two quarters and the change. Mark the corners where the change is large.
4. Build the product-by-region table for the latest quarter and highlight the hot cell. Draw a bar chart.
5. Compute the contribution of each segment to the portfolio's change, and check that the contributions sum to the total.
6. For each segment, compute a 3-standard-deviation limit from its own baseline and the number of account-months. Flag the segments above it. Use the dilution simulator with your numbers.
7. Write a five-sentence briefing: the headline, where the stress is, how sure you are, what you would drill into next and the first action you would take.
A good result is a portfolio chart that looks calm, a heat map that does not, a contribution table that accounts for the change, limits that tell noise from signal and a briefing that a committee can act on. Lesson 9.3 turns the signals and the drill-downs into a score for individual accounts, with rules for when to trigger an alert.
Tags: Credit Risk Analytics Portfolio Stress Segment Analysis Leading Indicators Drill-down