• C++ Programming for Financial Engineering
    Highly recommended by thousands of MFE students. Covers essential C++ topics with applications to financial engineering. Learn more Join!
    Python for Finance with Intro to Data Science
    Gain practical understanding of Python to read, understand, and write professional Python code for your first day on the job. Learn more Join!
    An Intuition-Based Options Primer for FE
    Ideal for entry level positions interviews and graduate studies, specializing in options trading arbitrage and options valuation models. Learn more Join!

Gaussian Copula in Excel

Joined
9/9/11
Messages
2
Points
13
I wish to find the the implied conditional probablity of default from CDS spreads. I have already used the O'Kane/Turnbull Lehman brothers paperto find the implied unconditional probability of default from CDS spreads. Now I would like to use these probabilities to construct the implied conditional probability of default of entity A defaulting conditional on the PD of entity B.

The way I did this initially was via constructing the joint PD of A and B via a Gaussian copula and dividing by the marginal PD of entity B.

To do this the method is:

1. Construct correlation matrix, say a 2x2 with the correlation of the PD's off the diagonal and 1's on the diagonal.
2. Wrote some code for Cholesky decomposition. A simple function in VBA, if you are stuck here there are examples on the net.
3. Multiplied the Normsinv(PDA) and Normsinv(PDB) with the resulting Cholesky matrix and took the normsdist.

i.e. normsdist(normsinv(PDA)*? + nomrsinv(PDB) * sqrt(1-?^2))

This should be the joint probability distribution, right?

y problem is that the joint probability distribution is higher than the marginals. Does anyone have any idea of where I go wrong?
 
Yo. I'm gonna shotgun answer this without looking too much into details (sorry)
1. Is your code for cholesky decomposition returning the correct coefficients? There is a method to check for this.
 
Back
Top