Map / Risk · Credit portfolio risk
Risk · Credit portfolio risk
default correlation, the large-pool limit, IRB capital, tranche losses, protocol liquidations
10
modules
84
declarations
18
corpus entries · 18 full
Module graph
An arrow runs from a module to one that imports it (implied imports omitted). Hover for a module's title, click to open it.
Modules
Credit
Bernoulli mixture models of portfolio credit risk
In a Bernoulli mixture model the default indicators of the obligors of a loan portfolio are conditionally independent given a random default probability Q ∈ [0, 1], the state of the economy.
MathFin.Risk.Credit.BernoulliMixture
12 declarations · 4 corpus entries
CreditMetrics rating transitions
In the CreditMetrics methodology (J.P.
MathFin.Risk.Credit.CreditMetrics
23 declarations · 4 corpus entries
The CreditRisk+ sector loss MGF
In CreditRisk+ (Credit Suisse First Boston, CreditRisk+: A Credit Risk Management Framework, 1997) the number of defaults in a sector is Poisson with a random intensity Λ ∼ Gamma(a, r), and each default causes a loss…
MathFin.Risk.Credit.CreditRiskPlus
1 declarations · 1 corpus entries
The one-factor default model is the one-factor Gaussian copula
The library writes the one-factor Gaussian default model in two parametrizations.
MathFin.Risk.Credit.OneFactorCopula
8 declarations · 2 corpus entries
The one-factor credit portfolio is Merton's
Gordy's one-factor model (Risk/Credit/BernoulliMixture.lean) is Merton's firm-value model (Models/Credit/KMVMerton.lean) with correlated drivers.
MathFin.Risk.Credit.OneFactorMerton
1 declarations · 1 corpus entries
A credit tranche leg, as a contract
The loss of the tranche [a, d] of a credit portfolio, as a fraction of its notional, is ((L − a)⁺ − (L − d)⁺)/(d − a) when the portfolio has lost the fraction L (tranchePayoff in Risk/Credit/TrancheLoss.lean).
MathFin.Risk.Credit.TrancheLeg
4 declarations · 1 corpus entries
Tranche losses in the large homogeneous portfolio
A CDO tranche with attachment a and detachment d > a absorbs the slice [a, d] of the portfolio loss fraction L.
MathFin.Risk.Credit.TrancheLoss
7 declarations · 2 corpus entries
The Basel IRB formula as the quantile of the large-portfolio loss
In the one-factor Gaussian threshold model of Risk/Credit/BernoulliMixture.lean, obligor i defaults when its asset value √ρ F + √(1 − ρ) εᵢ falls below Φ⁻¹(π).
MathFin.Risk.Credit.VasicekIRB
9 declarations · 2 corpus entries
DeFi
Aave v2: kinked interest-rate model, health factor, liquidity index
Adapted from the Aave v2 whitepaper (Aave, "Aave Protocol V2", 2020, <https://github.com/aave/protocol-v2/blob/master/aave-v2-whitepaper.pdf>), §5 ("Formal Definitions"), which states the kinked borrow-rate model and…
MathFin.Markets.DeFi.Aave
16 declarations
Lending-protocol liquidation as Merton structural default
A collateralised loan in a lending protocol is liquidatable once the collateral value falls below a multiple of the debt: a Dai vault once collateral / debt < LR (Dai.isLiquidatable), an Aave position once its health…
MathFin.Markets.DeFi.LiquidationAsStructuralDefault
3 declarations · 1 corpus entries