- Joined
- 3/22/10
- Messages
- 1
- Points
- 11
Hi,..
I am trying to implement Student t copula in excel to price some basket default swap...
However, i just cant seems to get it to work in excel at low degree of freedom, v....just wondering what i do wrong...
Here is the step i took
1) Derive Cholesky decomposition A from the correlation matrix
2) Generate n number of independent standard random variables Z
3) Set x = A*Z
4) Generate a random variate s from chi squared distribution with degree of freedom v.
5) Set y = x*sqrt(v/s)
6) If y <0 , apply Tdist(-y,v,1), otherwise 1 -Tdist(y,v,1)
7) Obtain default times...and price accordingly over m number of simulation
If i set v to be anything between 0<v<60..the answer deviates from a Gaussian Copula by a lot...say a FTD is 100bps for Student t compared to 300 bps for Gaussian...
Can anyone help?
I am trying to implement Student t copula in excel to price some basket default swap...
However, i just cant seems to get it to work in excel at low degree of freedom, v....just wondering what i do wrong...
Here is the step i took
1) Derive Cholesky decomposition A from the correlation matrix
2) Generate n number of independent standard random variables Z
3) Set x = A*Z
4) Generate a random variate s from chi squared distribution with degree of freedom v.
5) Set y = x*sqrt(v/s)
6) If y <0 , apply Tdist(-y,v,1), otherwise 1 -Tdist(y,v,1)
7) Obtain default times...and price accordingly over m number of simulation
If i set v to be anything between 0<v<60..the answer deviates from a Gaussian Copula by a lot...say a FTD is 100bps for Student t compared to 300 bps for Gaussian...
Can anyone help?