Lesson 10.5: A complete guide to stress testing
Run a credit stress test end to end: scenarios, risk drivers, losses, capital over three years, second-round effects, sensitivity and reverse tests.
By the end of this lesson you will be able to explain what a stress test is and what it is for, run one end to end on a small bank: design scenarios, translate them into PDs, LGDs and credit costs, carry the losses through earnings into the capital ratio over three years, add second-round effects and management actions, run single-factor sensitivity tests, and run a reverse stress test that finds what it would take to break the bank. You will also be able to judge how severe a scenario is, present the results to a board and describe the governance a sound programme needs. You should have read Lesson 10.1 (capital and risk-weighted assets), Lesson 10.2 (expected credit loss) and Lesson 10.4 (scenarios and the link between the economy and defaults). The arithmetic is multiplication, subtraction and ratios, and every number in the worked case is shown. The bank in the case is invented, and the figures are illustrative.
Everything so far in this module looks at a lender in normal conditions, or at a weighted average of possible conditions. A stress test asks a harder, different question: if conditions turn out very bad, would we survive? It is the discipline of looking at the tail, deliberately and in numbers, before the tail arrives. For a credit risk analyst, it is the point at which the PD, LGD and EAD models, the ECL models and the capital rules meet in a single, board-level answer.
What a stress test is
A stress test estimates the effect of an adverse but plausible set of events on a lender's losses, earnings and capital. Three kinds are used together.
Kind · What it does · ExampleSensitivity test · Shocks one risk factor at a time, by a stated amount · All PDs rise by 20 per cent. Collateral values fall by 15 per cent
Scenario test · Applies a coherent story in which many factors move together, usually a macroeconomic scenario · A recession with GDP down, unemployment up, property prices falling and interest rates changing
Reverse stress test · Starts from a failure and works backwards to find what combination of events would cause it · How high would PDs have to go for the capital ratio to fall below the minimum?
Lenders and supervisors use stress tests for several purposes: to set capital and liquidity buffers above the minimum, to set risk appetite and limits (a limit on a sector's share of the book, for instance), to plan management actions in a crisis, to support the internal capital adequacy assessment that supervisors review under Pillar 2 (Lesson 10.1), and to feed recovery and contingency planning. Supervisors also run their own exercises: central banks in many countries publish system-wide stress tests, and the RBI, as I understand, reports the results of macro stress tests of banks' credit risk in its periodic financial stability reports. Check the current publications for specifics.
A stress test is not a forecast. It does not say that the scenario will happen. It says what would happen if it did, and whether the lender could take it.
The seven steps
A complete credit stress test follows the same chain whatever its size.
1. Purpose and scope. What question is being asked, of which portfolios, over what horizon, against what hurdle?
2. Scenario design. The macroeconomic and market paths, their severity and the narrative that makes them plausible.
3. Translation into risk drivers. How the scenario changes PDs, LGDs and EADs, using models such as those of Lesson 10.4.
4. Losses. Credit costs, that is, provisions and write-offs, for each year.
5. Earnings and capital. Net income after the losses, then the path of capital against risk-weighted assets.
6. Second-round effects and management actions. Feedback loops, and what the lender could realistically do in response.
7. Results, governance and use. Present, challenge, document, act.
The case: a small bank
The bank in this case is invented. Its credit portfolio and capital are:
Item · ValueCredit exposures · ₹20,000 crore (held constant over the horizon, for simplicity)
Risk-weighted assets (RWA) · ₹16,000 crore (an average risk weight of 80 per cent)
Common equity (CET1) capital · ₹2,080 crore, a ratio of 13.0 per cent
Pre-provision operating profit (PPOP) in a normal year · ₹600 crore
Tax rate · 25 per cent
Normal annual PD of the portfolio · 2.5 per cent
Normal LGD · 50 per cent
Normal annual credit cost · 20,000 × 2.5% × 50% = ₹250 crore
Hurdle · CET1 ratio of 8.0 per cent (a 5.5 per cent minimum plus the 2.5 per cent conservation buffer, as in the RBI figures of Lesson 10.1; check the current directions)
In a normal year, then, the bank earns ₹600 crore before provisions, spends ₹250 crore on credit costs, earns a profit before tax of ₹350 crore and keeps ₹262.5 crore after tax, all retained. Its capital grows by about 1.6 percentage points a year.
Step 2: Designing the scenarios
A scenario should be severe but plausible, internally consistent and linked to the portfolio. A good scenario has a narrative, such as "a global slowdown cuts exports and employment, a sharp rise in oil prices squeezes households, property prices fall and the central bank raises rates to defend the currency." It specifies paths for the variables that matter to the portfolio for each year of the horizon.
For this case, three scenarios are used over three years:
Scenario · Narrative · Year 1 · Year 2 · Year 3Base · Steady growth. Normal credit conditions · PD ×1.0 · ×1.0 · ×1.0
Adverse · A moderate recession. Rising unemployment. Property prices fall modestly · PD ×1.6 · ×1.8 · ×1.4
Severe · A deep, prolonged downturn. Sharp rise in unemployment and defaults. Property prices fall far · PD ×2.2 · ×2.6 · ×2.0
Two further parameters differ by scenario, as in Lesson 10.4: LGD rises because collateral values fall (50 per cent in the base, 55 in the adverse and 60 in the severe scenario), and pre-provision profit falls because income is squeezed and costs rise (100 per cent of the normal ₹600 crore in the base, 90 per cent in the adverse, 80 per cent in the severe).
How severe is severe? A scenario should be judged against history and against a statistical yardstick. Two checks help.
History. In the synthetic series of Lesson 10.4, the worst year had a default rate of 6.36 per cent against an average of about 3.0 per cent, a multiple of 2.1. The severe scenario's multipliers of 2.2, 2.6 and 2.0 correspond to that worst year, and then repeat it for three years running, which is harsher than the history.
A statistical yardstick. With the single-factor model of Lesson 10.4, a systematic factor of Z = −1.5 raises a typical PD by a factor of about 2.6 (6.44 per cent against 2.49 per cent). A factor of −1.5 is a bad year that occurs roughly one year in 15. A multiplier of 2.6 in year 2 is therefore a one-in-fifteen-year shock, held for three years in a row. Supervisors often ask for severity of roughly this order or beyond.
State both, with the reasoning. A scenario that nobody can place against history or probability is hard to defend.
Steps 3 to 5: From scenario to capital
Translate each scenario into annual figures with a few lines of arithmetic.
> Credit cost = exposure × (normal PD × multiplier) × LGD
>
> Profit before tax = pre-provision profit − credit cost
>
> Profit after tax = profit before tax × (1 − tax rate)
>
> CET1 at year end = CET1 at start of year + profit after tax
>
> CET1 ratio = CET1 ÷ RWA
For the severe scenario, year 1: credit cost = 20,000 × 0.025 × 2.2 × 0.60 = ₹660 crore. Pre-provision profit is 0.80 × 600 = ₹480 crore. Profit before tax = 480 − 660 = −₹180 crore, a loss. After a tax credit of 25 per cent (assuming that the loss can be set against tax paid before, or against future profit, which a bank would need to confirm), profit after tax = −180 × 0.75 = −₹135 crore. CET1 falls from 2,080 to 1,945, a ratio of 12.16 per cent.
The full three-year paths:
Base scenario
Year · Credit cost · Pre-provision profit · Profit before tax · Profit after tax · CET1 at year end · CET1 ratio1 · 250 · 600 · 350 · 262.5 · 2,343 · 14.64%
2 · 250 · 600 · 350 · 262.5 · 2,605 · 16.28%
3 · 250 · 600 · 350 · 262.5 · 2,868 · 17.92%
Adverse scenario
Year · Credit cost · Pre-provision profit · Profit before tax · Profit after tax · CET1 at year end · CET1 ratio1 · 440 · 540 · 100 · 75.0 · 2,155 · 13.47%
2 · 495 · 540 · 45 · 33.7 · 2,189 · 13.68%
3 · 385 · 540 · 155 · 116.2 · 2,305 · 14.41%
Severe scenario
Year · Credit cost · Pre-provision profit · Profit before tax · Profit after tax · CET1 at year end · CET1 ratio1 · 660 · 480 · −180 · −135.0 · 1,945 · 12.16%
2 · 780 · 480 · −300 · −225.0 · 1,720 · 10.75%
3 · 600 · 480 · −120 · −90.0 · 1,630 · 10.19%
Check the adverse year 2: credit cost 20,000 × 0.025 × 1.8 × 0.55 = ₹495 crore; profit before tax 540 − 495 = 45; after tax 33.75; CET1 = 2,155 + 33.75 = 2,188.75, shown as 2,189.
What the results say. In the severe scenario the bank loses money for all three years, its capital falls by ₹450 crore, from ₹2,080 crore to ₹1,630 crore, and its ratio falls from 13.0 to 10.19 per cent. It stays above the 8.0 per cent hurdle by 2.19 points, or ₹350 crore (1,630 − 1,280). On these assumptions the bank survives, with a margin. Compared with the base case, the severe scenario ends 7.73 points lower (17.92 − 10.19), which gives a sense of how much of the capital is "profit that would have been" and how much is the loss itself.
Predict first: the severe scenario assumes that RWA stays at ₹16,000 crore. Suppose that, as borrowers' ratings worsen, RWA rises by 10 per cent to ₹17,600 crore. What would the year-3 CET1 ratio be, and what is the headroom over the 8 per cent hurdle? Work it out before reading on.
The capital stays at ₹1,630 crore, so the ratio is 1,630 ÷ 17,600 = 9.26 per cent, and the headroom over the hurdle is 1.26 points, or ₹222 crore (1,630 − 0.08 × 17,600 = 1,630 − 1,408). A 10 per cent rise in RWA has taken away more than 40 per cent of the headroom, 0.93 points from the 2.19 points. This is procyclicality (Lesson 10.1) in action: rating migration inflates the denominator just when the numerator is shrinking.
Step 6: Second-round effects and management actions
A mechanical translation of a scenario to a loss misses two things that make real stresses worse or better.
Second-round effects are feedback loops that the first-round arithmetic leaves out.
Rising RWA. As seen above, rating migration inflates risk-weighted assets under internal models, while under the standardised approach, defaults and past-due loans carry higher risk weights.
Funding stress. Depositors withdraw or lenders demand more, raising the cost of funds and squeezing income, a link to liquidity risk.
Collateral spirals. Forced sales depress asset prices, which lowers recoveries on other loans.
Concentration and contagion. A shock to one sector spreads to its suppliers, customers and lenders.
Behavioural changes. Borrowers who expect relief stop paying, and strategic default rises.
Tax and accounting. Deferred tax assets may not be recognised if profits will not return, which reduces capital.
Management actions are the responses the bank could take: cut dividends and bonuses, slow lending, sell portfolios, raise capital, tighten underwriting, reprice, cut costs. They help, but a stress test must treat them with discipline. They should be realistic (can the bank actually do this in a crisis, when markets are shut?), timely (not assumed instantly), approved by the board in advance and separated in the results, so that readers can see the outcome both before and after actions. A common supervisory view is that results should be shown before management actions as well as after, and that actions which depend on markets functioning normally deserve little credit.
In the case above, the bank has already been modelled as retaining all profits and paying no dividends. A bank that normally distributes 40 per cent of profit would, in a stress, stop doing so, a typical action. The adjusted figures would look better than a model that assumed the usual payout.
Sensitivity tests
Scenarios are rich, and their results are hard to trace to causes. Single-factor sensitivity tests isolate each driver. For the case bank in a normal year (profit before tax ₹350 crore):
Shock · Effect on annual credit cost (₹ crore) · Effect on CET1 ratio after tax, per year (points)All PDs up 20 per cent · +50 · −0.23
LGD up 10 percentage points · +50 · −0.23
Default of one large borrower with ₹800 crore exposure, LGD 50 per cent · +400 once · −1.88
The arithmetic: a 20 per cent rise in PD adds 20,000 × 0.025 × 0.20 × 0.50 = ₹50 crore of credit cost, which after tax is ₹37.5 crore, or 37.5 ÷ 16,000 = 0.23 points of the CET1 ratio. A 10-point rise in LGD adds 20,000 × 0.025 × 0.10 = ₹50 crore, the same effect. The default of a single large borrower costs ₹800 crore × 0.50 = ₹400 crore, or ₹300 crore after tax, which is 1.88 points: one name does more damage than a 20 per cent rise in every PD in the book. This is the concentration risk that average-based models do not capture, and a reason for single-name limits.
Sensitivity tests have a use beyond the scenarios: they show which assumptions the result depends on most, and they work well when a full scenario is not available.
Reverse stress testing
A reverse stress test starts from the failure and asks what causes it. For the case bank, the failure is a CET1 ratio below the 8 per cent hurdle, which is capital of ₹1,280 crore (0.08 × 16,000). Using the severe scenario's LGD of 60 per cent and pre-provision profit of 80 per cent of normal, but with a constant PD multiplier m in every year, capital after three years is:
> 2,080 + 3 × 0.75 × (480 − 20,000 × 0.025 × m × 0.60) = 2,080 + 3 × 0.75 × (480 − 300 m) = 3,160 − 675 m
Set this equal to ₹1,280 crore and solve: 675 m = 3,160 − 1,280 = 1,880, so m = 2.785. The bank breaches its hurdle if PDs run at about 2.8 times normal in every year for three years, an average PD of 6.96 per cent against 2.5 per cent. Compare with the severe scenario's multipliers of 2.2, 2.6 and 2.0 (an average of 2.27): the breaking point is 23 per cent more severe than the severe scenario, and well beyond the 2.1 times of the worst year in the synthetic history of Lesson 10.4, held for three years.
Reverse stress tests are valuable because they reveal where the real vulnerability lies. Instead of asking whether a given scenario hurts, they ask what a failure would look like and whether it is plausible. A bank that finds its breaking point is a one-in-a-hundred scenario learns something different from one that finds it at a modest recession. The exercise also invites narratives: what combinations (a credit shock plus a funding shock plus an operational event) would cause the failure, and could any of them happen together?
Governance and communication
A stress test is only as good as the process around it.
Ownership. Senior management and the board own the programme. Risk runs it, finance supplies the earnings and capital framework, and independent validation reviews it.
Scenario governance. A committee proposes, challenges and approves scenarios and severity, and records the reasons.
Model validation. The macro-to-PD links, the loss models and the capital calculation are validated like any model (Module 8), including their behaviour outside the range of the data, where they are least reliable.
Data and reproducibility. Clear data lineage, version control of parameters and the ability to re-run.
Limitations. State them. Simplifications such as constant balance sheets, symmetric taxes and independent segments must be listed, with a view on their direction of bias.
Use. Results should feed decisions on capital planning, limits, pricing and contingency plans, and the decisions should be recorded. A test whose results never change anything has failed its purpose.
Frequency. At least annually, more often in volatile times, plus ad hoc tests when a new risk emerges.
Reporting. A short board paper with the scenarios, the results before and after management actions, the headroom, the key sensitivities, the reverse stress result and the actions proposed.
A stress test in code
The whole three-year case, and the reverse stress test, take a short function.
python
import numpy as np
def stress(ead, rwa, cet1, ppop, pd0, lgd, mult, ppopfactor, tax=0.25, hurdle=0.08):
"""Three-year CET1 path. mult is a list of PD multipliers by year."""
c = cet1
rows = []
for t, m in enumerate(mult, start=1):
cost = ead pd0 m lgd
pbt = ppop ppopfactor - cost
pat = pbt (1 - tax)
c += pat
rows.append((t, round(cost), round(ppop ppopfactor), round(pbt), round(pat, 1), round(c), round(c / rwa 100, 2)))
headroom = c - hurdle rwa
return rows, headroom
args = dict(ead=20000, rwa=16000, cet1=2080, ppop=600, pd0=0.025)
for name, mult, lgd, pf in [("Base", [1, 1, 1], 0.50, 1.0),
("Adverse", [1.6, 1.8, 1.4], 0.55, 0.9),
("Severe", [2.2, 2.6, 2.0], 0.60, 0.8)]:
rows, head = stress(lgd=lgd, mult=mult, ppopfactor=pf, args)
print(name, "final CET1 ratio", rows[-1][-1], "% headroom (Rs crore)", round(head))
second-round effect: RWA up 10 per cent in the severe case
rows, = stress(lgd=0.60, mult=[2.2, 2.6, 2.0], ppopfactor=0.8, args)
print("severe with RWA +10%:", round(rows[-1][5] / (16000 1.10) 100, 2), "%")
reverse stress test: constant multiplier that takes capital to the hurdle
def reverse(ead, rwa, cet1, ppopstress, pd0, lgd, years=3, tax=0.25, hurdle=0.08):
basecost = ead pd0 lgd
return (cet1 + years (1 - tax) ppopstress - hurdle rwa) / (years (1 - tax) basecost)
print("breaking multiplier:", round(reverse(20000, 16000, 2080, 480, 0.025, 0.60), 3))
Run a table of reverse-stress multipliers for different assumptions on LGD and profit, to show how the breaking point moves. And keep the hurdle, tax and scenario parameters in a configuration file, so that a change is visible and the results reproducible.
A worked example: the board paper
The head of risk presents the stress test to the board in six points.
1. Question. Can the bank keep its CET1 ratio above 8.0 per cent through a three-year severe recession?
2. Result. Yes. In the severe scenario, the ratio falls from 13.0 to 10.19 per cent by year 3, with a minimum headroom of ₹350 crore. In the adverse scenario, it stays at 13.5 to 14.4 per cent.
3. Second-round effect. If RWA rises by 10 per cent, the ratio is 9.26 per cent and the headroom falls to ₹222 crore. The margin is real but not wide.
4. Concentration. The default of the largest borrower (₹800 crore) would cost 1.88 points on its own, which is more than a 20 per cent rise in all PDs. The board should review single-name limits.
5. Reverse stress test. The hurdle is breached if PDs run at about 2.8 times normal for three years, which is 23 per cent worse than the severe scenario and well beyond the worst year in the data, held for three years. That is a remote scenario, but the narrative that gets there (a sharp downturn, a funding squeeze and several large defaults at once) is not impossible.
6. Actions. Keep dividends flexible, set a trigger to cut lending growth if the ratio falls below 11 per cent, strengthen early warning on the largest 20 borrowers (Module 9) and revisit the scenario severity next year.
A good board paper separates results from reasoning, states the assumptions and ends with decisions. The board's questions will be about what the paper does not say: how reliable the macro link is, what happens if recoveries take twice as long, and which management actions are really available.
Common mistakes
A scenario that is not severe enough. If the test never threatens the hurdle, it teaches nothing.
A scenario that is not plausible. An impossible scenario is dismissed, and so are its results.
Treating a test as a forecast. It says what happens if, not what will happen.
Forgetting second-round effects. RWA inflation, funding stress and collateral spirals can matter as much as the first-round loss.
Crediting unrealistic management actions. Show results before and after actions, and give little credit to actions that need normal markets.
Ignoring concentration. Single-name and sector shocks can dwarf broad shocks.
Using the same assumptions every year. A programme that never changes its scenarios stops learning.
No decisions from the results. A stress test must change something, or it is a ritual.
No reverse stress test. Without one, you do not know where the real breaking point is.
Key takeaways
A stress test estimates the effect of adverse but plausible events on losses, earnings and capital. It is not a forecast. The main types are sensitivity, scenario and reverse stress tests.
The chain of steps is purpose, scenarios, translation into PD, LGD and EAD, losses, earnings and capital, second-round effects and actions, and governance.
In the case bank, a severe three-year scenario (PD multipliers of 2.2, 2.6 and 2.0, LGD of 60 per cent, profit down 20 per cent) cut the CET1 ratio from 13.0 to 10.19 per cent, which was 2.19 points above the 8.0 per cent hurdle.
Second-round effects can take much of the margin: a 10 per cent rise in RWA cut the final ratio to 9.26 per cent.
Sensitivities show where the risk lies. One large default (₹800 crore, LGD 50 per cent) cost 1.88 points, more than an across-the-board 20 per cent rise in PDs.
A reverse stress test found that a constant PD multiplier of 2.8 would breach the hurdle in three years, 23 per cent harsher than the severe scenario.
Show results before and after management actions, state limitations, and use the results to decide limits, capital and contingency plans.
Check yourself
1. A bank has exposures of ₹5,000 crore, a normal PD of 3 per cent, an LGD of 45 per cent and a stress multiplier of 2.0. What is the annual credit cost?
5,000 × 0.03 × 2.0 × 0.45 = ₹135 crore.
2. In a stress year, pre-provision profit is ₹200 crore and credit cost is ₹320 crore. With a 25 per cent tax rate, what is the change in capital?
Profit before tax = −120. After tax = −120 × 0.75 = −₹90 crore, so capital falls by ₹90 crore (assuming the tax credit is recognised).
3. Capital of ₹1,500 crore falls to ₹1,380 crore after a stress, with RWA of ₹12,000 crore. What is the ratio, and the headroom over 8 per cent?
1,380 ÷ 12,000 = 11.5 per cent. Headroom = 1,380 − 0.08 × 12,000 = 1,380 − 960 = ₹420 crore.
4. Why show stress results before and after management actions?
Actions may be unavailable or less effective in a crisis. Showing both lets the reader see the underlying vulnerability and judge how much credit the actions deserve.
5. What does a reverse stress test tell you that a scenario test does not?
It finds what it would take to cause failure, and so reveals the breaking point and the vulnerabilities, rather than testing one chosen scenario.
Try this
Run a stress test on an imaginary lender. Set aside sixty minutes.
1. Invent a lender with exposures, RWA, CET1 capital, pre-provision profit, a normal PD and LGD, a tax rate and a hurdle ratio. Compute the normal credit cost and capital path for three years.
2. Define an adverse and a severe scenario with PD multipliers by year, a higher LGD and a lower profit. Write a one-sentence narrative for each.
3. Compute the credit cost, profit before and after tax, CET1 and the CET1 ratio for each year and scenario. Draw a line chart of the paths against the hurdle.
4. Add a second-round effect: raise RWA by 10 per cent in the severe case, and compute the new ratio and headroom.
5. Run three sensitivity tests: PDs up 20 per cent, LGD up 10 points and the default of your largest borrower. Express each in points of CET1 ratio.
6. Run a reverse stress test for a constant PD multiplier that breaches the hurdle in three years, using the simulator, and compare it with your severe scenario.
7. Write a one-page board paper: the question, the results, the second-round effect, the main sensitivity, the reverse stress result and three proposed actions.
A good result is a capital path for each scenario that adds up, a second-round adjustment, three sensitivities, a breaking point and a paper that ends in decisions. This completes the module on regulation, provisioning and stress. Module 11 turns to practice: collections analytics, case studies and the career.
Tags: Credit Risk Analytics Stress Testing Scenario Analysis Reverse Stress Test Capital Planning