ng13: CDO Pricing with the C_ng13 copula

Description Usage Arguments Details Value Author(s) References Examples

Description

'ng13' compute 5 tranches spreads under the C_ng13 copula

Usage

1
ng13(theta1Input, M, dateInput)

Arguments

theta1Input

a numeric giving the Kendall's tau for dependence specification

MInput

a numeric giving the Monte Carlo simulation runs

dateInput

a character giving the pricing date, e.g. c("2007-10-23")

Details

Please make sure that the data sets of "defIntensity.csv" and "payday.csv" have been correctly installed in such paths: "C:/defIntensity.csv", "C:/payday.csv". The both data sets can be downloaded from "https://github.com/YafeiXu/xyfQuantlet".

Value

A vector with 5 numerics will be returned, from left to right: equity, junior mezzanine, senior mezzanine, junior senior, senior.

Author(s)

Yafei Xu <yafei.xu@hu-berlin.de>

References

The master thesis, CDO, HAME Copulas and an R Package 'CDO', can be downloaded from https://sites.google.com/site/cdowithr/.

Examples

1
ng13(0.3, 100, c("2007-10-23"))

YafeiXu/cdov documentation built on May 10, 2019, midnight