# Fast Computation of the Expected Tranche Loss of CDO Credit Portfolio

Version 1.0.0.0 (1,78 ko) par
An algorithm for fast computation of the expected tranche loss of CDO credit portfolio.
4,1K téléchargements
Mise à jour 7 nov. 2005

Aucune licence

The code is explained in the article P. Okunev, "A Fast Algorithm for Computing Expected Loan Portfolio Tranche Loss in the Gaussian Factor Model", LBNL-57676, 2005.

Futher refinments of this algorithm are descibed in Okunev, Pavel, "Using Hermite Expansions for Fast and Arbitrarily Accurate Computation of the Expected Loss of a Loan Portfolio Tranche in the Gaussian Factor Model" .

http://ssrn.com/abstract=748625

This is a MATLAB code. It's relatively easy to adapt it for VBA.

ATTENTION: This code was tested and works well for portfolios of size 125. The accuracy will decrease for smaller portfolios. Higher accuracy can be achieved using the methos described in Okunev, Pavel, "Using Hermite Expansions for Fast and Arbitrarily Accurate Computation of the Expected Loss of a Loan Portfolio Tranche in the Gaussian Factor Model" .

http://ssrn.com/abstract=748625

This implements one factor Gaussian model.

[loss]=gsloss(L,w,p,a,d,N)
L = exposures,as fraction of total
portfolio, taking into account the recovery rate
Example: loan 1 is 0.01 fraction of the total portfolio, recovery rate is
40% then L(1)=0.01*(1-0.4)
p = default probabilities
a = attachement point
d = detachment point
N = number of names in the portfolio
loss = expected tranche loss as percentage of the portfolio nominal
expressed in basis points

E-mail: pokunev@math.lbl.gov

This code is provided as is. The author provides no warranty and assumes no responsibility for any losses due to the use of this code.

You are granted permission to use this code for personal use and for academic research.

This code may not be used for commercial purposes without explicit permission by the author.

Permission for commercial use can be obtained by writing to pokunev@math.lbl.gov

You may make and distribute a small number of copies of this code if you include this copyright notice with the code.

If you distribute a modified version of this code you must include the copyright notice and conspicuously indicate that the code was modified.

We are thankful to John Weare, LBNL and UC Berkeley, for his assistance with debuging the code.

### Citation pour cette source

Pavel Okunev (2024). Fast Computation of the Expected Tranche Loss of CDO Credit Portfolio (https://www.mathworks.com/matlabcentral/fileexchange/8945-fast-computation-of-the-expected-tranche-loss-of-cdo-credit-portfolio), MATLAB Central File Exchange. Récupéré le .

##### Compatibilité avec les versions de MATLAB
Créé avec R14
Compatible avec toutes les versions
##### Plateformes compatibles
Windows macOS Linux

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.0.0