← Models

Stochastic credit RAROC

Load a loan tape and simulate the book one year at a time. Exposure, probability of default and loss given default are all random, costs are charged, capital is read off the simulated loss distribution, and RAROC comes out as a distribution you can cut by any column in the file.

1 Β· Loan tape

One row per credit. CSV, semicolon or tab-separated, including a block pasted straight from Excel. The file stays in your browser.

Demo portfolio Β· 5,000 loans Β· balance 23,160,354 Β· 14 columns

Column mapping

Guessed from the headers. Balance is required; PD comes from a score or a PD column, LGD from a guarantee type or an LGD column.

Dimensions to report by

Every column switched on here becomes a breakdown in the results.

2 Β· Loan-level risk inputs

How each row gets its PD, its LGD and its cost of funds.

Probability of default

One-year transition probabilities between states. Each row is normalised to 1; the last state is default. PD of a state = its column to default after the horizon.

Horizon years
from \ to123456PD
1 Β· CURRENT%%%%%%2.91%
2 Β· DELAY 1-30 DAYS%%%%%%7.04%
3 Β· DELAY 31-60 DAYS%%%%%%11.77%
4 Β· DELAY 61-90 DAYS%%%%%%19.56%
5 Β· DELAY +90 DAYS%%%%%%24.17%
6 Β· DEFAULTED%%%%%%100.00%

Loss given default

The expected LGD of a PERT is (min + 4Β·most likely + max) / 6, not the most likely value.

GuaranteeMinMost likelyMaxMean
%%%89.8%
%%%27.5%
%%%38.3%
%%%45.8%
LGD for types not in the table %

Cost of funds

CurrencyRate
%
%

3 Β· Systematic risk by segment

The part of the risk that does not diversify away. Each segment’s factors scale every loan in it; their means are 1, so expected PD and LGD stay what the tape says.

SegmentloansbalancePDLGDEAD multiplierParametersPD volatility (CV)LGD volatility (sd)Beta(Ξ±, Ξ²) PD Β· LGD
CORPORATE22712.7M5.46%67.8%CV %%%1.1, 19.3 Β· 14.1, 6.7
SME7564.1M8.63%54.2%CV %%%1.5, 16.3 Β· 20.5, 17.3
MORTGAGE6333.6M4.85%27.5%CV %%%3.8, 73.7 Β· 15.0, 39.4
VEHICLES8651.6M5.97%38.3%min % max %%%3.7, 58.3 Β· 18.1, 29.1
CONSUMER1,514931.3K7.32%87.7%min % max %%%3.0, 37.9 Β· 37.0, 5.2
CREDIT CARD1,005272.7K8.05%89.8%min % max %%%2.5, 28.3 Β· 31.9, 3.6

Correlations (Spearman)

Between the segment factors. Cross-segment coefficients are the within-segment ones times the macro coefficient, so the matrix is always consistent.

4 Β· Income, costs and capital

Operating costs are charged per loan; capital is either simulated or a fixed ratio.

5 Β· Simulation

Run the simulation to see results.

Ask a question