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.
| from \ to | 1 | 2 | 3 | 4 | 5 | 6 | PD |
|---|---|---|---|---|---|---|---|
| 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.
| Guarantee | Min | Most likely | Max | Mean | |
|---|---|---|---|---|---|
| % | % | % | 89.8% | ||
| % | % | % | 27.5% | ||
| % | % | % | 38.3% | ||
| % | % | % | 45.8% |
Cost of funds
| Currency | Rate | |
|---|---|---|
| % | ||
| % | ||
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.
| Segment | loans | balance | PD | LGD | EAD multiplier | Parameters | PD volatility (CV) | LGD volatility (sd) | Beta(Ξ±, Ξ²) PD Β· LGD |
|---|---|---|---|---|---|---|---|---|---|
| CORPORATE | 227 | 12.7M | 5.46% | 67.8% | CV % | % | % | 1.1, 19.3 Β· 14.1, 6.7 | |
| SME | 756 | 4.1M | 8.63% | 54.2% | CV % | % | % | 1.5, 16.3 Β· 20.5, 17.3 | |
| MORTGAGE | 633 | 3.6M | 4.85% | 27.5% | CV % | % | % | 3.8, 73.7 Β· 15.0, 39.4 | |
| VEHICLES | 865 | 1.6M | 5.97% | 38.3% | min % max % | % | % | 3.7, 58.3 Β· 18.1, 29.1 | |
| CONSUMER | 1,514 | 931.3K | 7.32% | 87.7% | min % max % | % | % | 3.0, 37.9 Β· 37.0, 5.2 | |
| CREDIT CARD | 1,005 | 272.7K | 8.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.