(This article was first published on My Life as a Mock Quant in English, and kindly contributed to R-bloggers)
Bank of Japan(BOJ) publish research paper regularly.And, they issued very interesting paper about valuation of CDO recently.
(The paper is 金融危機時における資産価格変動の相互依存関係:コピュラに基づく評価 新谷 幸平、山田 哲也、吉羽 要直(sorry,japanese only!))
I would like to reproduce their result (especially,P23-Table7)
The condition of calculation is following that
- number of debt(NUM.REFDEBT):=100
- maturity(MATURITY):=5 year
- recovery rate(RECOVERY.RATE):=40%(constant value)
- probability of default (DEFAULT.PROBABILITY):=5%(in 5 years)
- parameter of nomal copula ρ:=0.15
- parameter of clayton copula α:=0.21
They apporoximated their valuation formula for easy calculation(equation (27))
(They assumed that CDO spread were paid as discounted bond at the begging.)
I simulated valuation of CDO with their method.
The result is following that
| copula/tranche | Equity | mezzanine | senior | super senior |
|---|---|---|---|---|
| normal | 1,145.42 | 62.49 | 0.52 | 0.000 |
| t(20) | 1,055.28 | 86.07 | 2.18 | 0.004 |
| t(6) | 896.74 | 126.44 | 8.56 | 0.044 |
| t(3) | 733.31 | 165.90 | 23.56 | 0.191 |
| clayton | 857.64 | 135.73 | 12.83 | 0.084 |
This table reproduce their result(P23-Table7).
And, In senior or super senior,you can understand that the CDO spread which is evaluated by normal copula is lower than the others. It means that normal copula is inadequate in financial crisis.
I show you my programming code(by R language).
If you copy and run my source code, you can duplicate my result easily.
Before you run, please install "copula"package.
If you copy and run my source code, you can duplicate my result easily.
Before you run, please install "copula"package.
To leave a comment for the author, please follow the link and comment on his blog: My Life as a Mock Quant in English.
R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series,ecdf, trading) and more...
Zero Inflated Models and Generalized Linear Mixed Models with R.
Zuur, Saveliev, Ieno (2012).
